Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
Any examples available meanwhile? Thank you! Cheers, Daniel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65537#65537 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
Hi Daniel, Have you asked SpeedTree for integration examples? Cheers Sebastian Any examples available meanwhile? Thank you! Cheers, Daniel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65537#65537 ___ 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
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
Hi Michael I wonder if your SpeedTree and terrain rendering is doing ok? We are about to integrate SpeedTree and we use paged/tiled terrain aswell. Can you provide example code of how you integrated the SpeedTree classes and shaders into OSG? and also share some insights on the issues you faced? I would be grateful! Cheers, Daniel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58683#58683 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
My group is also implementing SpeedTree and having some trouble. Any help would be greatly appreciated. I managed to isolate OSG's OpenGL state by enabling glPush/glPop statements in the SpeedTree library (I know this isn't optimal), but I still can't get the 3D trees to render. Billboard trees are working (minus smooth fading between angles). Alex -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Daniel Schmid Sent: Friday, March 21, 2014 2:03 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] [3rdparty] SpeedTree 6.0 integration Hi Michael I wonder if your SpeedTree and terrain rendering is doing ok? We are about to integrate SpeedTree and we use paged/tiled terrain aswell. Can you provide example code of how you integrated the SpeedTree classes and shaders into OSG? and also share some insights on the issues you faced? I would be grateful! Cheers, Daniel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58683#58683 ___ 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
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
Hi, hybr Thank you! I hadn't thought of the view and projection matrices - I was focused on still active shader programs (which I later ruled out, though). Also, I will try gDebugger to see if that can shed some light on the issue. Cheers, Michael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45334#45334 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
Hi, I had similar problem with using geometry shader. Setting parametr GL_GEOMETRY_VERTICES_OUT_EXT with correct number of vertices helped... Cheers, Filip -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45340#45340 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] SpeedTree 6.0 integration
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
[osg-users] [3rdparty] SpeedTree 6.0 integration
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