POV-Ray : Newsgroups : povray.beta-test : POV-Ray Voodoo: Media and Texture Maps : POV-Ray Voodoo: Media and Texture Maps Server Time
7 Jul 2024 05:25:08 EDT (-0400)
  POV-Ray Voodoo: Media and Texture Maps  
From: clipka
Date: 16 Jul 2009 19:05:01
Message: <web.4a5fb154ee852244579432980@news.povray.org>
Fresh from the tome of POV-Ray Voodoo:

Beware when mixing media with complex textures using texture_map: It will slow
down rendering in an unexpected fashion!

I just found in the POV 3.7 code that media is computed *per component* in such
a case; so if for instance you try to average three textures using the "average
texture_map" construct, it will result in media effects being computed *thrice*
for any ray travelling towards that surface.

(Layered textures are safe in this respect, and so are all patterns that
strictly choose between one of multiple textures, like checker or hexagonal.)

Don't know if it has already been this way in 3.6, but in any case this asks for
a change...


Post a reply to this message

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