POV-Ray : Newsgroups : povray.advanced-users : Controlling density : Re: Controlling density Server Time
31 Oct 2024 19:35:57 EDT (-0400)
  Re: Controlling density  
From: posfan12
Date: 13 Oct 2013 07:05:00
Message: <web.525a7de3e6c9a291b9c369c00@news.povray.org>
Wouldn't it be better to define a new function instead of messing with the
color/density maps?

Something like this maybe (I'm still working on the ringworld project):

density
{
 function {1-f_cylindrical(x,y,z)}
}

But how would I rewrite the function for my scene if:

1. the radius of the habitat ring is equal to "ring_radius" and the height of
the atmosphere is equal to "atmosphere_height"
2. the atmosphere should have 0 density at the top and some arbitrary low value
like 10% at the ring surface.


Post a reply to this message

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