|
|
Completly newbe, i used that :
#include "colors.inc"
background{White}
camera {
angle 15
location <0,2,-10>
look_at <0,0,0>
}
light_source { <10, 20, -10> color White }
cylinder {
<-1000,-1000,-1000>, // starting point
<1000,1000,1000>, // ending point
0.002 // radius
pigment { rgb 0.1 } // white
}
it is working, i have a line, but, in fact i am not satisfied, because i
need the line x=y=z to show only certain points of it with and & function,
for exemple i need to see point of space where x=y=z and x is even and x
different of x * 10 ;o)
> Well, the cylinder that I described is:
>
> cylinder {
> <-100,-100,-100>, // starting point
> <100,100,100>, // ending point
> 0.1 // radius
>
> pigment {rgb 1} // white
> }
>
> You'll also need a light source and a camera.
>
> If this is new to you, then I strongly suggest you read the tutorials that
> come with POV-Ray. Start by clicking on the button in POV-Ray that says
> "Scene", which will bring you to the help files.
>
> - Slime
> [ http://www.slimeland.com/ ]
>
>
Post a reply to this message
|
|
|
|
1ternaut <ded### [at] sparkwirecom> wrote:
> it is working, i have a line, but, in fact i am not satisfied, because i
> need the line x=y=z to show only certain points
A point is infinitely small (and a line is infinitely thin as well)
so what you are asking is impossible.
You can, however, *approximate* what you want by using eg. spheres or
cylinders.
What you probably want is to create a loop where you create spheres
along the line in the places you want.
The POV-Ray documentation has some tutorials on making loops and other
things. You should check it.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|