|
![](/i/fill.gif) |
"wap### [at] hotmail com" <wap### [at] hotmail com> wrote:
> But I would like the box to be an inc file and then call it in the code
> like this:
>
> -code-
> #include "box.inc"
> object{ box }
> -/code-
>
> How can I do this?
Hi,
#declare mytest =
union {
#include "temp/object0.pov"
}
object {
mytest
rotate < 0 , 0 , 0 >
translate < 0 , 0 , 0 >
scale < 1 , 1 , 1 >
}
This throws out a warning, because the union consists of just 1 object, but
it renders.
I have to search in the documentation for the correct way, if you find
something before me, please post your result :)
Greets, Mark
Post a reply to this message
|
![](/i/fill.gif) |