|
![](/i/fill.gif) |
I can't get thit to work... anyone know why??
I get an error : RValue to declare expected but cubic_spline found instead.
But why does it pass linear_spline? This works if you #declare font names..
why not this? I'm trying to make some system for making test renderings
easy. I'm not very good at povray, so I would appreciate a easy to
understand answer, not that I usually don't get it.. Thanks!
Btw.. anyone got a nice plastic finish? Like the one on computers.
#include "colors.inc"
#declare Test = 0;
#if (Test)
#declare screen_text = texture {pigment {White}}
#declare Spline = linear_spline;
#else
#declare screen_text = texture {pigment {White} finish {diffuse 0.3
reflection 0.3 specular 0.7}
#declare Spline = cubic_spline;
#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}}
prism{Spline 6,44,6 <0,0>,<0,0>,<40,0>,<20,-1.5>,<0,0>,<0,0> texture
{screen_text}}
Post a reply to this message
|
![](/i/fill.gif) |