POV-Ray : Newsgroups : povray.newusers : Display 3df data though a colormap on a isosurface from 3df : Re: Display 3df data though a colormap on a isosurface from 3df Server Time
15 May 2024 10:42:36 EDT (-0400)
  Re: Display 3df data though a colormap on a isosurface from 3df  
From: mikaelk
Date: 17 Jan 2014 08:35:00
Message: <web.52d930852df04bed271407fc0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 14.01.2014 21:07, schrieb mikaelk:
> > Hello!
> >
> > In short, I would like to visualize the electrostatic potential on an density
> > isosurface. Thus I have two 3df files, one for potential and one for density.
> >
> > Similarly than in the figure in bottom of this page, except much more
> > beautifully.
> > http://www.cup.uni-muenchen.de/ch/compchem/pop/mep1.html
> >
> > I know how to do the isosurface, but I can't figure out how to set a 'volumetric
> > texture' to it.
>
> I guess you mean df3?
>
> If we're talking about texturing the actual surface of the isosurface
> object, it should be as simple as:
>
> isosurface {
>    ...
>    texture {
>      pigment {
>        density_file df3 "filename.df3" interpolate 1
>        pigment_map {
>          ...
>        }
>      }
>    }
> }

Thanks. That worked out of the box. So with volumetric texture, I meant that the
mapping is from x,y,z to u,v,w texture coordinates like that. Maybe a wrong
term.

It's still extremely slow though (several hours on quadcore i7) and looks
absolutely terrible materialwise. I need to reduce specular reflection at least.

I'm not sure why the step structure. I think it maybe related to my quantization
of data, which doesn't have enough bits.

http://imageshack.com/a/img35/7173/6j0u.png

The system is periodic in few directions. I think I could make it periodic in
povray using function statement for isosurface with some use of modulo function.


Post a reply to this message

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