POV-Ray : Newsgroups : povray.advanced-users : Variations on a Theme Server Time
26 Nov 2024 09:43:08 EST (-0500)
  Variations on a Theme (Message 1 to 4 of 4)  
From: David Vincent-Jones
Subject: Variations on a Theme
Date: 1 Sep 2000 14:57:32
Message: <39affc1c$1@news.povray.org>
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 ?

David


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Variations on a Theme
Date: 1 Sep 2000 15:03:14
Message: <39affd72$1@news.povray.org>
I don't consider me to be an advanced-user, but couldn't you just #declare
your basic shape and make a union of it together with the textobject for the
number/letter (or what ever you need to make it unique)? The hole union can
then be transformed and both - basic shape plus letter/number - would be
affected.

Marc-Hendrik

David Vincent-Jones schrieb in Nachricht <39affc1c$1@news.povray.org>...
>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 ?
>
>David
>
>


Post a reply to this message

From: Chris Huff
Subject: Re: Variations on a Theme
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

From: Bob Hughes
Subject: Re: Variations on a Theme
Date: 1 Sep 2000 16:22:43
Message: <39b01013$1@news.povray.org>
It's been done, yes.  In fact it was pool balls that were done in such away
before that I'm thinking of, but I probably couldn't locate it if I tried.
So....
I'll put an example of what I have done at the povray.text.scene-files
group, look for a Systematic Labeling post there.
I might not have understood completely, you seem to have asked about putting
the number into the pov file name or something.  Maybe not though...

Bob

"David Vincent-Jones" <geo### [at] galaxynetcom> wrote in message
news:39affc1c$1@news.povray.org...
|
| The only difference is that each item has a different number or letter
| painted on its side.
|
| Has anybody done anything like this ?


Post a reply to this message

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