POV-Ray : Newsgroups : povray.newusers : Nonuniform data to povray mesh-type object : Re: Nonuniform data to povray mesh-type object Server Time
29 Jul 2024 14:18:16 EDT (-0400)
  Re: Nonuniform data to povray mesh-type object  
From: Alain
Date: 19 Oct 2005 16:50:39
Message: <4356b19f$1@news.povray.org>
TJ Giese nous apporta ses lumieres en ce 2005-10-19 14:04:
> I have a bunch of data living on a nonuniform mesh.
> Meaning, more specifically, I have an electron density that lives on a 
> Gauss-Laguerre radial and Lebdeev angular quadrature grid points.
> I would like to choose some isodensity surface and render an image of it 
> in povray.
> Having looked over the documentation for a povray mesh object, I don't 
> immediately see a simple algorithm that I can use that would
> transform my data into something that povray can use.  If all I wanted 
> was to view the density, perhaps there's something better
> than a mesh object that I could use, however, I eventually want to 
> create a well-defined surface and color map it with the electrostatic
> potential... so I'm pretty sure I want to use a mesh.
> 
> My question(s)
> 1. Does pov-ray include any sort of ability for transforming nonuniform 
> data into a mesh object?
> 2. If not, does there already exist some open-source utility for 
> performing this task?
> 3. If not, do you have any ideas of how one should go about performing 
> this task?
> 
> Thanks in advance
A mesh don't need to corespond to a gird of any sort. If your data are already
organised as a mesh, 
it should be relatively easy to import them into a POV Ray scene.
If you place your mesh in front of a ortogonal camera and use an apropriate gradient
pattern, you 
can get adequate isopotential lines.
You may try processing your data in Poseray to make them into an easier to manipulate
mesh or mesh2 
object.


-- 
Alain
-------------------------------------------------
BACHELOR: A man who never makes the same mistake once.


Post a reply to this message

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