POV-Ray : Newsgroups : povray.advanced-users : Variations on a Theme : Re: Variations on a Theme Server Time
5 Sep 2024 01:56:39 EDT (-0400)
  Re: Variations on a Theme  
From: Chris Huff
Date: 1 Sep 2000 16:18:23
Message: <chrishuff-9E0814.15195901092000@news.povray.org>
In article <39affc1c$1@news.povray.org>, "David Vincent-Jones" 
<geo### [at] galaxynetcom> wrote:

> I am building a scene where there are a large number of 'nearly 
> identical' items.
> 
> The only difference is that each item has a different number or 
> letter painted on its side. (i.e.. like a set of one color pool 
> balls)
> 
> Because the number of objects is quite large, I would like to use a 
> standard object approach and just do a location transform plus adding 
> the number in the final .pov file.
> 
> Has anybody done anything like this ?

The easiest way to do the balls would be to use a texture using an 
object pattern with a text object to make the different numbers, but 
that requires MegaPOV(in fact, I designed the object pattern with a text 
pattern in mind). You might be able to make a macro which just takes a 
character and color and produces the appropriate ball by doing CSG 
between spheres and text objects, but this is slower and just clumsier.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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