Hi all,

I am using libcollada14dom21.dll (and libcollada14dom21-d.dll) with OSG2.8.1.

Thanks,

Yashodhan
----- Original Message -----
From: "Yashodhan Nevatia" <[email protected]>
To: [email protected]
Cc: "Rares Ambrus" <[email protected]>
Sent: Friday, February 19, 2010 12:39:49 PM GMT +01:00 Amsterdam / Berlin / 
Bern / Rome / Stockholm / Vienna
Subject: Re: [osg-users] Problem displaying textures

Hi Julien,

The application I am building models augmented reality for a see through 
display. Therefore the camera must integrate the position of the person, as 
well as camera (intrinsic) parameters that reflect the users eye+display 
combination. These I derive using 2D-3D correspondences based on the Single 
Point Active Alignment method developed at Technical University of Munich. 
Since the camera parameters already model a perspective position, the camera 
parameters are meant to be used with an orthogonal projection.

Initially (before I apply parameters corresponding to the eye), the models 
appear fine:
Pose matrix: based on the tracked location and orientation of the head
The camera view matrix is updated as follows: Pose x Default transform
The camera projection matrix is set to (not changed) a perspective projection 
(created using OSG)

After the calibration procedure is performed/applied, the models are not 
textured well:
Calibration matrix: models the position and orientation transform from the 
tracked point to the head, as well the eye
View matrix: Pose x Calibration matrix
Projection matrix: orthogonal projection

The models are loaded using a Collada plugin (though there are also problems 
when I create the model myself following the osgteapot example).

I dont change any other parameters except the camera parameter mentioned above, 
that is the model properties and statesets remain the same.

Thank you,

Yashodhan

----- Original Message -----
From: "Julien Valentin" <[email protected]>
To: [email protected]
Sent: Thursday, February 18, 2010 7:23:52 PM GMT +01:00 Amsterdam / Berlin / 
Bern / Rome / Stockholm / Vienna
Subject: Re: [osg-users] Problem displaying textures

I think you have to give the code: camera stateset and viewer settings ...
or try to use a manipulator if you think you fails with your perspective 
settings

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24368#24368





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

-- 
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

-- 
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