Re: [osg-users] Fading LOD transistions

2008-02-16 Thread Robert Osfield
Hi Judd, The core OSG does have a FadeLOD feature. One can implement it a higher level but its a bit awkward. Robert. On Feb 15, 2008 6:38 PM, Judd Tracy [EMAIL PROTECTED] wrote: Does osg support or has anybody implemented fading between LOD transistions? I found an old thread where someone

Re: [osg-users] Adding nodes to the scene while the viewer is running

2008-02-16 Thread Robert Osfield
Hi Per, Is it simply that the new objects aren't in the current camera's view? Try moving the camera around the scene. Try pressing space bar to force the camera manipulator back to its home position. Robert. 2008/2/15 Per Rosengren [EMAIL PROTECTED]: I try to add Geoms to the scene of my

Re: [osg-users] osg::Switch and update callbacks for children

2008-02-16 Thread Robert Osfield
Hi Brad, The UpdateVisitor by default visits all children, you can change its TraversalMode to TRAVERSE_ACTIVE_CHILDREN and it will no longer visit the children of your switch. Robert. On Feb 15, 2008 11:59 PM, Brad Colbert [EMAIL PROTECTED] wrote: Hi, I may be misunderstanding what a switch

Re: [osg-users] Multi-Node?

2008-02-16 Thread Robert Osfield
Hi Paul, On Feb 16, 2008 11:26 PM, Tanja Paul [EMAIL PROTECTED] wrote: Thanks Robert - Yes I meant multiple displays, thanks for your response. I saw a thread a while back in regards to openProducer, cant recall it but I believe Don was saying openProducer supported multiple channels or a

Re: [osg-users] FBO and Antialiasing

2008-02-16 Thread Robert Osfield
On Feb 15, 2008 6:53 PM, [EMAIL PROTECTED] wrote: What is the status of FBO Anti-Aliasing? It doesn't look like it is in 2.3.4. Still waiting for someone to have the time to read the specs and implement the feature. Any idea what I need to do to get FBO Anti-Aliasing. I'm currently using OSG

Re: [osg-users] Overriding the SwapBuffers call

2008-02-16 Thread Jean-Sébastien Guay
Hello André, This looks fine. Try setting a breakpoint in GraphicsWindowWin32::swapBuffersImplementation() to see in what state the object is. Either _realized is false or the handle to the device context is invalid (and this is not trapped by the ::SwapBuffers call as an error). I'll try

Re: [osg-users] Fading LOD transistions

2008-02-16 Thread Glenn Waldron
One approach is to use shaders for fading. Here's a simple example: https://wush.net/websvn/osggis/filedetails.php?repname=osggispath=%2Ftrunk%2Fsrc%2FosgGIS%2FFadeHelper.cpp Of course you'd need to augment the shaders to support lighting, texturing etc., but you get the idea. -gw On Feb 15,

Re: [osg-users] Coordinate conversion -VPB

2008-02-16 Thread Antoine Hue
Omkaranathan wrote: Hi, I am trying to convert terrain data from Lat/Long to UTM coordinates. When converting the data using gdal_warp (from gdal) and using VPB(osgdem) to produce the terrain, I am getting the coordinate system correct but there are problems with edges.(Snapshot

Re: [osg-users] Overriding the SwapBuffers call

2008-02-16 Thread André Garneau
Hi Jean-Sébastien, I'll try that on Monday. I already traced through the GraphicsWindowWin32::createWindow() method and all looked fine (after getting the window classes registered as I mentioned before). BTW, I don't know if you've seen the thread, but could you bring your insight (as

Re: [osg-users] Fading LOD transistions

2008-02-16 Thread Mike Weiblen
Thoughts... Fade-LOD is an interesting feature: the concept is to smooth transitions between LOD switches by rendering two adjacent LODs with varying transparency to minimize visual popping. However, the whole point of LOD is to control rendering load, and Fade-LOD *increases* rendering load

Re: [osg-users] Adding nodes to the scene while the viewer is running

2008-02-16 Thread Per Rosengren
Thank you! A small typo in my code resulted in that my geodes didn't get any children. No wonder they weren't visible... Robert Osfield wrote: Hi Per, Is it simply that the new objects aren't in the current camera's view? Try moving the camera around the scene. Try pressing space bar to

Re: [osg-users] Adding nodes to the scene while the viewer is running

2008-02-16 Thread Guy
Robert, If it is possible to add objects while running, what is the purpose of the realize function? I thought it initialize not only the camera. Is it possible to add ANY object while running or there are some limitations to this? Thanks, Guy. -Original Message- From: [EMAIL PROTECTED]

Re: [osg-users] Framerate vs stats?

2008-02-16 Thread Guy
I've different problem with XP/nVIDIA 8800 GT. In debug code, when the stats are on while exiting the app sometimes there is a crash. I happens in most of the osg examples. The release code works. It also happens with old OSG1.2 code, and it didn't happen on nVIDIA 7950. I first thought it's the

Re: [osg-users] Framerate vs stats?

2008-02-16 Thread Guy
How could it be a driver bug if it's debug/release issue?!? Don't both versions use the same driver? Thanks, Guy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-S?bastien Guay Sent: Friday, February 15, 2008 5:16 PM To: OpenSceneGraph Users