Hi,

I am using OSG 2.8.2 and the Collada plug-in to develop an Augmented/Virtual 
Reality application.

I use some calculated camera parameters (position and orientation offset, 
internal camera parameters) to calculate the view matrix of the camera, and set 
the projection matrix as an orthographic projection matrix.

When I do this, the textures of the loaded model disappear (I see the object as 
a black boundary, there is no rendering done on the surface). When I change the 
state set of the object to display it as highlighted or wireframe, it is 
displayed as expected. Also simple primitives using a color and not a texture 
are displayed properly.

Also, I don't think it is a problem with the models/Collada plug-n since the 
textures are displayed correctly when I do not set the projection/view matrices.

Could anyone give me hints as to what may be wrong?

Thanks,
Yashodhan

-- 
Yashodhan Nevatia
Systems Engineer

Space Applications Services
Leuvensesteenweg 325
B-1932 Zaventem
Belgium
Tel:  +32 (0)2-721.54.84
Fax:  +32 (0)2-721.54.44
URL: www.spaceapplications.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to