Re: [osg-users] How to use Font^ as a variable in a C++ program ?

2014-04-24 Thread Norbert Eke
Xatpy wrote: I think that what you should use is osgText::Text. There, you can do -setFont(font). font is the name of the font that you want to use. Hi Xatpy, could you give me a specific example how to use osgText::Text, because when I googled what do I have to include and I found these

Re: [osg-users] How to use Font^ as a variable in a C++ program ?

2014-04-24 Thread Norbert Eke
Hi Sebastian, I am a new member of this forum, I just signed up yesterday. I put my question up right away, but the forum had to approve my membership and my question, so I guess that is why you could not see the context. Sorry about that, I think now it is visible. Could you take a look at it

Re: [osg-users] New primitive restart mode leaking into other nodes

2014-04-24 Thread Aurelien Albert
Hi, But I am a little confused, why you judge the good old primitive restart functionality Because triangle strips are no longer faster than triangles. Using triangles with an optimized idexing (see post-transform cache optimization) is very performant. I also use GPU computing CUDA /

Re: [osg-users] New primitive restart mode leaking into other nodes

2014-04-24 Thread Aurelien Albert
Instead of calling many singleDraws or a multiDraw with all its offsets you have to remember I think you're talking about draw-instanced feature here, which is completely different, but very efficient. Cheers, Aurelien -- Read this topic online here:

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-24 Thread Robert Osfield
Hj Paul, On 23 April 2014 22:42, Paul Martz skewmat...@gmail.com wrote: I don't think you want the values of OPENGL_HEADER1 and OPENGL_HEADER2 to be in the CMake cache, as subsequently changing OPENGL_PROFILE would then fail to reset their values. I've attached a top-level CMakeLists.txt that

Re: [osg-users] Best way balance tree??

2014-04-24 Thread Jaime
Thanks for your response! I have a lot (5000 aprox) of trees in my example scene. Each tree has got two planes and textures. However, my terrain geometry is relatively simple. I think that the terrain is not the problem. And there are some buildings in some places. Also, there are cars and

Re: [osg-users] How to use Font^ as a variable in a C++ program ?

2014-04-24 Thread Jaime
Hi UtherPendragon17 (), Look in the OSG examples folders. ($OSG)\examples\osgtext\ There is a project that teachs you to use osg text and fonts. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59140#59140

Re: [osg-users] Best way balance tree??

2014-04-24 Thread Robert Osfield
Hi Jamie, On 24 April 2014 10:05, Jaime xatp...@hotmail.com wrote: Thanks for your response! I have a lot (5000 aprox) of trees in my example scene. Each tree has got two planes and textures. However, my terrain geometry is relatively simple. I think that the terrain is not the problem.

Re: [osg-users] Best way balance tree??

2014-04-24 Thread Sebastian Messerschmidt
Hi Jaime, Thanks for your response! I have a lot (5000 aprox) of trees in my example scene. Each tree has got two planes and textures. However, my terrain geometry is relatively simple. I think that the terrain is not the problem. And there are some buildings in some places. Also, there are

Re: [osg-users] [build] error compiling the stable version

2014-04-24 Thread Sajjadul Islam
Hi, I did not find any option inside the cmake-gui Thank you! Cheers, Sajjadul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59143#59143 ___ osg-users mailing list

Re: [osg-users] Best way balance tree??

2014-04-24 Thread Trajce Nikolov NICK
Hi Jaime, what is the format of your terrain model (the file extension)? Nick On Thu, Apr 24, 2014 at 11:38 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Jaime, Thanks for your response! I have a lot (5000 aprox) of trees in my example scene. Each tree has got

Re: [osg-users] Best way balance tree??

2014-04-24 Thread Jaime
Trajce Nikolov NICK wrote: Hi Jaime, what is the format of your terrain model (the file extension)? Nick On Thu, Apr 24, 2014 at 11:38 AM, Sebastian Messerschmidt () wrote: Hi Jaime, Thanks for your response! I have a lot (5000 aprox) of trees in my example