POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface+pigment...surface imperfections Server Time
2 Sep 2024 18:18:54 EDT (-0400)
  Isosurface+pigment...surface imperfections (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: SamuelT 
Subject: Isosurface+pigment...surface imperfections
Date: 31 Jul 1999 16:30:29
Message: <37A35DA0.AFD2CFED@aol.com>
I have been fooling around with the new pigment add-on to the
isosurface. It is very cool that we have this new ability for making
more complex shapes. But... I can't get my surfaces perfectly smooth. I
get darned close however.

Here is what I normally use in the isosurface statement to get maximum
smoothness from the isosurface (I only put these things in when using
the pigment feature):

accuracy .015
method 2
max_gradient 10

Tweaking the accuracy one way or another from it's current position will
either make the surface choppy, or make a lot of black pixels appear.
Changing the method has no perceived effects, except for render time. I
can safely keep the max_gradient around 5 for most objects, but 10 is
safe. Max_gradient only seems to fill in large holes that appear in the
isosurface.

So, I have a couple questions in light of all this: can the program's
code be altered to make the surface of these objects smoother? What can
I do to the isosurface statement to get the results I want? I'm not a
c++ programmer(I can barely program basic).

I would be very gratful if somebody has any answers to my questions.

Thank you,
  Samuel Benge


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Bob Hughes
Subject: Re: Isosurface+pigment...surface imperfections
Date: 31 Jul 1999 17:38:54
Message: <37a36cee@news.povray.org>
If you notice that when using image_map pigments the 'interpolate' makes
a big difference. Seems 2 is best to me, not 4. The isosurface probably
uses a similar convention itself rather than straight procedural
pigment. If it did it would obviously have no noticeable artifacts, or
so I would think. Perhaps there is a resolution limitation then? Based
upon the 1 POV unit square a pigment is usually confined to?


"SamuelT." wrote:
> 
> I have been fooling around with the new pigment add-on to the
> isosurface. It is very cool that we have this new ability for making
> more complex shapes. But... I can't get my surfaces perfectly smooth. I
> get darned close however.
> 
> Here is what I normally use in the isosurface statement to get maximum
> smoothness from the isosurface (I only put these things in when using
> the pigment feature):
> 
> accuracy .015
> method 2
> max_gradient 10
> 
> Tweaking the accuracy one way or another from it's current position will
> either make the surface choppy, or make a lot of black pixels appear.
> Changing the method has no perceived effects, except for render time. I
> can safely keep the max_gradient around 5 for most objects, but 10 is
> safe. Max_gradient only seems to fill in large holes that appear in the
> isosurface.
> 
> So, I have a couple questions in light of all this: can the program's
> code be altered to make the surface of these objects smoother? What can
> I do to the isosurface statement to get the results I want? I'm not a
> c++ programmer(I can barely program basic).
> 
> I would be very gratful if somebody has any answers to my questions.
> 
> Thank you,
>   Samuel Benge

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

From: SamuelT 
Subject: Re: Isosurface+pigment...surface imperfections
Date: 31 Jul 1999 17:44:34
Message: <37A36EFD.23BA07EC@aol.com>
I already use interpolate 2 for the image_maps I use for the isosurface. I
posted a new shape a few minutes ago that has nearly no artifacts whatsoever.
That is because I used triangle_wave for the pigment. Had I used scallop_wave,
the bad effects would have been very noticeable.

Samuel Benge

Bob Hughes wrote:

> If you notice that when using image_map pigments the 'interpolate' makes
> a big difference. Seems 2 is best to me, not 4. The isosurface probably
> uses a similar convention itself rather than straight procedural
> pigment. If it did it would obviously have no noticeable artifacts, or
> so I would think. Perhaps there is a resolution limitation then? Based
> upon the 1 POV unit square a pigment is usually confined to?


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Bob Hughes
Subject: Re: Isosurface+pigment...surface imperfections
Date: 31 Jul 1999 18:21:49
Message: <37a376fd@news.povray.org>
The plot thickens...


"SamuelT." wrote:
> 
> I already use interpolate 2 for the image_maps I use for the isosurface. I
> posted a new shape a few minutes ago that has nearly no artifacts whatsoever.
> That is because I used triangle_wave for the pigment. Had I used scallop_wave,
> the bad effects would have been very noticeable.
> 
> Samuel Benge
> 
> Bob Hughes wrote:
> 
> > If you notice that when using image_map pigments the 'interpolate' makes
> > a big difference. Seems 2 is best to me, not 4. The isosurface probably
> > uses a similar convention itself rather than straight procedural
> > pigment. If it did it would obviously have no noticeable artifacts, or
> > so I would think. Perhaps there is a resolution limitation then? Based
> > upon the 1 POV unit square a pigment is usually confined to?

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

From: Matthew Corey Brown
Subject: Re: Isosurface+pigment...surface imperfections
Date: 8 Aug 1999 23:18:45
Message: <37AE4899.F611B004@xenoarch.com>
"SamuelT." wrote:
> 
> I already use interpolate 2 for the image_maps I use for the isosurface. I
> posted a new shape a few minutes ago that has nearly no artifacts whatsoever.
> That is because I used triangle_wave for the pigment. Had I used scallop_wave,
> the bad effects would have been very noticeable.
> 
> Samuel Benge
> 
> Bob Hughes wrote:
> 
> > If you notice that when using image_map pigments the 'interpolate' makes
> > a big difference. Seems 2 is best to me, not 4. The isosurface probably
> > uses a similar convention itself rather than straight procedural
> > pigment. If it did it would obviously have no noticeable artifacts, or
> > so I would think. Perhaps there is a resolution limitation then? Based
> > upon the 1 POV unit square a pigment is usually confined to?

I suggest you use a 16 bit heigtfield for the pigment. Particularly
the TGA type (the one where if you look at it its red green and yellow)
I wrote the code to use the red portion as most signifigant and the
green 
portion as least. 

But i belive the main problems come from spherical mapping of 2d images.
The orgional isosurface code (which i didn't touch just added a new
function
to turn a 3d pigment to a number between 0 and 1) needs to have real 3d
info. SPherical mapping of 2d images don't give true 3d data so
intersection
and normal tests can run into errors. To fix things of this type the
actual
resolving code would need to be changed and that could break backwards
compatibilty. 
(and to be honest that portion of the iso surface code is beyond me)


Post a reply to this message

From: SamuelT 
Subject: Re: Isosurface+pigment...surface imperfections
Date: 15 Aug 1999 22:43:36
Message: <37B77BB2.C91212D0@aol.com>
I have heard of something called a density map. What is it and how can I make one?
Perhaps that is what I need.

Thanks.

Samuel Benge

Matthew Corey Brown wrote:

> I suggest you use a 16 bit heigtfield for the pigment. Particularly
> the TGA type (the one where if you look at it its red green and yellow)
> I wrote the code to use the red portion as most signifigant and the
> green
> portion as least.
>
> But i belive the main problems come from spherical mapping of 2d images.
> The orgional isosurface code (which i didn't touch just added a new
> function
> to turn a 3d pigment to a number between 0 and 1) needs to have real 3d
> info. SPherical mapping of 2d images don't give true 3d data so
> intersection
> and normal tests can run into errors. To fix things of this type the
> actual
> resolving code would need to be changed and that could break backwards
> compatibilty.
> (and to be honest that portion of the iso surface code is beyond me)


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Ken
Subject: Re: Isosurface+pigment...surface imperfections
Date: 15 Aug 1999 23:06:20
Message: <37B7801F.6E722CAD@pacbell.net>
"SamuelT." wrote:
> 
> I have heard of something called a density map. What is it and how can I make one?
> Perhaps that is what I need.
> 
> Thanks.

As far as I know density maps are currently restricted to the media function
though a .df3 density file can be used with pigments. I haven't experimented
yet with the latter to offer much on it though.

-- 
Ken Tyler

See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Jerome M  BERGER
Subject: Re: Isosurface+pigment...surface imperfections
Date: 16 Aug 1999 14:40:46
Message: <37B85B2E.FDB99B97@enst.fr>
"SamuelT." wrote:
> 
> I have heard of something called a density map. What is it and how can I make one?
> Perhaps that is what I need.
> 
> Thanks.
> 
> Samuel Benge
> 
	You can't make one by hand (unless you want to spend a lot of time with
an hex editor :), you have to write a program that will make it for you,
then simply put density_map "foo.df3" (or something like that). For an
example, you can look at my irtc entry (jbpompei) for the History
round...

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

From: ingo
Subject: Re: Isosurface+pigment...surface imperfections
Date: 16 Aug 1999 16:59:18
Message: <37b87ba6@news.povray.org>
SamuelT. heeft geschreven in bericht <37B77BB2.C91212D0@aol.com>...
>I have heard of something called a density map. What is it and how can I make
one?
>Perhaps that is what I need.

Samuel,

Don't know what exactly you're looking for, but I did one experiment with
density_map and isosurface. The picture of it is in p.b.i "non-linear
transformation..." 1999-07-26. The scenefiles for creating the density_map and
isosurface are in p.t.scene-files "Isosurface with density_map" 1999-07-26.
Maybe it helps.

ingo
--
Met dank aan de muze met het glazen oog.


Post a reply to this message

From: SamuelT 
Subject: Re: Isosurface+pigment...surface imperfections
Date: 16 Aug 1999 21:50:32
Message: <37B8C0C4.D2214A49@aol.com>
I remember seeing that image now. So the density_map is really a number of  images
layered upon one another?

ingo wrote:

> SamuelT. heeft geschreven in bericht <37B77BB2.C91212D0@aol.com>...
> >I have heard of something called a density map. What is it and how can I make
> one?
> >Perhaps that is what I need.
>
> Samuel,
>
> Don't know what exactly you're looking for, but I did one experiment with
> density_map and isosurface. The picture of it is in p.b.i "non-linear
> transformation..." 1999-07-26. The scenefiles for creating the density_map and
> isosurface are in p.t.scene-files "Isosurface with density_map" 1999-07-26.
> Maybe it helps.
>
> ingo
> --
> Met dank aan de muze met het glazen oog.

--
Samuel Benge

STB### [at] aolcom

"While you were sleeping
he went on keeping the final line in his mind."
 -Tortoise and the Hare, The Moody Blues


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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