NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Scaling of an external TransformGroup

Hi,

to display a wire frame of my original data i pass a BranchGroup to the DisplayRenderer by

DisplayRendererJ3D dr = DisplayRendererJ3D)display3D.getDisplayRenderer();
 TransformGroup displayTG = dr.getTrans ();
 displayTG.addChild(bg);

Now the problem is the scaling of the wire frame (I use the same data as for the constructing of the Irregular3DSet.) On the display the wire frame has a dimension that is about 10 times of the visad data.
instead of getting the TransformGroup i also tryed it with

BranchGroup bgRoot = dr.getRoot();
bgRoot.addChild(bg);

The result is the same.
Has anyone an idea what is going wrong?


Olav


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: