AimplainLeo / osgocean

Automatically exported from code.google.com/p/osgocean
GNU Lesser General Public License v3.0
0 stars 0 forks source link

remove skydome,dark ocean #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when i remove skydome in osgocean,ocean become very dark,
i want to inset osgephmeris in osgocean ,then i remove osgocean's skydome,
however ,ocean become very dark.why?

Original issue reported on code.google.com by fl...@yahoo.cn on 18 Nov 2010 at 2:24

Attachments:

GoogleCodeExporter commented 9 years ago
Hi ?

As with the real bodies of water, the ocean takes a lot of colour from the 
reflection of the sky. So if you remove the sky and leave the background black 
it'll mix in black into the water colour. 

Once you've added in osgEphemeris it'll reflect the colour of that. 

If you get the chance I'd love to see screenshots of it working with 
osgEphemeris :)

Regards,

Kim.

Original comment by kcb...@googlemail.com on 18 Nov 2010 at 9:05

GoogleCodeExporter commented 9 years ago
my test is not good ,sun inverted reflection in water is  malposition.

Original comment by fl...@yahoo.cn on 11 Dec 2010 at 7:08

Attachments:

GoogleCodeExporter commented 9 years ago
The specular reflection from the sun is taken from the position of the light 
source in the scene. You will need to change the position of the light source 
so that it matches the position of the sun.

Original comment by kcb...@googlemail.com on 11 Dec 2010 at 11:00