Re: [osg-users] setLODScale

2008-04-12 Thread Hans Elbers
Hi Brian, setLODScale is just a way to tweak the normal level of detail switching: switch earlier or later by a given factor. I find the easiest to switch between models based on their screen size by setting: RangeMode PIXEL_SIZE_ON_SCREEN For example less details if the model size

Re: [osg-users] class information with no extension .h file

2008-04-12 Thread Robert Osfield
HI Forest, Please read the discussion about extensionless headers that happened over a few days back. Robert. 2008/4/12 forest37 [EMAIL PROTECTED]: hi all, When I use VC++6.0 build the project of OSG,I find that there is no class information within head files in the ClassView

Re: [osg-users] setLODScale

2008-04-12 Thread Robert Osfield
Hi Brian, CullSettings is managed a bit more cleanly in 2.x with osgViewer, here the master Camera's CullSettings are inherited down to renderer (which is still SceneView but largely hidden) so you just need to do viewer.getCamera()-setLODScale(2.0); The setLODSCale(float bias) methods parameter

Re: [osg-users] vrml2.0

2008-04-12 Thread Gino van den Bergen
I would like to note that current OSG VRML plugin depends on OpenVRML 14.3. The plugin does not support the latest version of OpenVRML due to its dependecy on boost (and probably also because the Windows build of the latest OpenVRML relies on Visual Studio .NET 2008) . Gino Jean-Sébastien

Re: [osg-users] How to create new OSG dll files and replace the old binaries

2008-04-12 Thread Mattias Helsing
Hi Ke Li, The osg binaries gets put where you want them (using CMake). You tell CMake where to build the binaries and thats where you find the generated .sln file and, if you're lucky, a bin folder. The bin folder contains the binaries and a plugin folder with plugin binaries. If you dont want

[osg-users] Stenciling osgText::Text does not work

2008-04-12 Thread Christian Kaeser
Hello everyone, I encountered a problem that seems to stem from stenciling osgText::Text - if I do this, the Text will not be drawn at all. Here more details of how my setup works: I am writing a GUI system that uses stencils to limit the drawing area for components stacked in another component

[osg-users] CMakeLists FIND_PACKAGE(OpenGL)

2008-04-12 Thread forest37
hi all, I am a beginner of cmake ,I find that there is a sentence FIND_PACKAGE(OpenGL) int the CMakeLists.txt. But I can't find the corresponding .cmake file in CMakeModules. For example ,I find the FindOpenThreads.cmake file. regards

Re: [osg-users] setLODScale

2008-04-12 Thread Paul Martz
Hi Brian -- Second, using your example again, are the three ranges for the LOD stored in the model file itself? Do you happen to know, or could you point me to, the OSG format for these parameters? Typically, varying LODs are created by modelers and stored in a single file - along with the

Re: [osg-users] class information with no extension .h file

2008-04-12 Thread Paul Martz
Hi -- I believe VC6 is not a supported development environment for OSG. You'll need to use VS7 or later. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of forest37 Sent: Friday, April 11, 2008 9:39 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users]

Re: [osg-users] How to create new OSG dll files and replace the old binaries

2008-04-12 Thread Jean-Sébastien Guay
Hello, The osg binaries gets put where you want them (using CMake). You tell CMake where to build the binaries and thats where you find the generated .sln file and, if you're lucky, a bin folder. Actually, the bin/lib/share folders will be put in the directory specified by

Re: [osg-users] CMakeLists FIND_PACKAGE(OpenGL)

2008-04-12 Thread Jean-Sébastien Guay
Hello Forest, I am a beginner of cmake ,I find that there is a sentence FIND_PACKAGE(OpenGL) int the CMakeLists.txt. But I can't find the corresponding .cmake file in CMakeModules. For example ,I find the FindOpenThreads.cmake file. Some FIND_* macros are built into CMake. The

Re: [osg-users] IntersectVisitor limit of 32 segments necessary?

2008-04-12 Thread Robert Osfield
Hi Terry, The osgUtil::IntersectVisitor is deprecated by osgUtil::IntersectionVisitor/*Intersector classes, I've kept it around for backwards compatibility purposes. IntersectionVisitor doesn't have a limit with number of linesegments like IntersectVisitor does. FYI, IntersectVisitor uses a bit

Re: [osg-users] Testing of OSG SVN in prep for 2.3.8 dev release

2008-04-12 Thread Robert Osfield
Hi Mike et al. On Sat, Apr 12, 2008 at 7:15 PM, Mike Weiblen [EMAIL PROTECTED] wrote: fwiw I'm planning to do a fair bit of 3rdParty lib rework/update this coming week... I have be informed that libcurl needs a different version under Vista vs XP, I don't know of all the details though. If

Re: [osg-users] setLODScale

2008-04-12 Thread Brian
First, thanks everyone for helping me. It's a lot of good information. Hans, thanks so much for the sample OSG file. It demonstrates the idea of LOD quite well. Robert, in regard to setting the scale factor for LOD, it seems that passing a value of 2 will affect the entire scene. Is this

[osg-users] CURL builds: was :Re: Testing of OSG SVN in prep for 2.3.8 dev release

2008-04-12 Thread Luigi Calori
Hi Mike,Robert and Maciej There is a CMake based setup for recent Curllib in (https://dev.openwengo.com/svn/openwengo/owbuild/trunk/libs-3rdparty-cmakelists/curl ) It is configured for building curlib 7.16.2 as a dll under windows but it seems can be tweaked to compile the latest curlib (I'

Re: [osg-users] CURL builds: was :Re: Testing of OSG SVN in prep for 2.3.8 dev release

2008-04-12 Thread Mike Weiblen
thanks for all info. In general, contributions of build system clues are always welcome for the 3rdParty repo. cheers -- mew On Sat, Apr 12, 2008 at 5:05 PM, Luigi Calori [EMAIL PROTECTED] wrote: Hi Mike,Robert and Maciej There is a CMake based setup for recent Curllib in

Re: [osg-users] Stenciling osgText::Text does not work

2008-04-12 Thread Christian Kaeser
I analyzed the situation further and noticed that the problem seems to occur when Depth Testing is disabled. In that case, the rectangles for stenciling seem to either not be drawn at all, or more likely, maybe not in the order I specified. Is it possible that the drawing order of the