POV-Ray : Newsgroups : povray.general : joining objects for latter manipulation : joining objects for latter manipulation Server Time
1 Aug 2024 18:28:54 EDT (-0400)
  joining objects for latter manipulation  
From: Andrej
Date: 15 Jun 2005 10:22:49
Message: <42b039b9$1@news.povray.org>
I would like to join spheres into a single object for easier manipulation 
(rotation for example):


OBJECT {BALLS =
{
 #declare Count=0;
 #while (Count < 5)
  sphere { <(-2+Count), Count, Count>, 1
   pigment {  color rgb <0.4 0.8 0.8>}
  }
  #declare Count=Count+1;
 #end
}
}; ROTATE BALLS <0 90 45>


Post a reply to this message

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