Roger,

I am running osgsidebyside to see if reading and writing of Collada files is 
still OK and I am running into a few problems. Attached is a screenshot of the 
before (above) and after (below) of the duck.dae Collada example.

Run like this:

Code:
osgsidebyside -o dummy.dae "collada dir\Public Section\COLLADA 1.4.1 Complex 
Samples\Dining Room\diningroomc.dae"



All colors seem to be very washed out and what is strange is that after writing 
and reading the file again (right half of the screenshot) the color is even 
more different. Since you didn't change anything on the writer side I guess the 
model is now using some state that isn't properly written by the writer. Other 
models like seymour_plane.dae have the same problem and are rendered better 
with the HEAD version of the Collada plugin.

I like the new support for ambient textures, but they are barely visible due to 
the washed out colors.

Another problem I ran into is that the following line in 
processTransparencySettings 

Code:
if (strcmp( ctt->getTexture()->getTexture(), diffuseTextureName))


crashes if there exists a texture in the transparent element, but there is no 
diffuseTexture (NULL).

Roland

------------------
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=4487#4487



<<attachment: daeregression.jpg>>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to