Re: [osg-users] [3rdparty] change ocean height

2009-10-02 Thread Sebastien Nerig
Hi, haha ok thx for your answer and bug fix JS, I will try Well I did apologize because it seems that I am the only one to use the osgOcean height features and I do not use to have people working for me ! :p I tried to correct myself but you were too fast ^^ well thanks anyway Sebastien

Re: [osg-users] [3rdparty] change ocean height

2009-10-02 Thread Martin Scheffler
no seb, I also really needed that feature. I already wrapped it in dtOcean: https://sourceforge.net/apps/mediawiki/delta3d/index.php?title=DtOcean Cheers. Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17796#17796

Re: [osg-users] [3rdparty] change ocean height

2009-10-02 Thread Jean-Sébastien Guay
Hello Martin, no seb, I also really needed that feature. I already wrapped it in dtOcean: https://sourceforge.net/apps/mediawiki/delta3d/index.php?title=DtOcean Wow, I didn't know osgOcean had already made it into Delta3D! Nice! If there are any features you need for it to integrate better

Re: [osg-users] [3rdparty] change ocean height

2009-10-02 Thread Jason Daly
Jean-Sébastien Guay wrote: Wow, I didn't know osgOcean had already made it into Delta3D! Nice! Delta3D is developed at the Naval Postgraduate School. What did you expect? ;-) --J ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Sebastien Nerig
Hi JS ok I have updated osgOcean from the trunk and tried the new setOceanSurfaceHeight function. It is working well. Except that I have no node reflections in the water ? Did you try it ? In my 1st pic you can see the ocean and a cow at altitude 0, the reflection is great. [Image:

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Kim Bale
Hi Sebastien, I think this is because the reflection matrix used by the reflection FBO doesn't take into account the change in height and is still trying to reflect the scene across the origin. I don't have much time to give to osgOcean at the moment so if you need a fix urgently you should

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Jean-Sébastien Guay
Michael, Kim, If you get to it before me, send in the code and I'll merge the fix. I'll do this right away. Give me a few minutes. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Jean-Sébastien Guay
Hi again, If you get to it before me, send in the code and I'll merge the fix. I'll do this right away. Give me a few minutes. Done and committed to osgOcean SVN trunk. I also added a command line parameter to the oceanExample so that you can experiment with the ocean surface height. So

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Sebastien Nerig
Hi all, Thanks for your rapidity !! So I have updated and tested with my scene, when the cow is at 150 and the ocean at 100, it works well (the reflection is hard to see but it is here !) [Image: http://img246.imageshack.us/img246/9285/sanstitre1yg.jpg ] But ... really sorry again... there is

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Jean-Sébastien Guay
Hi Sebastien, So I have updated and tested with my scene, when the cow is at 150 and the ocean at 100, it works well (the reflection is hard to see but it is here !) [Image: http://img246.imageshack.us/img246/9285/sanstitre1yg.jpg ] If you lower the cow or lower your point of view you'll see

Re: [osg-users] [3rdparty] change ocean height

2009-10-01 Thread Jean-Sébastien Guay
Hi Sebastien, But ... really sorry again... there is a problem when the cow touches the ocean, both of them are at height 100... do you confirm this ? [Image: http://img297.imageshack.us/img297/836/sanstitre2hs.jpg ] Yep, that was it. Simple fix. Sorry about that. Note that the reflections

Re: [osg-users] [3rdparty] change ocean height

2009-09-30 Thread Sebastien Nerig
Hi Jean-Sébastien, ok thanks a lot for yours answers, I will work on it et keep in touch Thank you again Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17745#17745 ___ osg-users mailing

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Sebastien Nerig
Hi Jean Sebastien I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Thank you Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17710#17710

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi Sebastien, I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Actually I did implement part of it in my project, and recently merged the changes back into osgOcean SVN trunk. The change is that the ocean surface is now

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi again Sebastien, I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Well, I had some downtime while I waited for a big project to compile, so I decided to go ahead and do it. If you're using osgOcean SVN trunk, just

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi again, It works well, but with the skybox images that come with osgOcean, if you lower the ocean surface past a certain point you'll start seeing black. That's because the skydome images are cut off below the normal horizon, which should generally be z=0. This was not visible before, but

Re: [osg-users] [3rdparty] change ocean height

2009-09-03 Thread Jean-Sébastien Guay
Hello Sebastien, I would like to know if there is a way to change the ocean surface height. All the objects of my scene are located at a 100 altitude on the Z axis while the ocean is a 0. I have some local modifications to osgOcean to allow this, but I am on vacation right now so I will not

Re: [osg-users] [3rdparty] change ocean height

2009-09-03 Thread Sebastien Nerig
Hi JS bad luck for me ! ^^ anyway thanks for your answer and have nice holidays :) sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17004#17004 ___ osg-users mailing list