[osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-01 Thread tim paige
Hi, I need help understanding what may be at play here... With the testCollision option to secure a boat for myself on the ocean, I promptly used a different boat I got from a collada dae file (a wooden dory from google sketchup 3dwarehouse), and ignored the one coming with the example because

Re: [osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-03 Thread tim paige
Hi, well... I finally got my boat INTO the water after findiing that the one supplied with the example was perfectly happy sitting IN the water instead of floating around in the air... I also got a shark model which exhibited the same characteristic of floating 10 feet ABOVE the water instead

Re: [osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-03 Thread Jean-Sébastien Guay
Hi Tim, I still would like to know the whys and wherefors and how comes surrounding this effect do different models have built in heights with respect to 0,0,0? It all depends on how the model was built in the modeling program... Clearly if one model's local origin (its own (0,0,0)) is

Re: [osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-04 Thread Kim Bale
> > Or you could make a small function that would find the bounding box of the > model There's an app for that :) http://code.google.com/p/osgworks/ *osgwbvv:* A bounding volume visualizer to display bounding spheres and boxes. K. On 4 March 2011 02:49, Jean-Sébastien Guay wrote: > Hi Tim, >

Re: [osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-04 Thread tim paige
J.S, Kim... Thank you! I wasn't expecting multiple models to exhibit the same behaviour. I'll try some different types other than collada models to see how they do. I'll see about the bounding box idea... sounds useful... Thanks for the tips. I'll keep studying... there is much I would like to

Re: [osg-users] [osgOcean] OceanExample - MakeTransform - Much different results with different boat model

2011-03-16 Thread tim paige
Hi, Here's what I've done so far towards this end (height of model vs reality)... Code: if(boat.valid()) { boat->setNodeMask( scene->getOceanScene()->getNormalSceneMask() | scene->getOceanScene()->getReflectedSceneMask() | scene->getOceanScene()->getRefractedSceneMask() );