|
![](/i/fill.gif) |
I have to write it like this then... makes it a bit more difficult, but
thanks a lot..
well... I use an include file, so I just added the finish in the mail
manually without test rendering.. that's why the last } weren't there :)
#declare Test = 1;
#if (Test)
#declare screen_text = texture {pigment {White}}
#else
#declare screen_text = texture {Plastic_White}
#end
camera{
location <20,60,-50>
look_at <20,22,0>
}
light_source{<20,50,-100> White}
box{<0,6,0>,<40,44,6> texture{screen_text}}
#if (Test)
prism{linear_spline 6,44,4 <0,0>,<40,0>,<20,-1.5>,<0,0> texture
{screen_text}}
#else
prism{cubic_spline 6,44,6 <0,0>,<0,0>,<40,0>,<20,-1.5>,<0,0>,<0,0> texture
{screen_text}}
#end
Post a reply to this message
|
![](/i/fill.gif) |