Octaviz

Dragan Tubic <[email protected]> Sun, 1 Feb 2004 13:57:07 -0500
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
Hi all,

Octaviz is now hosted at SourceForge.net (http://octaviz.sourceforge.net).

There is also a new release of octaviz (0.1.8). Major changes are:

1. Wrapper now supports conversion between octave and vtk arrays. This avoids 
"for" loops in octave and speeds up considerably the communication between 
vtk and octave,
2. Following octave functions are available: vtk_figure, vtk_close, plot3, 
trisurf, mesh, contour3, meshc, plot3	, quiver3, surf, surfc, trimesh, 
vtk_eps, vtk_rib, vtk_imshow, vtk_plot (see the web page for a short 
description),
3. Figures can be saved in .EPS and .RIB formats. Other formats are also 
available but not as octave functions.  vtk_eps and vtk_rib can be very 
easily modified to support other formats.

Note that high-level functions are not 100% Matlab compatible, they are still 
very experimental and contain probably a considerable number of bugs. 

To compile octaviz you'll need VTK from CVS and Octave 2.1.52 or more recent. 
VTK 4.2 also works but there is no EPS support and there are are some issues 
with multithreading (octave crashes if a VTK window is closed and created 
again).  You will probably need to recompile octave too with -pthread flag 
(do export CXXFLAGS=-pthread before compiling) which solves problems with 
multithreading and dlopen. Alternatively, you can try export 
LD_ASSUME_KERNEL=2.4.1 before starting octave but it is not guaranteed to 
work. Don't forget "export CXXFLAGS=" before compiling octaviz.

Octaviz is officially supported only on Linux/X/OpenGL. There should be no 
major problems compiling it on any platform that supports Posix threads 
X-Window System and OpenGL (including cygwin although there was yet 
unresolved linking problem). I would greatly appreciate is someone could test 
octaviz on platforms other than Linux and report problems.

Comments, suggestions, bug reports and patches are most welcome.

Cheers,

Dragan