Page MenuHome

3ds export fix for Blender 2.80
AbandonedPublic

Authored by Sebastian Sille (nrgsille) on Mar 20 2020, 8:02 PM.

Details

Summary

Export 3ds final fix
T66329

  • added percent subchunk
  • added specularity and reflection
  • tesselation to loop triangles
  • uv list from triangle loops
  • material index from polygons
  • fixed matrix multiplication
  • fixed syntax errors
  • moved import modules to the start of the script
  • added alpha data and material property
  • fixed texture mapping
  • uv texture support via principled BSDF
  • alternative uv image from paint slots
  • Masterscale Element added
  • deactivated evaluated depsgraph
  • fixed 3ds_string output from byte to string

ToDo:

  • fix depsgraph
  • fix object hierachy

Diff Detail

Event Timeline

Fixed UV - now the script works for Blender 2.80

known issues:
no uv texture support - use texture paint slots instead
no objects taken from evaluated depsgraph
no object hierachy supported

Added texture image support
Image taken from PrincipledBSDF base color channel

3ds exporter final fix for Blender 2.80 API

  • added texture image export from Principled BSDF wrapper
  • added specular texture support
  • added alpha texture support
  • added normalmap texture support
  • fixed texture mapping
  • uv images taken from paint slots if no nodes used
  • otherwise principled base color texture is used

minor fix to not get empty values

fixed texture mapping

fixed out of index error

some little corrections

fixed some non-type errors if no material

another little non-type error

why I have overseen this^^ now its fixed

Sebastian Sille (nrgsille) edited the summary of this revision. (Show Details)

alternative uv image taken from paint slots

fixed another non-type error if no uv image found

Sebastian Sille (nrgsille) edited the summary of this revision. (Show Details)

added rounded mapping values