On Friday 25 August 2006 07:37, Robert Osfield wrote: > I haven't maintained the sourceforge website for a number of years as its > just a pain in the butt to work with, and am busy enough with other work. > I have requested that sourceforge remove the project entry for the > openscenegraph but alas this seems to have been swallowed up in a support > black hole. This is very frustrating as its totally unrepresentatve of the > project.
I issued a support request asking them to remove OSG from SF, so hopefully they'll contact you within days this time (they did remove one of my projects when I requested it, not long ago). > Ray intersection testing will always be a bit crude for the types of > interactions you are look for, so you may well be better looking into a > specialist collision detection code or physics engine to help you out. > > The IntersectVisitor itself is known to have precision problems, but this > really only comes to the fore when working at whole world models when the > units are very large. For small models with a nearby local origin you > shouldn't have too many problems. Perhaps what is stinging you is that the > hits are return both in local coords to the object and in world coords. It appears to work fairly well with the camera and when I use rays to get the height of a given point in the terrain, and the code is roughly the same (I forgot to comment this). With the camera I got it to be always above the ground, and moving it closer to the player when there are obstacles in the middle. I haven't found flaws in these cases like the emulated CD yet, but then again the type of problems that I'm experiencing with CD wouldn't be noticeable in the way that the camera works. Anyway, it'll be probably my fault, I'll try to get this working... I didn't want to introduce yet another external library unless absolutely necessary :) Thanks for the help, regards. > Robert. -- Manuel A. Fernandez Montecelo <[EMAIL PROTECTED]> _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
