POV-Ray : Newsgroups : povray.general : Dust Server Time
2 Aug 2024 20:20:18 EDT (-0400)
  Dust (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Zeger Knaepen
Subject: Re: Dust
Date: 7 Sep 2004 06:53:04
Message: <413d9310$1@news.povray.org>
"Vladimir" <nomail@nomail> schreef in bericht
news:web.4138694cdab9b99e302903ba0@news.povray.org...
> hi
> Zeger : could I maybe get the source code for that example you did. I have
> finally turned to the dark side and got megapov  and would quite like to
> see how you did that.

that example-image was made with MLPov 0.83, with features included in the
latest MegaPOV, but I believe the syntax has changed slightly.  But here it
is:

----
#version unofficial MLPov 0.8;
camera {
 location <3,2,-5>
 look_at 0
}
light_source {
 <500,500,-500>
 rgb 1
}
#declare Object = union {
 sphere {0,1}
 cylinder {-z*2,z*2,.25}
 box {-10,<10,-1,10>}
}

object {Object
 texture {pigment {checker scale .5}}
 texture {
  pigment {
   projection parallel Object y blur .5 50
   pigment_map {
    [0 aoi
     pigment_map {
      [0 rgbt 1]
      [.5 granite
       color_map {
        [0 rgb 1 transmit .25]
        [1 rgb 1]
       }
       scale .01
      ]
     }
    ]
    [1 rgbt 1]
   }
  }
 }
}
----

cu!
-- 
ZK AKA SaD
http://www.povplace.be.tf
"I don't take money, only girly giggles."


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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