How to Use the Remote Rendering Environment with Seams
 

Directory Structure

 
  • netlib
  • recursIV
  • slod
  • sterrain
  • zpt
  • rr
  • input
  • data
  • nserver  
    recursiv Inventor Objects 
    Slod Decoder 
    Terrain generating and updating routines 
    Zero Problem Tools 
    Remote Rendering main directory, where gserver gclient are stored 
    Directory for the rrd-Files which describe the worlds 
    Directory for the Geometry Files (Recursiv,IV, Slod)
     

    How to start the demo

    Start the scripts park and park2 in the rr directory for a local remote rendering with seams demonstration.
    The script park uses the park2.rrd world and the park2 script uses the park4.rrd world.

    Start the scripts demo and demo2 in the rr directory for a network demonstration where demo should be started on knieriem and demo2 on marille.
    The script demo uses the demo2.rrd world and the demo2 script uses the demo4.rrd world.
    If you want to start the networkdemo on other machines, you have to change the .rrd file accordingly.

    The following two pictures show parts of the gserver map where the seams are represented as colored points which are related to the circles of the same color that represent the area that the seam is showing. The 'green' seam is rotating.

                 

    New parameters

    Gserver:  -p portnumber (Portnumber of nserver. default is 33334)
    Gclient: -p portnumber (Portnumber of nserver. default is 33334), -ch angle (in degrees)  (Clientheading default is 0)
     

    How to configure a SEAM in the .rrd file

    A Seam is defined by 2 lines in the .rrd file using the 'P' and 'D' object types. The 'P' type requires a unique objectidentifier, the coordinates in the primary world, the name of the server of the secondary world, portnumber of the secondary world, the unique objectidentifier of the 'D' object in the secondary world, the IV file of the seam face and the according lod level.
    Example: P,31501,1600,1470,knieriem,33334,31502,s1geom,0x1
     
    The 'D' object type requires a unique objectidentifier, the coordinates in the world, the z-coordinate in the world, the horizontal angle of view, the vertical angle of view, the radius of the area of interest of the seam.
    Example: D,31502,1350,1520,-1,0,0,70