Hi Toni,
On Tue, 2005-11-08 at 20:47 +0100, Antonio Bleile wrote:
> Hi,
>
> I have a 3ds file with some geometries being partially
> transparent, I convert the file using vred to osb.
> The resulting osb file looks perfect within vred
> but depth sorting seems to get broken when I load
> the same file in my own program (using the osg
> file standard file loader). Any ideas what
> could go wrong?
I'm not sure what Vred's default settings for transSort and ZWriteTrans
are, that might explain the difference. Andreas, what are those?
> I have a suspicion: I use
> a MatrixCamera and the SimpleSceneManager,
> I know that picking gets broken because the
> SimpleSceneManager doesn't know anything about
> my actual camera. Could it be that depth sorting
> is performed using the settings of the camera
> included in the SimpleSceneManager, and therefore
> my sorting gets screwed?
Hm, unless you put the camera transformation in the projection matrix it
should work just fine. Is your viewing matrix the identity? That would
explain it.
Dirk
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users