POV-Ray : Newsgroups : povray.binaries.images : Stars of the night sky : Re: Stars of the night sky Server Time
30 Jul 2024 18:12:24 EDT (-0400)
  Re: Stars of the night sky  
From: Cousin Ricky
Date: 24 Dec 2011 22:05:01
Message: <web.4ef68aa5a6a67a4085de7b680@news.povray.org>
Ger <No.### [at] ThankYou> wrote:
> I'm wondering how you calculated the color/brightness/size of the stars.

The BSC4 contains magnitude and color index data.  The color index, or B-V, is
the difference in magnitudes through different colored filters.

The color was reconstructed by mapping the B-V to a temperature, which was then
converted to a black body color.  All credit for the black body calculation goes
to Ive.  See the thread "NOMAD test--the Pleiades" for more information about
the B-V mapping.

The brightness was a straightforward magnitude-to-linear conversion:
   (100^0.2)^(-magnitude) * an arbitrary constant
I then subtracted an extinction constant, as noted.

The "size" of the stars in the image is a proxy for brightness, to compensate
for the low dynamic range of the visual medium.  It is the outcome of the
falloff function I used for the media containers.


Post a reply to this message

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