POV-Ray : Newsgroups : povray.unofficial.patches : how to mix two hf : how to mix two hf Server Time
6 Oct 2024 11:43:23 EDT (-0400)
  how to mix two hf  
From: Jaime Vives Piqueres
Date: 19 Aug 2001 04:49:22
Message: <3B7F7D8E.30B1066F@ignorancia.org>
Hi All:

  Perhaps I've wake up a bit dazed this sunday, but I can't figure the
solution for a problem I'm having. First, what I try to do is not usual,
or at least I never needed to do it.

  In a megapov scene, I've two internally generated hf (with pattern
image type), wich I simply unioned to get my terrain. The union looks
very nice, and I already placed, both by hand and with trace(), numerous
objects in it. So, the memory comsumption increased greatly. As these
two height_fields are *really* big, to save memory I tough on creating
only one height_field with the exact same shape as the union. But I
can't find a pattern type to do this. Average, of course, doesn't work:
I need the max of the two values, not the average... can anyone figure a
way to do this? A "maximum" pattern type would have helped a lot, but it
doesn't exists...

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

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