|
|
Hello
I'm trying to experiment with including bimaps.
I've used the following code but get the message
parse error cannot open png file.
The file renders correctly if I put a simple pigment instead of the texture.
What am I doing wrong?
#declare panel= prism {
linear_sweep
linear_spline
0, // sweep the following shape from here ...
0.01, // ... up through here
4, // the number of points making up the shape ...
<0,0>, <2,0>, <2,2>, <0,2>
texture {
pigment{ image_map { png "/noddy2.png" }
}
rotate<-90,0,0>
translate<0,6,0>
scale 0.5
}
Post a reply to this message
|
|