|
|
On 07/12/2014 09:41, Thomas de Groot wrote:
> Close, but not quite. Look at image: the torus is not complete.
>
> Thomas
>
Yep, you are right, it's wrapping the media around the torus, not what
you expected.
So, I'm calling the hgpovray branch to the rescue.
http://wiki.povray.org/content/User:Le_Forgeron#torus
The inverse of the minor radius/scale is used as parameter.
box { -1.5,1.5 hollow material { texture { pigment {rgbf 1} finish {
ambient 0 diffuse 0 } } interior { media { emission 0.3 samples 40,40
intervals
40 method 2 density { cylindrical color_map
{ [0, rgb 0]
[0, rgb <0.5,0.5,0.4>]
[1, rgb <1,0,0>] }
warp { torus <0,0,0>, 1, <7/4,1,0>
} } } } }
}
--
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))
Post a reply to this message
Attachments:
Download 'tm.png' (100 KB)
Preview of image 'tm.png'
|
|