POV-Ray : Newsgroups : povray.general : 2D text as subtitle? : Re: 2D text as subtitle? Server Time
7 Aug 2024 21:20:33 EDT (-0400)
  Re: 2D text as subtitle?  
From: John VanSickle
Date: 24 May 2001 13:58:44
Message: <3B0D4D00.A38F11F4@erols.com>

> 
> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.