[osg-users] heightfield height

2009-12-05 Thread Thomas Maier
Hi,

i cannot find anything in the wiki about it, i got a heightfield set to a 
heightieldlayer and this one i set as elevationlayer to a terraintile. now i 
cannot find any doc about allocate, setXInterval and setYInterval. If i setup 
e.g. allocate(100,100) and set[X,Y]Interval(1.0), then i set all points of the 
heightfiled to zero, but one point i set to e.g. 100. Now i think, i got a 
heightfield of 100*100points, and each point OR the whole heightfiled have a 
distance to each other of 1.0. So i think, the point i setup with a height of 
100 should be as high as the heightfield is in its x or y axis, or? the point 
in my window is so high that you cannot see the top of it, the only way i can 
see the top of the point is when i choose e.g. a value of 0.05.

what must i do to setup my heightfield correctly?


Thank you!

Cheers,
Thomas

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20953#20953





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


Re: [osg-users] heightfield height

2009-12-05 Thread Thomas Maier
Hi,

also when i use negative values in the setHeight() call, the heightfield draws 
seemed to got its origin in the x=0, y=0 coordinate of the viewer window? is it 
not allowed to use negative values as heightfield heights?

Thank you!

Cheers,
Thomas

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20954#20954





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