Hi (sorry for my poor english),
I've written a very simplified python script to export a basic rib from
Blender.
I use the same, unique function to convert the coords of all (objects
postions, camera position, verts, normals, etc...). All work fine except
the normals.
Or, precisely, the normals work fine with Pixie, but not with AQSIS and
3Delight...
It's strange, because if the same function convert perfectly the
geometry and the locations of objects, it should work for norms
coordinates too.
These are the results:
Pixie return the same illumination as original Blender scene (from left
side):
http://www.dedalo-3d.com/lab/pixie.jpg
AQSIS and 3Delight return a wrong illumination from opposite side:
http://www.dedalo-3d.com/lab/aqsis.jpg
If I use the file without normals (no smooth), the illumination is OK in
all engines.
I've zipped foo.rib here:
http://www.dedalo-3d.com/lab/foo.zip
It's only few lines of code...a simple test.
Anyone can check it? Pixie is the only free engine that handle correctly
the smooth normals, or the rib generated by my code is wrong and Pixie
correct it in 'realtime'? Anyone can try to render using pixar renderman?
The only error possible is a negative value instead a positive value(or
viceversa)...but, I repete, for geometry, position and world the
coordinate system conversion function work fine...
If I modify the rib using a negative value for y coord of normals
(empirically, but in theory this should be wrong), it work into AQSIS
and 3Delight, but not into Pixie (as expected).
Ciao, thanks
Manuel