POV-Ray : Newsgroups : povray.text.tutorials : Starfield : Re: Starfield Server Time
2 Jun 2024 12:51:20 EDT (-0400)
  Re: Starfield  
From: JK
Date: 26 Aug 1998 06:22:37
Message: <35E3D2C6.FB1144AB@hotmail.com>
Ron Nicholls wrote:

> Does anyone know how to map a starfield froms "stars.inc"
> onto the sky sphere
>
> Regards RonN

  The strange thing (or maybe useful as well) is that 'stars.inc'
includes textures and not pigment statement. You can't use textures on a
sky sphere, only pigments (several layers).
so don't use
sky_sphere{texture{ blabla }}, but use sky_sphere{pigment{blabla}}.
The starfield textures can be used on regular objects, though.
If you want to use, for example, Starfield1 as a "texture" on a
sky_sphere, open the inc file and copy the pigment statement to your pov
file (or some other inc). Then you can insert this into your sky_sphere
statement and... tada, there the stars are.
I hope this is what you were looking for.

JK
--
http://surf.to/jkhome


Post a reply to this message

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