|
|
On Wed, 02 Jul 2003 04:05:38 +0200, Oodini <svd### [at] freeFr> wrote:
> Well, suppose I want to do a solar system. All the planets are supposed
> to turn around the sun (don't care about spin), and follow it when the
> sun turns around the center of the galaxy.
> I mean thiskind of hierarchy.
Probably your question starts from misunderstanding that you can't create
object, then create orher object, then describe relation, then apply various
transformation selectively to various elements. But what are you looking for is
probably system like
#declare Earth_Globe=sphere{...};
#declare Moon_Globe=sphere{...};
#declare Earth_System=union{
object{Earth_Globe}
object{Moon_Globe transform{ ... }}
};
#declare Sun_Globe=sphere{...};
#declare Sun_System=union{
object{Sun_Globe}
object{Venus_System transform{ ... }}
object{Earth_System transform{ ... }}
object{Mars_System transform{ ... }}
}
#declare MilkyWay=union{
object{Sun_System transform{ ... }}
object{...}
}
ABX
Post a reply to this message
|
|