POV-Ray : Newsgroups : povray.general : Stars... : Re: Stars... Server Time
2 Aug 2024 08:17:34 EDT (-0400)
  Re: Stars...  
From: Mark Ulrich
Date: 23 Nov 2004 20:50:01
Message: <web.41a3e8ab688aa7e297161a780@news.povray.org>
Andrey Skvortsov <sti### [at] yahooca> wrote:

> I'd also be happy to have a good star texture. Unfortunately AA kills
> all the stars with granite pattern method. I don't know any other way.


Hello,

this image
http://bilder24.parsimony.net/forum54930/bilder/dorf06.jpg

was rendered using the following star-texture.
It is part of terraform (http://terraform.sf.net)


Greets, Mark (http://povfront.sf.net)


// Copyright (c) 2002 Raymond Ostertag
// Generated with Truevision
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//

#declare stars_pigment =
pigment {
  granite
  color_map {
         [ 0.000000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.270000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.271000
rgbft<0.500000,0.500000,0.400000,0.000000,stars_transmit> ]
         [ 0.285000
rgbft<0.800000,0.800000,0.400000,0.000000,stars_transmit> ]
         [ 0.286000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.470000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.471000
rgbft<0.400000,0.400000,0.500000,0.000000,stars_transmit> ]
         [ 0.485000
rgbft<0.400000,0.400000,0.800000,0.000000,stars_transmit> ]
         [ 0.486000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.680000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.681000
rgbft<0.500000,0.400000,0.400000,0.000000,stars_transmit> ]
         [ 0.695000
rgbft<0.800000,0.400000,0.400000,0.000000,stars_transmit> ]
         [ 0.696000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.880000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 0.881000
rgbft<0.500000,0.500000,0.500000,0.000000,stars_transmit> ]
         [ 0.895000
rgbft<1.000000,1.000000,1.000000,0.000000,stars_transmit> ]
         [ 0.896000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
         [ 1.000000 rgbft<0.000000,0.000000,0.000000,0.000000,1.000000> ]
   }
   frequency 1.000000 phase 0.000000 sine_wave
   turbulence <1.000000,1.000000,1.000000>
   octaves 6
   lambda 2.000000
   omega 0.500000
   translate <0.000000,0.000000,0.000000>
   scale <0.500000,0.500000,0.500000>
   rotate <0.000000,0.000000,0.000000>
}


Post a reply to this message

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