Carsten Neumann schreef: > Hi Jan, > Hi carsten, > > > >> Debugging the coordinate transformations clarified also that the 0,0 >> point of the viewport coordinates is located at the top left of my >> viewport (I think this is correct?). >> > > the OpenGL convention is to have the origin in the bottom left - might > that already explain the behavior you see ? > I changed the point to the bottom left, but that doesn't solve the problem. >> I changed the Vec3f's to Pnt3f's but that doens't solve the problem :-(. >> >> I have also some extra screenshot to show the strange behavior of my >> picking routine : >> http://lumumba.uhasselt.be/~meskensj/opensg/opensg_picking2.JPG >> > > hm, strange indeed. Frankly, I'm running a bit out of ideas. Maybe you > could try to draw the ray as a line in your scene, that might give you > an idea on why it does not seem to follow your sphere. >
Is there a quick way to visualize the opensg picking ray? I don't find a method to convert the line to a Geometry class. Thanks in advance, Jan Meskens ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
