|
 |
>
> Hello!
> I have a question:
> Is it possible to create a 2D-Text in the rendered image?
> I need a text which is always at the same position in the picture
> and does not depend on the camera-position.
> I want to create subtitles in an animation. Is this possible?
> Which directive must I use?
>
> Thanks
> Matthias
http://www.public.usit.net/lsellers/raytracing.html
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
 |
|
 |
>
> Hello!
> I have a question:
I have an answer.
> Is it possible to create a 2D-Text in the rendered image?
Yes.
> I need a text which is always at the same position in the picture
> and does not depend on the camera-position.
Can do.
> I want to create subtitles in an animation. Is this possible?
Yes. I do it all the time.
> Which directive must I use?
First, you have to calculate the up, right, direction and translation
vectors for the camera.
Declare the text, position it relative to the camera, and then apply
a matrix transform so that the text is moved to where the camera is.
All but a couple of my IRTC entries use subtitles in some fashion.
The source files for two of them are available on line:
http://www.irtc.org/ftp/pub/anims/1999-07-15/boxer.zip
http://www.irtc.org/ftp/pub/anims/1999-10-15/rose.zip
I'm told this page can also be of help:
http://enphilistor.users4.50megs.com/matrix.htm
Regards,
John
Post a reply to this message
|
 |