POV-Ray : Newsgroups : povray.windows : Trouble making lighted windows : Re: Trouble making lighted windows Server Time
6 Oct 2024 03:17:36 EDT (-0400)
  Re: Trouble making lighted windows  
From: Geoff Wedig
Date: 19 Feb 2001 08:00:56
Message: <3a911908@news.povray.org>
Alan Kong <ako### [at] povrayno-spamorg> wrote:

> On Sun, 18 Feb 2001 11:24:02 -0500 MPunk3 wrote:

>>Try making flat little boxes with a high ambient setting and white color.
>>They will render bright-white regardless of how much light hits them. Also
>>this way you don't end up with hundreds of light sources so it should render
>>pretty fast.

>   On a similar note, if the command deck is round like the Discovery
> spacecraft from "2001: A Space Odyssey", you can use a white sphere with
> high ambient that is scaled slightly smaller than the outside of the
> command deck. This eliminates the need to make individual bright pieces
> that fit each window opening.

A different way that I've used with some success is to create a window grid
texture.  This is a texture where a color map is used to create lit and
unlit parts.  Using a variable pattern scaled up, you can even get that
light and dark windows effect.

If you want to see an example of this, you can check out my recently posted
animation of a space ship.  Only certain parts of the object used this
texture, and the texture was specially modified to allow the windows to
close.

I do not recommend cutting many many holes in your ship, though.  I've found
that lots of differencing can slow things down a great deal.

Geoff


Post a reply to this message

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