From: Marc Price (marcp++at++rd.bbc.co.uk)
Date: 01/15/2001 08:57:48
Julien wrote:
>
> Hi all,
>
> Is there a simple way in Performer to draw a image in screen
> coordinates.
> I need that for the credits of our simulation : We want to see the
> credits
> at the bottom of the window, slidding over the graphic simulation
> horizontally.
>
> I have a image texture of 32x2048 (with alpha) with all the text, logo,
> etc.
>
> Thanks,
> Julien.
We do something similar. You could texture a rectangle that is sized,
located, and orientated in the scene so that it appears in the correct
position on the display (sort of reverse engineering). Use the view
frustrum to determine size. Use the viewpoint params to determine the
other parameters.
I've deliberately kept it vague - email me if you are interested in more
detailed info (unless someone else on the list gives this).
Marc
This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 08:57:57 PST