|
From: Hans-Bernhard B. <br...@ph...> - 2005-06-19 13:33:52
|
Michael Kipper wrote: > The intention is to use gnuplot to create an animated GIF of the mesh as it > steps through time. Hopefully, gnuplot will recognize when a triangle in > the foreground blocks one in the back, so I don't end up with a screen full > of points. Not without some hand-holding from your side. gnuplot doesn't specially support triangles --- it expects surfaces to be parametric ones, even if they come in a datafile. To that end, it wants surfaces to have "grid structure", i.e. they should come as <n> sequences of <m> points, so gnuplot can construct a surface mesh of regular rectangular topology. The only way to represent single triangles in this approach is as quadrangles with one zero-length edge. Generally, I'm not convinced gnuplot is the right tool for this job. It's not designed to be a generic 3D vector graphic rendering engine. Other tools, like Blender or PovRay, may be better fits for the job. |