Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26527] Export-import OBJ, materials "tracaeble" unchecked

Date:
2011-03-17 14:49
Priority:
3
State:
Closed
Submitted by:
Moolah Nasreddin (moolah)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Import/Export
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Export-import OBJ, materials "tracaeble" unchecked
Detailed description
2.56 r35578, win32

I found a strange thing in obj export-import.

1. Created a cube, scaled it a bit.
2. exported as .obj with "selected only" and all default options
3. File -> New, imported this .obj
4. test render shows that the cube doesn't cast a shadow
5. new material - it casts normally

of course the imported material shows in options that it CASTS shadows. switching doesn't help

Oh, I got )) It simply makes materials with "traceable" option unchecked.

Followup

Message
  • Date: 2011-03-18 05:11
  • Sender: Campbell Barton
  • I was attempting to follow the OBJ spec on import which only uses raytrace when reflections or class type textures are used, but this isnt really that great since its now not so unuseual to have raytracing on for all materials.

    undid this change r1716. of extensions.
 

Attached Files:

Name Date Download
test_shadows.mtl 2011-03-17 14:49 Download
test_shadows.obj 2011-03-17 14:49 Download
Export_Import_Obj_noShadows_1.blend 2011-03-17 14:49 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-18 05:11campbellbarton
close_dateNone2011-03-18 05:11campbellbarton
assigned_tonone2011-03-18 05:11campbellbarton
StatusNew2011-03-18 05:11campbellbarton
File Added15425: Export_Import_Obj_noShadows_1.blend2011-03-17 14:49moolah
File Added15426: test_shadows.obj2011-03-17 14:49moolah
File Added15427: test_shadows.mtl2011-03-17 14:49moolah