POV-Ray : Newsgroups : povray.windows : How to generate sphere and cylinder with csv file : Re: How to generate sphere and cylinder with csv file Server Time
8 Feb 2023 08:11:28 EST (-0500)
  Re: How to generate sphere and cylinder with csv file  
From: Stephen
Date: 6 Apr 2017 03:05:11
Message: <58e5e8a7$1@news.povray.org>
On 4/6/2017 7:17 AM, Jeff wrote:
> 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 ,

A box would have been better. Once you have the image in the box, the 
way you want it. Scale and translate the box. The image follows. :)

> 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. :)
>

I would use four boxes for simplicity.
I can think of a couple of ways of making one object that has four 
images stacked.
Create a mesh and uv map the images in layers.
Create a density map with the images in layers and use media.

Four boxes in a union would be the simplest and easiest way to do it.


-- 

Regards
     Stephen


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.