POV-Ray : Newsgroups : povray.pov4.discussion.general : Curly braces replaced by indentations but only as an option ? : Re: Curly braces replaced by indentations but only as an option ? Server Time
30 Mar 2025 23:22:11 EDT (-0400)
  Re: Curly braces replaced by indentations but only as an option ?  
From: ingo
Date: 22 Mar 2025 09:25:00
Message: <web.67deb9437e3c5a9917bac71e8ffb8ce3@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> Ah, and this is why if we could just have a Point *object*, then we could union
> that with an object and transform everything at once.  Inverse is already
> implemented.

Just as an idea,

#declare Thing = object{
  local_centre = <1,1,1>
  sphere{
   <2,2,2>, 1
   rotate <20,70, 3> #rotates around the origin
  }
  sphere{
    <0,0,0>, 1
    rotate_local <20,70,3> #rotates around the local_centre
  }
  rotate <33,33,3>
  rotate_local <-45,90,22>
}

global and local axis.

ingo


Post a reply to this message

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