POV-Ray : Newsgroups : povray.general : Night Sky - Beginners Question : Re: Night Sky - Beginners Question Server Time
18 Apr 2024 22:19:12 EDT (-0400)
  Re: Night Sky - Beginners Question  
From: Bald Eagle
Date: 27 Apr 2020 15:50:00
Message: <web.5ea73699d875cfe9fb0b41570@news.povray.org>
"Jezza" <ast### [at] gmailcom> wrote:

I want a small fixed size point of light for each coordinate star, that I
> can vary the brightness of (to mimic the abs mag of the star), and also the
> colour of each.


Well, unlike reality, where you can have things which are very VERY bright - any
render that you make will have a color value ranging from rgb <0,0,0> to rgb
<1,1,1> - and that's it.

So I'd say define a way to convert from abs magnitude or apparent brightness to
a grayscale value, and then just vary the r, g, and b values to give the color
that you want.

The angular size of something is what you want - so you don't need to model an
actual size star at the actual distance - you can divide all of that by a
billion light-years and [visually] get the same thing.

So you can just figure out where you want things and what color you want them to
be.   If you have an rgb value of <R, G, B>, you can just multiply it by
something to vary its intensity.  So <R, G, B>*M .

So I'd say just model your scene, don't worry about the fine details, and then
adjust the color and intensity after it's made.


Post a reply to this message

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