POV-Ray : Newsgroups : povray.newusers : Applying a transform to a whole batch of objects? Server Time
25 Nov 2024 19:55:28 EST (-0500)
  Applying a transform to a whole batch of objects? (Message 1 to 3 of 3)  
From: Besen
Subject: Applying a transform to a whole batch of objects?
Date: 1 Apr 2005 08:15:00
Message: <web.424d48d23095e5e0feb490460@news.povray.org>
Hi,

using the 'transform' directive, it is possible to apply a transformation to
an object, like

  object xy {
    transform { t }
  }

However, is there a way to apply a transformation to a whole bunch of
objects at once? I'm thinking of something like (pseudo code)

  group {
    object { a }
    object { b }
    transform { t }
  }

so that the specified transformation applies to objects 'a' and 'b'

thx
Besen


Post a reply to this message

From: Tom Melly
Subject: Re: Applying a transform to a whole batch of objects?
Date: 1 Apr 2005 09:00:14
Message: <424d53ee$1@news.povray.org>
"Besen" <nomail@nomail> wrote in message
news:web.424d48d23095e5e0feb490460@news.povray.org...
>
>   group {
>     object { a }
>     object { b }
>     transform { t }
>   }
>

union{
  object{a}
  object{b}
  transform{t}
}

... but methinks what you really need to do is read up on CSG in the
manual...


Post a reply to this message

From: Besen
Subject: Re: Applying a transform to a whole batch of objects?
Date: 1 Apr 2005 09:20:01
Message: <web.424d57c248655e15feb490460@news.povray.org>
"Tom Melly" <pov### [at] tomandlucouk> wrote:
> "Besen" <nomail@nomail> wrote in message
> union{
>   object{a}
>   object{b}
>   transform{t}
> }
>
> ... but methinks what you really need to do is read up on CSG in the
> manual...

Yes, that works!!! Thank you...

Besen


Post a reply to this message

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