POV-Ray : Newsgroups : povray.binaries.images : Space City : Re: Space City Server Time
7 Aug 2024 13:18:23 EDT (-0400)
  Re: Space City  
From: Afishionado
Date: 17 Feb 2006 15:45:00
Message: <web.43f634fb4dca8530327f77290@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote:
> Really like that sleek spaceship design. I'll have to "borrow" it (heh heh.)
> All in under an hour? Very impressive.
>
> Ken

<shrug> I deleted all the textures in the cityscape macro and replaced them
with texture{color rgb <rand(RdmA), rand(RdmA), rand(RdmA)>}, and threw
different seed values at the macro until I liked what I got.

Spaceship code, if you want to rip it off. :-)

isosurface {
  function {sqrt(pow(x + pow(z, 2), 2) + pow(y, 2) * 2) + (-1 + pow(z, 2)) /
4}
  max_gradient 2.4
  bounded_by {box {-1 1}}

  texture {T_Chrome_5E}
  scale 100
  translate <600, 600, -400>
}

cylinder {
  0, <-1, 0, 0>, 5
  texture {
    pigment {color rgbt 1}
  }
  hollow
  interior {
    media {
      emission 1
      density {
        gradient x
        density_map {
          [0 rgb 0]
          [1 rgb 0.01]
        }
      }
    }
  }
  scale x * 200
  translate <600, 600, -400>
}

William


Post a reply to this message

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