|
![](/i/fill.gif) |
"Fractracer" <lg.### [at] gmail com> wrote:
>
> Is the gradient in this image coorect for you? For this I use gradient x pigment
> scaled in x by the length of the sphere_swep
>
> Lionel.
Help me, please!
Modify this text:
#version 3.7;
global_settings {
assumed_gamma 1.0
max_trace_level 3
}
background {rgbt<0.0509, 0.0509, 0.0509, 0>}
#declare Texture = pigment{
gradient
<1, 0, 0>
color_map {
[0 color rgbf<0,0,0,0>]
[1 color rgbf<1,1,1,0>]
}
scale <200,1,1>
}
#declare Material_001_tex =
texture {pigment {Texture}}
#declare NurbsCurve_ob =
sphere_sweep { b_spline 11, //or cubic_spline
<0.6332,1.591,-2.241>,0.024,
<1.694,1.468,-1.64>,0.024,
<2.423,1.241,-0.959>,0.024,
<2.772,0.5467,0.466>,0.024,
<1.655,-0.215,1.505>,0.024,
<-0.1772,-0.4423,1.292>,0.024,
<-1.707,-0.6573,1.161>,0.024,
<-1.5,0,0>,0.024,
<-1,-4.371e-08,-1>,0.024,
<1,-4.371e-08,-1>,0.024,
<1.5,0,0>,0.024
texture{Material_001_tex}
scale <1,1,1>
rotate <-2.504e-06,-0,0>
translate <0.000000, 0.000000, 0.000000>
}
object {NurbsCurve_ob}
light_source {
<4.08,5.9,-1.01>
color rgb<1, 1, 1>
}
camera {
location <0, 0, 0>
look_at <0, 0, -1>
right <-1.6077777759896383, 0, 0>
up <0, 1, 0>
angle 49.134343
rotate <-27.098163, 46.688390, -0.903519>
translate <7.481132, 5.343666, 6.507640>
}
Post a reply to this message
Attachments:
Download 'sphere_sweep.jpg' (13 KB)
Preview of image 'sphere_sweep.jpg'
![sphere_sweep.jpg](/povray.binaries.images/attachment/%3Cweb.52e15778a5ee4db87a3e03fe0%40news.povray.org%3E/sphere_sweep.jpg?preview=1)
|
![](/i/fill.gif) |