|
|
hi,
"6digit" <eob### [at] gmailcom> wrote:
> ...
> good evening so i created a series of cylinders using the following code
> sphere_sweep {
> linear_spline
> 5,
> <image_width,image_height, 5>, 0.5
> <image_width, image_height, 6>, 0.5
> <image_width, image_height, 7>, 0.5
> <image_width, image_height, 8>,0.5
> <image_width, image_height, 9>,0.5
> tolerance 0.1
> scale 0.9
> //rotate<0.0169,0.5644,3.0455>
>
> }
> i want to overlay this image over the image imported to pov ray. i have 2 issues
> tho the first been
> 1. it seems the cylinders are behind the image ? how do i bring them foward in a
> way they can seen as an intergral part of the scene. secondly how do i put them
> in the x and y plane
#2 - each point is a (3-vector) sphere centre, so just place them at convenient
locations.
#1 - so much depends. you could declare the sweep, then translate it so it
moves nearer the camera, eg
#declare theSweep = sphere_sweep { ... };
...
object {theSweep translate some_pos}
regards, jr.
Post a reply to this message
|
|