> Hi Bob,
>
> That sounds indeed interesting and promising.
>
> I do seem to recall (it has been a while since I played with the cube
> files and my memory isn't very good :-) ), that when I tried to
> reduce a cube file to 0s and 1s and set the cutoff at 0.5 (to try to
> keep the file size down), the generated surfaces were very angled
> looking. So I think (and didn't check) that in the code some kind of
> interpolation is done, i.e., the actual values are used  to generate
> a smoother representation of the data.

That is correct. There is a linear interpolation that takes place to
determine the point along the segment that is closest to the surface.

** 2 minutes later **

I just looked at Isosurface.getInterpolatedValue()

It looks like I was lazy and did not actually complete this. Independent
of Bob's work, that should probably be cleaned up.

> It looks like you are
> capturing the result of this 'pre-processing'.

Yes, it looks like that is what Bob is doing.



Miguel



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to