POV-Ray : Newsgroups : povray.unofficial.patches : Suggestions for MegaPov : Re: Suggestions for MegaPov Server Time
2 Nov 2024 05:19:55 EDT (-0400)
  Re: Suggestions for MegaPov  
From: Chris Huff
Date: 15 Feb 2000 07:00:45
Message: <chrishuff_99-FCA532.07015515022000@news.povray.org>
In article <38a8f1c8@news.povray.org>, "Bob Hughes" 
<per### [at] aolcom?subject=PoV-News:> wrote:

> "Pabs" <pab### [at] hotmailcom> wrote in message
> news:38A8D08B.BF35F77E@hotmail.com...
> | For height feilds would it be possible to use bicubic patches to smooth
> | it out esp for low res ( spatial & colour ) height feilds in the
> | foreground of an image
> 
> Guess that would take a rewrite of the height_field.

It could be done with a macro, using eval_pattern(), eval_pigment(), or 
trace() to calculate the height for each point. You might not get the 
memory advantages of a height field(*)...but that wouldn't be a problem 
if there is only one of them in a scene.

(*)Another idea, make bicubic patches act like meshes, so pointers to 
the patch are used instead of copies. Or maybe a "store_references" 
aspect for all objects, which controls the way they are copied. Maybe 
for POV-4.0?(It might be too difficult/ugly to implement in the current 
C source, but should be quite easy in C++)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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