POV-Ray : Newsgroups : povray.newusers : Import of measurement data (ASCII format) in animation : Re: Import of measurement data (ASCII format) in animation Server Time
28 Apr 2024 09:18:38 EDT (-0400)
  Re: Import of measurement data (ASCII format) in animation  
From: Bald Eagle
Date: 2 Mar 2016 11:10:00
Message: <web.56d70f6ea405651b5e7df57c0@news.povray.org>
Add these lines to the top of your file:

#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "colors.inc"


For your prism, if you are only making a square, then you only need 5 points
instead of 7.   Your last 2 points are redundant.
 prism {
    linear_sweep
    linear_spline
    0,
    0,
    7,
    <-2,-3>,<2,-3>, <2,0>, <2,3>, <-2, 3>, <-2,0>, <-2,-3>
    pigment { Blue }
  }

If you could attach a copy of your data set, and maybe a diagram of the location
of the points on the plate, it would be easier understand the full scope, and to
head off anything that would need to be rewritten.

I'd build the "plate" as a wire mesh, using spheres as the data points, and then
maybe cylinders or sphere sweeps to connect them in a grid.
Then you could fill in the surface with triangles or smooth_triangles.

This sounds very Paul Bourke -y
Amazing stuff
http://paulbourke.net/miscellaneous/povexamples/


If you're going to make use of the clock variable, then you need to initiate
your renders with an ini file, set up for your animation.
I would suggest copying your files to a special subdirectory, since this will
generate a large collection of separate renders.

Then you need to collect all of your images into a video file so you can animate
it (or you could just use a viewer and "step" through the images one after the
other.
I use VideoMach  ( http://gromada.com/videomach/ ) for most of my work.
Other people have their preferences, based on OS, etc.
Format Factory is useful for converting to other video formats.


Post a reply to this message

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