Changes between Version 6 and Version 7 of Community/OSGExp/Documentation/OSGLOD

Show
Ignore:
Timestamp:
08/21/07 16:04:03 (7 years ago)
Author:
osg (IP: 131.155.132.119)
Comment:

Move to sourceforge

Legend:

Unmodified
Added
Removed
Modified
  • Community/OSGExp/Documentation/OSGLOD

    v6 v7  
    1 = OSG LOD = 
    2 [[TracNav(Community/OSGExpTOC)]] 
    3  
    4 == General == 
    5 LOD is an acronym for Level Of Detail. Typical uses are for load balancing - objects further away from the eye point are rendered at a lower level of detail. You can specify at which distance certain object will become visible or invisible. 
    6  
    7 == Possible uses: == 
    8 The usage as shown in the demonstration below is pretty stupid. Better uses are: 
    9  * Make the inside geometry of a house invisble when outside. This saves render time; 
    10  * Replace complex geometry with a simple textured box when far away. You'd have to create such an object in your scene as well. This saves (possibly a lot of) render time;  
    11  
    12  
    13 == To create a LOD Helper in 3d Studio Max == 
    14  * Create some geometry; 
    15  * Add a OSG LOD Helper object; 
    16  * Specify the center of the LOD; 
    17  * Press the first None-button in LOD Obects, and assign an object to it; 
    18  * Specify the minimum and maximum boudaries. The object will be visible in between these. The distances are in Drawing units (and this should be set to metres to ensure proper dimensions in the Design Systems Viewer; 
    19  * Do this for all objects you wish to add to this LOD. 
    20  
    21 [[Image(OSGLODRollout.jpg)]] 
    22  
    23 == Other options == 
    24  1. '''LOD Center''': This define the centerpoint of the LOD. Relative to this point all the distances will be calculated. 
    25  2. '''LOD Objects''': You can specify for 5 objects the Min and Max distance. Between these two the object is visible, outside the boundaries it will not be visible. 
    26  3. '''Paged LOD''': ... 
    27  
    28  
    29 == Demonstration == 
    30 [[Image(OSGLodDemo1.jpg)]] [[Image(OSGLodDemo2.jpg)]] [[Image(OSGLodDemo3.jpg)]] 
    31  
    32 Here you can see that in the first picture only the box is visible. 
    33 Zooming out the sphere appears as well. Even more zooming out makes the box dissappear. 
    34 You can [attachment:dsLOD.zip download the demofile]. MAX-scene en OSG-export are included in the file.  
    35  
    36 == More information == 
    37  * [http://www.mekensleep.org/docs/openscenegraph/html/classosg_1_1LOD.html OpenSceneGraph LOD class reference] 
    38  * [http://osgexp.vr-c.dk/documentation/HOWTO.htm OSG Exporter HOWTO]