Re: overlay image and parented camera

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++aspen.evt.com)
Wed, 26 May 1999 10:21:47 -0600


I'm a big fan of textures now when I see how slow a glDrawPixels
is on some hardware, so I would try mapping your image to a
rectangular geoset and moving it about so that it is always
in place in front of the camera. To move the camera, I use
a dummy pfDCS ( that I have code to move using splined keyframes )
then each frame grab its matrix and convert it to a view matrix
for the pfChannel. The dummy DCS is also available if I want
to attach a model camera so that in a "director's view" I
can see the camera position and viewing frustum.

Scott

Steven Bergner wrote:
>
> Hi.
>
> How can I blend a rgba-image over a Performer rendered window? There is a
> part in the insight documentation that tells me to do such actions in the
> DRAW_Callback. But the example shows only a command like DrawOverlay() and
> I don't know how to do that. Is there a way to load and put an image on
> the screen only by using Performer own functions? Another problem we have
> is to attach a camera (pfChannel) to a moving node (pfDCS) to follow the
> scene from the perspective of the object. Like a camera mounted on the top
> of a car. A possible solution would be to calculate the eye Position in
> every CULL callback by hand. Is there some better way, like using the DCS
> as input device for a pfTransformer?
>
> I would be very happy if anyone could show me some good example file or
> some lines of source.
>
> Thank you very much,
>
> Steven.
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed May 26 1999 - 09:22:03 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.