|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The images look nice but I got the following warning from POVRay:
--------
Warning: The maximum gradient found was 0.000, but max_gradient of the
isosurface was set to 0.000. The isosurface may contain holes!
Adjust max_gradient to get a proper rendering of the isosurface.
--------
Looking at isosurf.cpp, I suggest that we replace "%f" with "%g" or
similar.
Wolfgang
The isosurfaces with such a little gradient can be seen here:
http://www.cip.physik.uni-muenchen.de/~wwieser/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3ecbe552@news.povray.org> , Wolfgang Wieser <wwi### [at] gmxde>
wrote:
> Looking at isosurf.cpp, I suggest that we replace "%f" with "%g" or
> similar.
Why?
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
>> Looking at isosurf.cpp, I suggest that we replace "%f" with "%g" or
>> similar.
> Why?
So that instead of getting "0.0000" we get something like "1.23e-6"?
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3ecd58a2@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
> So that instead of getting "0.0000" we get something like "1.23e-6"?
Hmm, now I see your idea behind this. Unfortunately this won't really work
because in effectively anything below 0.0000 is pretty much below the
precision threshold you can reach with double precision floating-point
numbers for the number of calculations performed by isosurfaces.
I will see if I can come up with something intelligent to at least make the
message not show up in such case.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
> Hmm, now I see your idea behind this. Unfortunately this won't really
> work because in effectively anything below 0.0000 is pretty much below the
> precision threshold you can reach with double precision floating-point
> numbers for the number of calculations performed by isosurfaces.
>
My experience show that you actually CAN render isosurfaces with a gradient
of less than 0.000 .
The actual output is limited to 3 digits after the decimal point, not 4.
Using something like %g would be appreciated.
> I will see if I can come up with something intelligent to at least make
> the message not show up in such case.
>
No, NOT writing the message is probably a bad idea. Because in my case
a gradient of 0.01 already takes ages to render and I a using values
of 0.0002 and the like.
Wolfgang
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |