Hello Peter,
> As I´m quite a newbie in OpenSceneGraph, I´m not sure about the steps to
> create the minimap (Camera Node etc.).
>
> Any help that outlines those steps would be very helpful.
I don't have practical experience in what you describe, but my intuition would
be to do this:
1) Create a render-to-texture camera which will be over the moving entity at the
required distance to make a minimap view.
2) Texture a quad in your HUD with the resulting texture.
3) This is what will determine the performance hit of your minimap and also its
look: use LODs on all your objects and terrain which will, at the
minimap-camera's distance, look like what you want your minimap to look like
(perhaps with switch nodes to only enable the minimap LODs when rendering to
your minimap camera).
Again, sorry if this isn't really concrete advice with code examples (I'm not
even sure all this is practically feasible), but your e-mail made me think
about it so I just thought I'd send my thoughts.
Good luck, and be sure to tell us how you do it in the end.
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/