Check gl modelview and projection matrices just before terrain rendering (in 
draw callback f.e.).
Also you can use gDebugger or similar tool to get snapshot of opengl state just 
before terrain rendering with SpeedTree stuff in scene and without it, 
difference will give you a clue about what's going wrong.

02.02.2012, 18:38, "Michael Bach Jensen" <mich...@ifad.dk>:
> Hi, everyone!
>
> Like others before us, we are trying to integrate SpeedTree into our 
> OpenSceneGraph-based application and are having some trouble.
>
> We are using the custum-drawable approach and the trees are (finally) 
> rendering fine.
>
> The problem is that, although simple objects like cow.osg render ok, paged 
> terrains do not. Neither does the stats view.
>
> I think I have tried every imaginable combination of glDisable and state 
> dirtying function there is without luck.
>
> I have attached a picture of the way it looks atm. Does anyone have a clue as 
> to what might be wrong? Those lines protruding from the center is the terrain!
>
> Thank you!
>
> Cheers,
> Michael
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45191#45191
>
> Attachments:
> http://forum.openscenegraph.org//files/osgspeedtree_164.jpg
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to