El Sábado 10 Mayo 2008ES 20:58:32 Bob Kuehne escribió: > hi robert, here's what this change does: > > -- > * add easy multiple texture targets support for obj by refactoring > texture > load into it's own method. > > * use new method from step 1 to load 'map_opacity' textures from .mtl > files > --
Bob, I have found that this patch breaks the past behaviour of the plugin when loading non-textured materials which specify their alpha through the dissolve parameter (d), such as: newmtl Material Ns 96.078431 Ka 0.000000 0.000000 0.000000 Kd 0.123992 0.677855 0.266912 Ks 0.500000 0.500000 0.500000 Ni 1.000000 d 0.460320 illum 2 In earlier revisions of OSG, that would load a translucent object, however now it becomes opaque. I am not an OBJ expert, so I don't know if past behaviour was wrong or if that change was intentional, but I found it very convenient because this is how Blender OBJ exporter handles translucent materials. Any thoughts? _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
