|
 |
Bill DeWitt wrote:
> So where is the simple, compact scene code
> that we can add to our images if we want to...?
Here's a macro that generates the logo:
#macro povlogo(R)
union {
torus {2, R rotate 90*x}
torus {1, R rotate 90*x translate y}
cylinder {-2*y, +2*y, R}
cylinder {0, sqrt(8)*y, R rotate +degrees(atan2(1/sqrt(8),1))*z
translate -2*y}
cylinder {0, sqrt(8)*y, R rotate -degrees(atan2(1/sqrt(8),1))*z
translate -2*y}
}
#end
Add this and you will get the simple image I posted:
object {
povlogo(0.1)
pigment {color 0}
translate 5*z
}
background {color rgb 1}
Greetings,
Rune
---
Updated January 24: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!
Post a reply to this message
|
 |