POV-Ray : Newsgroups : povray.animations : 2d-text as 'floating label' Server Time
8 Jul 2024 13:59:56 EDT (-0400)
  2d-text as 'floating label' (Message 1 to 2 of 2)  
From: Paolo Bellei
Subject: 2d-text as 'floating label'
Date: 19 May 2002 19:08:02
Message: <3ce83052$1@news.povray.org>
Does anyone know how it is possible to overlay a 2d-text 'label' over a
selected object so that it may float, sticked to its object's trajectory,
without changing itself in size and orientation (always horiz)?
That is, a kind of "floating label" for a rendered object.

Thanks.


Post a reply to this message

From: L'Harmonieux Forgeron
Subject: Re: 2d-text as 'floating label'
Date: 22 May 2002 05:46:55
Message: <3CEB692E.4060704@free.fr>
Paolo Bellei wrote:

> Does anyone know how it is possible to overlay a 2d-text 'label' over a
> selected object so that it may float, sticked to its object's trajectory,
> without changing itself in size and orientation (always horiz)?
> That is, a kind of "floating label" for a rendered object.


I do not know, but :
  - using an orthographic camera
  - a text object with no_shadow & no_reflection, ambient set to 1, and 
diffuse to 0, scale & rotate & translate set to your will,

you could place a text anywhere on the picture.
First make it with a fixed camera, with the sky & up set to size*y,
direction k*z and right ratio*size*x.

Then try moving the camera with some translate & rotate.
Applying the same transformation to the text should make it follow in 
the picture.

Avoid Look_at !


-- 
Non Sine Numine
http://grimbert.cjb.net/
Puis, s'il advient d'un peu triompher, par hasard,






Post a reply to this message

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