POV-Ray : Newsgroups : povray.text.tutorials : Starfield Server Time
19 May 2024 16:41:01 EDT (-0400)
  Starfield (Message 1 to 2 of 2)  
From: Ron Nicholls
Subject: Starfield
Date: 7 Jun 1998 22:12:38
Message: <357B4896.6D43@ozemail.com.au>
Does anyone know how to map a starfield froms "stars.inc"
onto the sky sphere

Regards RonN


Post a reply to this message

From: JK
Subject: Re: Starfield
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.