Hi Kim,

Did you turn off depth of field aswell?
yes

In the reflection on the ocean surface or the scene itself?
in the scene

Nick

http://www.linkedin.com/in/tnick
Sent from Izmit, 41, Turkey

On Tue, Jan 5, 2010 at 12:06 PM, Kim Bale <kcb...@googlemail.com> wrote:

> Hi Nick
>
> >I turned that off and I see the quad under water. see attached
>
> Did you turn off depth of field aswell?
>
> >Somehow, when I add the ephemeris into the ocean scene, I am getting the
> sun rotated >180 around Z, and it is scaled - at least that are the visual
> impressions. Any thoughts on >this?
>
> In the reflection on the ocean surface or the scene itself?
>
>
> K.
>
>
> 2010/1/5 Trajce Nikolov <nikolov.tra...@gmail.com>
>
>> Hi Kim,
>>
>> I turned that off and I see the quad under water. see attached
>>
>> One more thing. I am trying to implement osgEphemeris with osgOcean, and
>> so far it looks good but two problems. Somehow, when I add the ephemeris
>> into the ocean scene, I am getting the sun rotated 180 around Z, and it is
>> scaled - at least that are the visual impressions. Any thoughts on this?
>>
>> Nick
>>
>> http://www.linkedin.com/in/tnick
>> Sent from Izmit, 41, Turkey
>>
>> On Tue, Jan 5, 2010 at 11:14 AM, Kim Bale <kcb...@googlemail.com> wrote:
>>
>>> Hi Nick,
>>>
>>> osgOcean (with all the effects turned on) renders to a quad on the
>>> screen, this is because there are a number of post processing effects that
>>> require it (glare, dof). If I understand your problem correctly, you will
>>> need to set the frame buffer size to the size of your window with
>>> setScreenDims( osg::Vec2f ) and the quad will fill the window.
>>>
>>> Alternatively turn off glare and depth of field.
>>>
>>> Regards,
>>>
>>> Kim.
>>>
>>>
>>> 2010/1/5 Trajce Nikolov <nikolov.tra...@gmail.com>
>>>
>>> What I am getting is View in a Window. Please see the attached image. The
>>>> osgOcean opens another window instead of rendering in the one I created. 
>>>> Any
>>>> ideas, hints?
>>>>
>>>> Nick
>>>>
>>>> http://www.linkedin.com/in/tnick
>>>> Sent from Izmit, 41, Turkey
>>>>
>>>> On Mon, Jan 4, 2010 at 8:50 AM, Trajce Nikolov <
>>>> nikolov.tra...@gmail.com> wrote:
>>>>
>>>>> Hi Tian Ma,
>>>>>
>>>>> well, the example works just fine. Also, when I step thru, I am not
>>>>> getting any errors. Just not able to see the ocean surface and getting the
>>>>> screen aligned quad (black) ... Any ideas?
>>>>>
>>>>> Nick
>>>>>
>>>>> http://www.linkedin.com/in/tnick
>>>>>
>>>>>
>>>>> On Mon, Jan 4, 2010 at 5:46 AM, Tian Ma <tianxiao...@foxmail.com>wrote:
>>>>>
>>>>>> Hi Nick:
>>>>>>
>>>>>>  Could you run the ocean example successfully?
>>>>>>
>>>>>>  Any errors occured when you get a back screen?
>>>>>>
>>>>>> Cheers,
>>>>>> MT
>>>>>>
>>>>>>
>>>>>>
>>>>>> Trajce Nikolov wrote:
>>>>>> > Hi,
>>>>>> >
>>>>>> > I am trying to embed the ocean stuff into my application. I mimic
>>>>>> the code from the example, and all I get is 2D black screen aligned quad.
>>>>>> Any hints?
>>>>>> >
>>>>>> >
>>>>>> > Thanks
>>>>>> >
>>>>>> >
>>>>>> > Nick
>>>>>> >
>>>>>> > http://www.linkedin.com/in/tnick (http://www.linkedin.com/in/tnick)
>>>>>> > Sent from Devlet, Ankara, Turkey
>>>>>> >
>>>>>> >  ------------------
>>>>>> > Post generated by Mail2Forum
>>>>>>
>>>>>>
>>>>>> ------------------
>>>>>> Read this topic online here:
>>>>>> http://forum.openscenegraph.org/viewtopic.php?p=22044#22044
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> osg-users mailing list
>>>>>> osg-users@lists.openscenegraph.org
>>>>>>
>>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> osg-users@lists.openscenegraph.org
>>>>
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to