Hi houxl,

Please keep the subject line intact when you reply to a message, so the threading follows.

1)as kim said,add another transparency processing pass,and make osgocean render transparent objects well. I hope that kim will add transparency processing functionality soon. If added,please send message to me.

You can already render transparent objects, you just have to disable the fullscreen RTT effects (depth of field and glare). This is what we do at CM Labs. Adding rendering of transparency while keeping those effects is not trivial, it's pretty much the same thing as for deferred rendering - you need to render transparent objects after the main rendering pass that has the fullscreen RTT effects (so I'm not even sure the DOF and glare could apply to the transparent objects - which might look really weird).

2)according to longitude, latitude,date and time,simulate skydome,skylight and daylight,and render ocean water at any time(for example sunrise,sunset water )

For the skydome and lighting, it's not really in the scope of osgOcean to do this. It's not called osgEnvironment after all... :-) Essentially, you can use the skydome/skybox of your choice. At CM Labs we use something similar to the skydome in osgEphemeris, which has the features you mention (sun position and lighting based on longitude, latitude, date and time of day).

As for "sunrise,sunset water", what do you mean? The color of the water will depend on the color of your sky, which is also part of the osgEphemeris skydome.

3)avoid tile repeat of ocean scene (for example ,two bands samples for ocean spectrum )

I think before we try to avoid tiling of the ocean surface, we should focus on making the geometry updates faster. When the ocean surface is animating, the update callback that updates the geometry takes a significant amount of time. Kim already has some ideas on how to improve this (see the archives and the osgOcean Google Code issue tracker) but has not had time to work on it yet.

You only see the tiling when the camera is at high altitudes anyways. When it's close to the surface it's not really visible.

I want to join in development of osgOcean ,and hope kim and Jean-Sebastien Guay to help me solve some problems.

You can download the code from the svn repository and are welcome to hack at it and improve it, just send changes to this list and we can merge them in.

Thanks for your interest!

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to