POV-Ray : Newsgroups : povray.general : clone/duplicate of a union : clone/duplicate of a union Server Time
20 Apr 2024 02:39:18 EDT (-0400)
  clone/duplicate of a union  
From: Kima
Date: 25 May 2018 08:20:01
Message: <web.5b07fe921258309a3ce674f0@news.povray.org>
It is probably a ridiculous question, but imagine we have created a union as

#declare obj_u1 =
    union {
        obj1
        obj2
    }

how can we create clones of obj_u1 and apply different transformations?

For example, how can we transform three independent copies of obj_u1 as

translate obj_u1
scale obj_u1
rotate obj_u1


Post a reply to this message

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