POV-Ray : Newsgroups : povray.binaries.images : Does POV-Ray need a mascot? : Re: Does POV-Ray need a mascot? Server Time
19 Aug 2024 16:21:05 EDT (-0400)
  Re: Does POV-Ray need a mascot?  
From: Ken
Date: 13 Dec 2000 21:13:57
Message: <3A382DCC.3397D567@pacbell.net>
Pete wrote:

>         How did you make that floor texture?

It's an isosurface -

#declare Pigfunc = function {pigment{spiral1 1}}

#declare Funkyfloor =
isosurface {
    function {y+Pigfunc(x,-y,z)}
    threshold 0
    accuracy 0.01
    max_gradient 3.9
    contained_by {box {<-25,-4.99,-25>, < 25, 0.01, 25>}}
    texture {
        pigment {color rgb < 0.5, 0.85, 1>}
        finish {
            specular 1 roughness 0.0025 ambient .1
        }
    }
}

object { Funkyfloor translate y*-.5}

-- 
Ken Tyler


Post a reply to this message

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