POV-Ray : Newsgroups : povray.general : Isosurface change from 3.1 to 3.5 Server Time
16 Nov 2024 17:23:06 EST (-0500)
  Isosurface change from 3.1 to 3.5 (Message 1 to 3 of 3)  
From: LeighOrf
Subject: Isosurface change from 3.1 to 3.5
Date: 30 Sep 2003 12:55:01
Message: <web.3f79b444d05a73802c80d43f0@news.povray.org>
Hello,

I have been using povray for years to render scientific data from
a numerical model. I am using povray version 3.1g with R. Suzuki's
isosurface patch. Since the isosurface code has been merged into 3.5, I
would like to use the latest version of povray to make my isosurfaces.

The problem is this: With R. Suzuki's POV3ISO patch, a shared library
could be loaded which contained the code for reading data into povray.
A function could then be called which put this data into the proper
array. The library keyword, which facilitated this, does not work with
the latest versions of povray. Here is an excerpt from a .pov file that
currently works with the old patchd version of povray that I am using:

isosurface {
library
"/data/orf/povray31nc/source/unix/ncommas-stretch.so","ctrl",
<2664,QI,x0,xf,y0,yf,z0,zf,dx,dy>
function "hist_field", <0.0001,stretch>  // isosurface value, vertical
stretching factor
box <0, 0, 0,> <boxx, boxy, boxz>
bounded_by { box { <0, 0, 0>, <boxx, boxy, boxz> } }
clipped_by { box { <0, 0, 0>, <boxx, boxy, boxz> } }
accuracy 0.20
sign -1
pigment { rgb <.65, .65, .65> }
finish {ambient 0.6 diffuse 0.6 specular 0.15 roughness .4}
no_shadow
}

So, my question is this: Can the latest povray code do what I used to
do? It seems that the function keyword must be a mathematical function
with the latest code. I would like to be able to somehow load my data,
which is stored in large floating point history files on disk, and
basically use this three-dimensional data as my isosurface values.

For some pictures and animations of what I am doing with povray, see
http://orf.cx/ncommas

Leigh Orf
Assistant Professor of Meteorology
Central Michigan University


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Isosurface change from 3.1 to 3.5
Date: 30 Sep 2003 16:55:19
Message: <3f79edb7$1@news.povray.org>
In article <web.3f79b444d05a73802c80d43f0@news.povray.org> , "LeighOrf" 
<orf### [at] mailbagcom> wrote:

> I am using povray version 3.1g with R. Suzuki's
> isosurface patch. Since the isosurface code has been merged into 3.5, I
> would like to use the latest version of povray to make my isosurfaces.

Check the www.povray.org links collections and beta-test groups.  There are
many outlines and I think there is (or at least was) a conversion tutorial
how to go from the unofficial patch isosurface function syntax to the
official 3.5 function syntax.  Also, the official syntax is of course fully
explained in the 3.5 manual.

    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

From: ingo
Subject: Re: Isosurface change from 3.1 to 3.5
Date: 30 Sep 2003 18:11:13
Message: <Xns94071E6ACB13seed7@netplex.aussie.org>
in news:web.3f79b444d05a73802c80d43f0@news.povray.org LeighOrf wrote:

> A function could then be called which put this data into the proper
> array. The library keyword, which facilitated this, does not work with
> the latest versions of povray.

You could try to convert your data to a density(df3)-file.

R. Suzuki has made a new patch that offers a few more input formats:
http://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm

Ingo


Post a reply to this message

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