POV-Ray : Newsgroups : povray.binaries.images : 2,296 grains : Re: 2,296 grains Server Time
18 May 2024 10:50:56 EDT (-0400)
  Re: 2,296 grains  
From: Trevor G Quayle
Date: 7 Apr 2011 21:45:00
Message: <web.4d9e67ec6e76f0aab05ef170@news.povray.org>
> > Sorry, perhaps it was paraboloid, it's been a while and I didn't look it up
> > first...
> >
> > Odd , I can't find anything that relates the relationship so simply anymore at
> > present.  As you said, all the descriptions seem very complex to parse and
> > figure out the exact meaning.
>
> Yeah. Authors of such articles seem to only touch upon construction
> methods... What is the parabola exactly? A dense point curve or a pure
> function?

Pure function: f(y)= x^2 + z^2

> > I actually had set up some simple
> > mathematics to calculate this and display as a graph in excel at the time and it
> > seemed to work.
>
> Wow, Excel uses Visual Basic, right? How did you view it? I always
> thought Excel's VB support was crudimentary, at best.
>

No, I did it the difficult way: direct calculation of intersectiong lines then
intersecting points, then used the general x-y graphing to display it.  A lot of
maths, that's why I only did it for a few points (3 or 4 I think it was)

> > An interseting approach in POV would be to construct it directly in POV.  You
> > could take an array of each point and calculate the tangent plane for each
> > point, then create it as a plane object.  Give each plane a slightly different
> > colour value then do a simple intersection operation and view using orthographic
> > camera.  Using direct RGB values, you could theoretically create one for up to
> > 16,777,216 (256^3) points (could probably do higher with HDR file type).  Of
> > course this would be only valid for a 2D set, and I'm not sure how render time
> > would be...  Perhaps it's time to test this out.
>
> Dude, if you can do /that/, then you've made a full-POV-SDL
> implementation of Voronoi cell computation. It may not be the fastest
> way to go about it, but it's a step in the right direction.

It is only for a 2D array...  The easiest way would be to get an image based on
it, from there it would be trying to convert that directly to a function or some
way to evaluate directly.


-tgq


Post a reply to this message

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