|
|
> Stephen <mca### [at] aolcom> wrote:
>> On 4/1/2017 6:47 AM, Jeff wrote:
>>> example picture:
>>>
https://www.google.com/search?q=multi-layer+networks&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiu9YLwxoLTAhUOwGMKHdU9CTs
> Q_AU
>
>> I use a very thin box instead of a plane and an image_map.
>>
>> Or you can use a polygon. (From help file)
>>
>>
>> polygon {
>> 4,
>> <0, 0>, <0, 1>, <1, 1>, <1, 0>
>> texture {
>> finish { ambient 1 diffuse 0 }
>> pigment { image_map { gif "test.gif" } }
>> }
>> //scale and rotate as needed here
>> }
>>
>>
>> --
>>
>> Regards
>> Stephen
>
> hi, thanks for answering. however, i want the picture to be normal square that
> is adjustable in size. i try it to use the polygon , but i dont think its what i
> want to do. i want 4 same pictures stack on the top of each other with a little
> bit of distance. :)
>
#declare Base_poly = polygon{5, <0,0>,<0,1>,<1,1>,<1,0>,<0,0>}
// a featureless 4 sided polygon
union{
#declare V_Pos = 0;
#while(V_Pos<4)
object{ Base_poly translate 0.1*z}
#declare Z_Pos = Z_Pos + 1;
#end
texture{image_map{gif"test.gif"}} finish{emission 1 diffuse 0}}
// apply the texture to all polys at once
scale Your_Scale
rotate Rotation
translate Somewhere
}
Post a reply to this message
|
|