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 talks about it but no
 word if anything ever happened with it
 http://osgcvs.no-ip.com/osgarchiver/archives/June2003/0162.html

 --
 Judd Tracy
 Institute for Simulation and Training
 University of Central Florida
 407-882-1405

 ___
 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] 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, 2008 1: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 talks about it but no
 word if anything ever happened with it
 http://osgcvs.no-ip.com/osgarchiver/archives/June2003/0162.html

 --
 Judd Tracy
 Institute for Simulation and Training
 University of Central Florida
 407-882-1405

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 (essentially doubling during the fade) at the exact moment you want
it to decrease.

IMHO, if we're talking about adding a feature, suggest instead Morph-LOD:
interpolating verts from one LOD's geometry to the other's, then adjusting
the actual number of verts after the transition is complete.  Of course
that requires more on the database/code side, and for terrain the effect
is more like rolling ocean than ghostly fading.

My $0.02 on the wonderful continuum of compromises.
cheers
-- mew



On Fri, February 15, 2008 12:38, Judd Tracy wrote:
 Does osg support or has anybody implemented fading between LOD
 transistions?  I found an old thread where someone talks about it but no
 word if anything ever happened with it
 http://osgcvs.no-ip.com/osgarchiver/archives/June2003/0162.html

 --
 Judd Tracy
 Institute for Simulation and Training
 University of Central Florida
 407-882-1405


Mike Weiblen -- Austin Texas USA -- http://mew.cx/

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Fading LOD transistions

2008-02-15 Thread Judd Tracy
Does osg support or has anybody implemented fading between LOD 
transistions?  I found an old thread where someone talks about it but no 
word if anything ever happened with it 
http://osgcvs.no-ip.com/osgarchiver/archives/June2003/0162.html

-- 
Judd Tracy
Institute for Simulation and Training
University of Central Florida
407-882-1405

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org