Hi Kim Bale,
               your hints are valuable. As I've seen so far I need to know the 
height on a specific point on sea surface. 
I wrote a function in FFTOceanSurface passing the x,y of a point. That function 
finds the corresponding ocean tile and retrives the closest vertice using the 
getVertex of OceanTile function. 
That way I can program my objects on the sea surface to maintain that height 
from the sea zero level on every frame.
I haven't done yet (actually it doesn't work so far) but I believe I am going 
to the right direction.
I' ll make a post when I have good news.
Thank you!

Cheers,
Dimitrios

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





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

Reply via email to