POV-Ray : Newsgroups : povray.general : moving include objecs : Re: moving include objecs Server Time
4 Aug 2024 12:20:22 EDT (-0400)
  Re: moving include objecs  
From: ABX
Date: 9 May 2003 02:58:29
Message: <a4kmbv4dgr2694g2f3ooeinl08ov8is1kf@4ax.com>
On Fri, 9 May 2003 16:28:35 +1000, "Alex McMurray" <ale### [at] melbpcorgau>
wrote:
> From a tutorial, I believe this is the way to move include objects

Which tutorial ?

>in the main pov file I have.
>
>                #include "nextfile.pov"
>
>later I use
>
>                object {nextfile
>                     translate <x, y, z>
>                }

If nextfile.pov contains only object definition you can assign its content to
some identifier. In particular to nextfile.

#declare nextfile=object{ #include "nextfile.pov" }

BTW: Your question fits perfectly to povray.newusers group.

ABX


Post a reply to this message

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