POV-Ray : Newsgroups : povray.general : 2D text as subtitle? Server Time
7 Aug 2024 19:20:54 EDT (-0400)
  2D text as subtitle? (Message 1 to 3 of 3)  
From: Söllner Matthias
Subject: 2D text as subtitle?
Date: 13 May 2001 16:48:55
Message: <3AFEF352.B7282F71@t-online.de>
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


Post a reply to this message

From: Ken
Subject: Re: 2D text as subtitle?
Date: 13 May 2001 17:00:35
Message: <3AFEF681.F40E97F0@pacbell.net>

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

From: John VanSickle
Subject: Re: 2D text as subtitle?
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.