POV-Ray : Newsgroups : povray.unofficial.patches : compiling isosurface patch for unix : Re: compiling isosurface patch for unix Server Time
2 Sep 2024 22:20:40 EDT (-0400)
  Re: compiling isosurface patch for unix  
From: Ron Parker
Date: 20 May 1999 12:50:58
Message: <37442f62.0@news.povray.org>
On Thu, 20 May 1999 10:09:33 -0500, Christian Wietholt wrote:
>Hi folks,
>
>Has anybody compiled the isosurface patch on a Unix or
>Linux machine? I am trying but I got tons of errors.
>
>I would appreciate any kind of help

You can get source for the superpatch based on the 3.1e source
from http://www2.fwi.com/~parkerr/super31e.zip .  It's not the
latest isosurface patch, so it's missing (I think) the polar 
functions, but it should work for what you're doing.  I haven't 
built it yet on Unix, so you'll have to add a few files to the
makefile, but it should be reasonably easy.

Do remember to NOT add the files starting with i_ to your 
makefile.  These are the DLL/shared library files and will only
give you errors.  You might need to consult R. Suzuki's sources
for info on building them for Linux (assuming that info is still
available.  It was for the 3.0x version) I have never done that 
but I think you will have to build at least one of them (i_dat3d)
for CT visualization.  If you can't get that to work, you should
be able to transplant the code from i_dat3d.c into isofunc.c and 
get it to work with a slightly different syntax.

Here are the modules that need to be added to the makefile:

  bezier2.c   f_expr.c   f_func.c    f_param.c
  isofunc.c   isosurf.c  lightgrp.c  rbezier.c
  sphsweep.c  splines.c

If you need dependency information, GCC can generate it for you.
Alternatively, if you only plan to build it once, you can just 
add the bare minimum rules for each of these files to the makefile.
I know there are people out there who have built the superpatch 
for Linux.  Perhaps some of them can jump in here with a makefile
or with further clues on building the i_*.so files.


Post a reply to this message

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