POV-Ray : Newsgroups : povray.general : Isosurface help : Re: Isosurface help Server Time
30 Jul 2024 08:14:54 EDT (-0400)
  Re: Isosurface help  
From: Reactor
Date: 23 Jun 2009 15:30:01
Message: <web.4a412cc6fb628f71519388640@news.povray.org>
"Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote:
> I'd like to convert the following isosurface into a height_field with a
> function, but I'm having trouble getting the effect to work.  As it is, it
> renders INCREDIBLY slowly.


Isosurfaces do that, but sometimes the speed can be improved.  The part that
caught my attention was this:

> evaluate 1.2 4, 0.7
> accuracy 0.01
> threshold -(Height1+Height2)
> contained_by { box { <-1e9, -3.0, -1e9>  <1e9, Height3, 1e9> } }
> all_intersections
> }

You didn't post the camera portion, so I can't tell whether or not this is
exactly what you want, but do you really need all intersections?  Are you using
evaluate for every render?  Once you've found a good max gradient that works,
specify it.  Is that much of the object actually in view?  If not, why does the
containing shape need to be so large?

It is hard to know what you wanted without knowing more about:
the camera - this may change the shape and size of the container shape, which
can greatly influence rendering times.
the isosurface texture - if it is partially transparent, the use of all
intersections would be important, so that you could see interior faces that
would not be visible otherwise.


> And no, a patterned texture won't do.
>
> A.D.B.

I'll take your word for it, I guess?


-Reactor


Post a reply to this message

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