
Rotated Torus (Without the Blob)
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
QwertV2
14 years ago
thanks for the sources ;)
Report
ianegg
15 years ago
0:00:00 Parsing
File: torus.pov Line: 20
Parse Warning: Should have at least 2 objects in csg.
File: torus.pov Line: 20
Parse Warning: Degenerate CSG bounding box (not used!).
File: torus.pov Line: 32
File Context (5 lines):
specular 1
reflection {
rgb
}
Parse Error: Expected 'numeric expression', } found instead
Report
djfleg
15 years ago
Here is the right one:
I rendered it with:
povray +Iinput.pov +Oout.png +v +W1024 +H768 +A0.001 +R9 +J0.0 +Q9
==CUT==
#declare Torus=torus {
1, 0.1
}
#macro T(X,Y)
#declare Start=X;
#declare End=Y+1;
#while(Start < End)
torus {
1+(0.2*Start), 0.1+(0.007*Start)
rotate z*(-10*Start)
}
#declare Start=Start+1;
#end
#end
union {
T(1,100)
finish {
phong 1
metallic 1
specular 1
reflection {
rgb
}
}
interior {
ior 1.5
}
pigment {
color rgbf
}
no_shadow
}
global_settings {
adc_bailout 0.0039216
assumed_gamma 1.5
noise_generator 1
}
sky_sphere {
pigment {
wrinkles
color_map {
[ 0 color rgb
]
[ 0.5 color rgb
]
[ 1 color rgb
]
}
}
}
light_source {
, rgb
}
plane {
, 0
finish {
}
pigment {
wrinkles
color_map {
[ 0 color rgb
]
[ 0.5 color rgb
]
[ 1 color rgb
]
}
}
scale 1
rotate
translate y*(-30)
}
camera {
perspective
location
sky
direction
right
up
look_at
angle 100
}
==CUT==
Report
djfleg
15 years ago
I rendered it with:
povray +Iinput.pov +Oout.png +v +W1024 +H768 +A0.001 +R9 +J0.0 +Q9
=CUT=
#declare Torus=torus {
1, 0.1
}
#macro T(X,Y)
#declare Start=X;
#declare End=Y+1;
#while(Start < End)
torus {
1+(0.2*Start), 0.1+(0.007*Start)
rotate z*(-10*Start)
}
#declare Start=Start+1;
#end
#end
union {
}
union {
T(1,100)
finish {
phong 1
metallic 1
specular 1
reflection {
rgb
}
}
interior {
ior 1.5
}
pigment {
color rgbf
}
no_shadow
}
global_settings {
adc_bailout 0.0039216
assumed_gamma 1.5
noise_generator 1
}
sky_sphere {
pigment {
wrinkles
color_map {
[ 0 color rgb
]
[ 0.5 color rgb
]
[ 1 color rgb
]
}
}
}
light_source {
, rgb
}
plane {
, 0
finish {
}
pigment {
wrinkles
color_map {
[ 0 color rgb
]
[ 0.5 color rgb
]
[ 1 color rgb
]
}
}
scale 1
rotate
translate y*(-30)
}
camera {
perspective
location
sky
direction
right
up
look_at
angle 100
}
=CUT=
Report
ianegg
15 years ago
Report