You can use the OSGOrthograficCamera, making something similar to what you can do with the glOrtho(). The problem is that you have to get this class from CVS, because it doesn't exist in OSG 1.6.

Bruno Marques

On 2/5/06, Marcus Lindblom <[EMAIL PROTECTED]> wrote:
You can always add a second viewport to a window, then use a
PassiveBackground (so that previous stuff doesn't get erased). This is
what I've done to add text to a 3d-window.

/Marcus

etche xabi wrote:

>Hello all,
>is it a simple way to add geometry on an
>osgforeground, in order to not bother with it own 3D
>position. I'm thinking about add gifAnimation, or
>textTXF [... ] on the foreground.
>Perhaps on the OSGForeground::draw( action, viewport)
>if i call the OSGGemotry::drawPrimitives(action) it
>might be ok?
>of course my foreground::draw function will do openGL
>stuf like orthogonal projection to do it well.
>
>thanks
>xabi
>
>
>
>
>
>
>___________________________________________________________________________
>Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
>Téléchargez sur http://fr.messenger.yahoo.com
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Opensg-users mailing list
> [email protected]
>https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users



--
Brain

Reply via email to