Page MenuHome

Restore Autodesk 3DS format Import/Export for Blender 2.80
Open, NormalPublic

Description

I have legacy 3DS content I needed to import in Blender 2.80, so tried to restore the addon. Patch:

Tested it on ~200 items in my database. Didn't crash.

Notes:

  • Now creates Principled Shader based materials for Cycles/Eevee

Regressions (compared to 2.79 addon)

  • Export does not work / is not registered
  • 3DS texture mirror does not work

Questions:

  • The old addon assigned the texture/image to MeshUVLoops (I guess so that the image shows up in the UV editor). This was removed in Blender 2.80. Is there some alternative or are textures simple not applied to faces directly anymore?
  • 3DS materials has ambient color term. How should we consider it? Maybe adding it to the diffuse color in linear space?
  • 3DS materials has specular color term. How should we consider it? Maybe using its value for principled's specular input?

Maybe I'll find time to fix. the export as well, but that's not high on my priorities right now.

Details

Type
Patch

Event Timeline

Here you'll find two demo 3DS file. Suzanne, with and without texture:

Brendon Murphy (meta-androcto) triaged this task as Normal priority.

Will try and look at this soon.

hi, committed initial fix to contrib. I tested this on your files and my own test files from varied sources.
One main issue I found was the images were not loaded unless the file was in the images folder. Maybe my error, but I think I'm right there.
@andreas atteneder (atti) are you willing to maintain this addon?
I made some minor changes to your patch, when committing, please check out the contrib version before any updates.
The code is looking quite a disaster, I understand that this is an initial "get it working" update and it's still very appreciated.
I would be happy enough if the import code was cleaned up and it worked as expected, mesh/textures. We could add that back to release and either abandon the export or work on at a later date.
Please let me know what you would like to do.

@Brendon Murphy (meta-androcto) I'd be willing to maintain it, but cannot promise to invest a lot of time to clean it up beyond fixes.
sorry for the late response. atm I'm on vacation and will be for another week.