POV-Ray : Newsgroups : povray.general : Text Object Carriage return Server Time
4 Nov 2024 21:22:50 EST (-0500)
  Text Object Carriage return (Message 1 to 3 of 3)  
From: Tony LaVigne
Subject: Text Object Carriage return
Date: 15 Oct 2003 23:40:01
Message: <web.3f8e1259b7ce4faf55239c890@news.povray.org>
..... or new line
The docs have \r and \n outputs to the message window, but I don't know how
to put in a new line in the rendering window.  This code from the docs
renders nicely,

#include "colors.inc"
  camera {   location <0, 1, -10>   look_at <2,0,0>   angle 35  }
  light_source { <500,500,-1000> White }
  plane {   y,-3  pigment { checker Green White } }
  text {   ttf "timrom.ttf" "POV-RAY 3.10" 1, 0   pigment { Red } }

but I'd like to have the "3.10" below the "POV-RAY" without doing some fancy
tranlation.
thanks
Tony

www.xenoplates.com


Post a reply to this message

From: Ken
Subject: Re: Text Object Carriage return
Date: 16 Oct 2003 01:27:14
Message: <3F8E2C8B.29AC22C4@pacbell.net>
Tony LaVigne wrote:
> 
> ..... or new line

You have to do the translation for each text string.

-- 
Ken Tyler


Post a reply to this message

From: Christopher James Huff
Subject: Re: Text Object Carriage return
Date: 16 Oct 2003 01:56:19
Message: <cjameshuff-E292D5.01540316102003@netplex.aussie.org>
In article <web.3f8e1259b7ce4faf55239c890@news.povray.org>,
 "Tony LaVigne" <ton### [at] xenomechanicscom> wrote:

> but I'd like to have the "3.10" below the "POV-RAY" without doing some fancy
> tranlation.

You can't. However, it shouldn't be too difficult to write a macro to 
handle this job automatically.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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