Hallo! First of all, thank you all for the information. I make an application to edit a scene. The camera position can be changed by the user (by hitting a button). So he can see all parts of the scene. But my scene is not endless, it has borders in all direction (for example: along the x -axis the highest coordinate is (12/0/0)). So I need to know how much can be seen with the actual camera position. So that I can stop the motion of the camera, if this point is reached. I tried many different things but I have not achieved a good result.
Greetings, Kony -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dirk Reiners Gesendet: Donnerstag, 10. Februar 2005 16:13 An: users Betreff: Re: AW: [Opensg-users] coordinates On Thu, 2005-02-10 at 05:57, Kornelia Ganglbauer wrote: > Hallo! > > Do any possibilities exist to determine the last visible points(perhaps the > edges) of my scene. I do not find a solution. Given that we're in a 3D space the visible area is bounded by a frustum, so I'm not sure which points you're looking for. You can get the frustum from the Camera (OSGFrustum frust; camera->getFrustum(frust, viewport);), and as Manfred mentioned it depends on the Viewport for image aspect ratio. I hope the frustum gives you the info you need, but to answer that I'd like a better idea of what you want to do. Hope it helps Dirk ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&opÿick _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
