Hi Kim,
Sorry. I will start a new thread then.
Silverlining is a sky plugin. Nick already helped me a lot with that and I will
post his code on the new thread.
Best regards
Daniel
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34018#34018
Hi Nick,
I am new to OSG and I'm trying to use OsgOcean with Silverlining. I am using
the osgocean example and removed the skydome, and now I'm trying to add the
code of silverlining example to to my new project. The project builds and run,
but no sky is visible.
I think it has something to do
Hi Daniel,
can you post your code ? (send it to my email). I remember mimicing the
osgocean example I was not able to make it either, but found a work around
-Nick
On Tue, Nov 23, 2010 at 8:20 PM, Daniel Correia doncorr...@yahoo.com.brwrote:
Hi Nick,
I am new to OSG and I'm trying to
Hi Daniel,
If you could try and start a new thread for separate problems I would
appreciate it. It makes it easier for other people to locate and solve
similar issues.
I'm not sure what Silverlining is, or how you're adding it to the scene. If
you could provide more information I might be able
Hello Hello.
Did this get sorted? Or was there a genuine leak?
I just had a quick look and realised that changing the sun direction doesn't
actually need to dirty the scene state. It's only needed to set uniforms in
the GodRays and GodRayBlendSurface shaders. Those classes already have
getters
Hi Kim,
I havent got into debugging yet. I am planning to get into this week. WIll
keep you posted
Nick
http://www.linkedin.com/in/tnick
On Wed, Jan 27, 2010 at 11:27 AM, Kim Bale kcb...@googlemail.com wrote:
Hello Hello.
Did this get sorted? Or was there a genuine leak?
I just had a
Hi Nick,
when I add ocean to my scene, the mem goes up very agressively. and its
still increasing. Are you experiencing the same things ? I run the app
for 15 seconds and it crashes with FBO setup failure
I've modified the oceanExample so that it calls
OceanScene::setSunDirection(...) each
Hi JS
on windows, it does eats the memory in large chunks after 5 minutes, It
reach the limit
Nick
http://www.linkedin.com/in/tnick
Sent from Haguenau, Alsace, France
On Mon, Jan 25, 2010 at 5:38 PM, Jean-Sébastien Guay
jean-sebastien.g...@cm-labs.com wrote:
Hi Nick,
looks like I
Hi Nick,
on windows, it does eats the memory in large chunks after 5
minutes, It reach the limit
I'm on Windows... Vista (at work) to be specific.
Did you just compile osgOcean and the oceanExample? Which compiler?
Which version of OSG?
Sorry I'm kind of out of ideas, since it works
Ok .. I will do that.
I am Window7, osg like two weeks ago from the trunk and run your test app
from the code you sent me
I ll try to nail it down and let you know
Nick
http://www.linkedin.com/in/tnick
Sent from Haguenau, Alsace, France
On Mon, Jan 25, 2010 at 7:10 PM, Jean-Sébastien Guay
Hi Nick,
I nailed this down to
ocean-getOceanScene()-setSunDirection(sunpos);
calling this each frame increases the mem usage
I'll check this out on Monday at work. At first glance setSunDirection()
shouldn't cause leaks but perhaps it's the dirty each frame that it
causes that leaks.
Great. Yeas, that is what I was thinking as well. the sun direction set
dirties the scene so the init is called over and over again. I am not into
the details of osgscene too much, but for me it looks like an overhead to
recreate just about everything on sun position change.
Thanks !!!
Nick
Hi Nick,
Great. Yeas, that is what I was thinking as well. the sun direction set
dirties the scene so the init is called over and over again. I am not
into the details of osgscene too much, but for me it looks like an
overhead to recreate just about everything on sun position change.
init()
should not be set each frame anyways, only if needed...
I am using SilverLining for atmospehere and there is some issue with
updating the sun position, so I was suggested to call it in the frame method
I will try to look at it closer though
Nick
http://www.linkedin.com/in/tnick
On Sun, Jan
Hi,
when I add ocean to my scene, the mem goes up very agressively. and its
still increasing. Are you experiencing the same things ? I run the app for
15 seconds and it crashes with FBO setup failure
Nick
http://www.linkedin.com/in/tnick
Sent from Istanbul, 34, Turkey
I nailed this down to
ocean-getOceanScene()-setSunDirection(sunpos);
calling this each frame increases the mem usage
Nick
http://www.linkedin.com/in/tnick
On Sat, Jan 23, 2010 at 2:18 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote:
Hi,
when I add ocean to my scene, the mem goes up very
16 matches
Mail list logo