POV-Ray : Newsgroups : povray.binaries.images : POV logos : Re: Simple version ( image < 4KB ) Server Time
3 Oct 2024 11:15:31 EDT (-0400)
  Re: Simple version ( image < 4KB )  
From: Rune
Date: 20 Feb 2000 14:37:20
Message: <38b04270@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.