Thanks for the tips, Kim. I'm putting them to use as I slog forward here.
Repositioning the terrain to the origin isn't a problem, though differences of
scale are. The least disruptive solution would be to change the scale at which
osgOcean works. However the only scale function I see in there
I'll revisit this if anyone thinks of anything else to try, but for now I'm
going to give up on osgEarth (since it seems osgOcean may be more valuable to
us) and try VirtualPlanetBuilder to generate terrain that IS compatible with
osgOcean.
Someone has put those two together before, yes? :)
Hi,
Your screenshot shows a geocentric earth model.
osgOcean does not support this at the moment. Have you tried a flat terrain
model with osgEarth and osgOcean?
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24648#24648
zonk wrote:
Your screenshot shows a geocentric earth model.
osgOcean does not support this at the moment. Have you tried a flat terrain
model with osgEarth and osgOcean?
Hi, Torben.
I don't think osgEarth does flat. But as I mentioned earlier in the thread, I'm
limiting the camera to only
Hi Chris,
I'll revisit this if anyone thinks of anything else to try, but for now I'm
going to give up on osgEarth (since it seems osgOcean may be more valuable to
us) and try VirtualPlanetBuilder to generate terrain that IS compatible with
osgOcean.
From your screenshots, I don't think
On Mon, Feb 22, 2010 at 4:30 PM, Chris Innanen f...@nonsanity.com wrote:
zonk wrote:
Your screenshot shows a geocentric earth model.
osgOcean does not support this at the moment. Have you tried a flat
terrain model with osgEarth and osgOcean?
Hi, Torben.
I don't think osgEarth does
Hi Chris,
I think we can attempt to track down the problem. Whilst I haven't
tried osgEarth with osgOcean before as far as I understand all it
generates is a terrain model so it *should* work with osgOcean.
But firstly some background. The OceanScene class contains a custom
cull routine that is
Okay, I'm seeing some decidedly weird results from mixing osgEarth and
osgOcean. I've attached a picture link, but here's the text description...
I've cut the code back to creating an osgEarth globe but I'm not putting any
map data into it. (If I do, I get the same results anyway.) This means
Hi Chris,
If all you're after is a square area of sea I don't see any problems with
using osgOcean for this. Just disable the endless ocean parameter on the
ocean scene and the surface will stay in one place. As you say the only
difficultly might be getting the scales of the ocean to look correct
Thanks, Kim.
That's pretty much the direction I had decided to take. So far I haven't gotten
anything wet to show up at all, but I'll keep fiddling with it. It's probably
scale related because I'm using the same code to position the osgOcean surface
that I used to place my ocean stand-in blue
Let me clarify that I'm not using the whole planet for my tasks. I'm limiting
the camera to a smaller area where a flat ocean surface should work just fine.
My current placeholder is just a blue quad.
So I don't need to curve the water in any way. I should be able to use it as it
is. I hope.
11 matches
Mail list logo