POV-Ray : Newsgroups : povray.binaries.images : Objects As Isosurfaces #2 Server Time
31 Jul 2024 16:22:36 EDT (-0400)
  Objects As Isosurfaces #2 (Message 1 to 10 of 18)  
Goto Latest 10 Messages Next 8 Messages >>>
From: William Pokorny
Subject: Objects As Isosurfaces #2
Date: 14 Sep 2009 07:15:01
Message: <web.4aae25502131dde415ee2c550@news.povray.org>
Here the ObjectAsIso.inc technique, but as a code patch to object_pattern. This
image is Bill Pragnell's archimedean_solids.inc from the POVRay object library.
The meshes are treated as isosurfaces.


Post a reply to this message


Attachments:
Download 'archimedean_example.jpg' (36 KB)

Preview of image 'archimedean_example.jpg'
archimedean_example.jpg


 

From: Paolo Gibellini
Subject: Re: Objects As Isosurfaces #2
Date: 15 Sep 2009 08:26:30
Message: <4aaf87f6$1@news.povray.org>
>William Pokorny  on date 14/09/2009 13:13 wrote:
> Here the ObjectAsIso.inc technique, but as a code patch to object_pattern. This
> image is Bill Pragnell's archimedean_solids.inc from the POVRay object library.
> The meshes are treated as isosurfaces.
> 
> 
> ------------------------------------------------------------------------
> 
Interesting technique: the surface seems like hand made paper.
;-)
Paolo


Post a reply to this message

From: William Pokorny
Subject: Re: Objects As Isosurfaces #2
Date: 16 Sep 2009 08:35:01
Message: <web.4ab0dac0dbac571815ee2c550@news.povray.org>
Thank you Paolo, though I have to admit I was not aiming at any particular
effect, but rather I was testing the object to isosurface patch. I had time to
run another test last night - no idea what it is, but, dang, isosurfaces are
cool!

The csg objects are on top, and the isosurfaces with some turbulence and a
little noise on the bottom.

Bill

Paolo Gibellini <p.g### [at] gmailcom> wrote:
> >William Pokorny  on date 14/09/2009 13:13 wrote:
> > Here the ObjectAsIso.inc technique, but as a code patch to object_pattern. This
> > image is Bill Pragnell's archimedean_solids.inc from the POVRay object library.
> > The meshes are treated as isosurfaces.
> >
> >
> > ------------------------------------------------------------------------
> >
> Interesting technique: the surface seems like hand made paper.
> ;-)
> Paolo


Post a reply to this message


Attachments:
Download 'ex2csgtoiso.jpg' (114 KB)

Preview of image 'ex2csgtoiso.jpg'
ex2csgtoiso.jpg


 

From: Paolo Gibellini
Subject: Re: Objects As Isosurfaces #2
Date: 16 Sep 2009 11:29:47
Message: <4ab1046b@news.povray.org>
Even more interesting.
A way to deformate CSG objects.
Paolo

 >William Pokorny  on date 16/09/2009 14:33 wrote:
> Thank you Paolo, though I have to admit I was not aiming at any particular
> effect, but rather I was testing the object to isosurface patch. I had time to
> run another test last night - no idea what it is, but, dang, isosurfaces are
> cool!
> 
> The csg objects are on top, and the isosurfaces with some turbulence and a
> little noise on the bottom.
> 
> Bill
> 
> Paolo Gibellini <p.g### [at] gmailcom> wrote:
>>> William Pokorny  on date 14/09/2009 13:13 wrote:
>>> Here the ObjectAsIso.inc technique, but as a code patch to object_pattern. This
>>> image is Bill Pragnell's archimedean_solids.inc from the POVRay object library.
>>> The meshes are treated as isosurfaces.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>> Interesting technique: the surface seems like hand made paper.
>> ;-)
>> Paolo
> 
> 
> 
> ------------------------------------------------------------------------
>


Post a reply to this message

From: Robert McGregor
Subject: Re: Objects As Isosurfaces #2
Date: 16 Sep 2009 22:35:00
Message: <web.4ab19fe9dbac57184726e92b0@news.povray.org>
"William Pokorny" <pokorny_epix_net> wrote:
> Thank you Paolo, though I have to admit I was not aiming at any particular
> effect, but rather I was testing the object to isosurface patch. I had time to
> run another test last night - no idea what it is, but, dang, isosurfaces are
> cool!
>
> The csg objects are on top, and the isosurfaces with some turbulence and a
> little noise on the bottom.
>
> Bill

This looks really cool Bill, but I must've missed something - I've never heard
of ObjectToIso.inc - where's that available? I'm assuming it's a set of SDL
macros that you've ported to C++ in a 3.7 beta patch, is that right?

Cheers,
Rob


Post a reply to this message

From: William Pokorny
Subject: Re: Objects As Isosurfaces #2
Date: 17 Sep 2009 08:55:01
Message: <web.4ab22fdadbac571815ee2c550@news.povray.org>
Hi Rob,
I posted the ObjectToIso.inc file to the binary scene-files group a few days
ago, along with some example scenes. Perhaps I put it in the wrong place? The
technique in the SDL file is the same as the C++ one except much slower, so I
normally use the C++ patch of it.

By the way, I ran the Lucy mesh2 you provided with this technique - a nice test
- thank you. It ran in around 3 hours or so, no AA, single light source, but
with some gradient issues and I have never gone back to it.

It seems large meshes run as fast as even a relatively small collection of CSG
objects used as a single isosurface collection of equations.

I believe the reason is, throwing all the CSG objects into equations in the
isosurface defeats the very fast search mechanisms for objects that would
normally get used. It seems at least part of the fast searching on meshes is
still available to POVRay. Oddly this effect has me wondering about converting
large CSG count objects into single mesh2 objects on the fly...

It is in large part these new processors and POVRay's SMP implementation that
make the idea of using isosurfaces in this way something now doable. My longest
render thus far was the one of Bill Pragnell's archimedean solids. On an i7 920,
it came in at just under 4 hours using area lights, radiosity and AA. Though
this technique is very expensive, that kind of elapsed render time is workable.
This render would have been 30 hours plus on a single processor thread.

I believe too we have good room for improvements here, perhaps we'll figure
out how to go at this idea in better ways. I am myself still very much getting a
feel for it.

Regards, Bill

"Robert McGregor" <rob### [at] mcgregorfineartcom> wrote:
> "William Pokorny" <pokorny_epix_net> wrote:
> > Thank you Paolo, though I have to admit I was not aiming at any particular
> > effect, but rather I was testing the object to isosurface patch. I had time to
> > run another test last night - no idea what it is, but, dang, isosurfaces are
> > cool!
> >
> > The csg objects are on top, and the isosurfaces with some turbulence and a
> > little noise on the bottom.
> >
> > Bill
>
> This looks really cool Bill, but I must've missed something - I've never heard
> of ObjectToIso.inc - where's that available? I'm assuming it's a set of SDL
> macros that you've ported to C++ in a 3.7 beta patch, is that right?
>
> Cheers,
> Rob


Post a reply to this message

From: clipka
Subject: Re: Objects As Isosurfaces #2
Date: 17 Sep 2009 08:56:07
Message: <4ab231e7$1@news.povray.org>
Robert McGregor schrieb:
> This looks really cool Bill, but I must've missed something - I've never heard
> of ObjectToIso.inc - where's that available? I'm assuming it's a set of SDL
> macros that you've ported to C++ in a 3.7 beta patch, is that right?

Check out p.b.scene-files, it was recently posted there.

Appears to be pure good old SDL code.


Post a reply to this message

From: Stephen
Subject: Re: Objects As Isosurfaces #2
Date: 17 Sep 2009 13:25:12
Message: <t2s4b5l6mm91i7p9enh8jj496gp103utit@4ax.com>
On Thu, 17 Sep 2009 08:50:05 EDT, "William Pokorny" <pokorny_epix_net> wrote:

>Oddly this effect has me wondering about converting
>large CSG count objects into single mesh2 objects on the fly...

If you were going to do that then I imagine that there would be a few people (me
for one) who would like a stand alone utility to convert CSG objects to meshes.
Hint ;)
-- 

Regards
     Stephen


Post a reply to this message

From: William Pokorny
Subject: Re: Objects As Isosurfaces #2
Date: 17 Sep 2009 14:35:00
Message: <web.4ab2811adbac571815ee2c550@news.povray.org>
Hi Stephen,
Not a utility by any stretch, but there might be a path for what you want.

Mike Williams's isosurface tutorial has a mention of a mesh approximation macro.
"Kevin Loney has produced an include file which produces a mesh object that
approximates an isosurface." Unfortunately the link is dead so unsure where to
get a current version of it.

If that exists somewhere, suppose we use ObjectAsIso.inc to turn the CSG into an
isosurface and then this mesh approximation macro to turn that isosurface into a
mesh?

Regards, Bill

Stephen <mcavoysAT@aolDOTcom> wrote:
> On Thu, 17 Sep 2009 08:50:05 EDT, "William Pokorny" <pokorny_epix_net> wrote:
>
> >Oddly this effect has me wondering about converting
> >large CSG count objects into single mesh2 objects on the fly...
>
> If you were going to do that then I imagine that there would be a few people (me
> for one) who would like a stand alone utility to convert CSG objects to meshes.
> Hint ;)
> --
>
> Regards
>      Stephen


Post a reply to this message

From: Stephen
Subject: Re: Objects As Isosurfaces #2
Date: 17 Sep 2009 17:47:26
Message: <7hb5b5545tuiq4q9ek8jbs2rnessa6cf78@4ax.com>
On Thu, 17 Sep 2009 14:34:02 EDT, "William Pokorny" <pokorny_epix_net> wrote:

>Hi Stephen,
>Not a utility by any stretch, but there might be a path for what you want.
>
>Mike Williams's isosurface tutorial has a mention of a mesh approximation macro.
>"Kevin Loney has produced an include file which produces a mesh object that
>approximates an isosurface." Unfortunately the link is dead so unsure where to
>get a current version of it.
>
>If that exists somewhere, suppose we use ObjectAsIso.inc to turn the CSG into an
>isosurface and then this mesh approximation macro to turn that isosurface into a
>mesh?
>
>Regards, Bill
>

Thanks Bill
It is some where to start. I'll have a look and maybe a go :)
-- 

Regards
     Stephen


Post a reply to this message

Goto Latest 10 Messages Next 8 Messages >>>

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