POV-Ray : Newsgroups : povray.general : Constructing a surface from a parametric point cloud : Constructing a surface from a parametric point cloud Server Time
30 Jul 2024 02:18:53 EDT (-0400)
  Constructing a surface from a parametric point cloud  
From: David Given
Date: 2 Jan 2010 07:10:01
Message: <4b3f3799$1@news.povray.org>
I'm trying to render the moon, to scale. The USGS provide a detailed
topographic map of the moon in the form of about 270000 points in the
form of latitude, longitude and radius tuples. Are there any cunning
tricks I can use that will help me render this?

Right now I've got a little program that will convert it to xyz tuples,
and then I run the result through tetgen to produce a quad mesh, and
then I run it through yet another little program to produce a Povray
mesh2 object. The results are rather unsatisfactory --- it's slow (the
file takes about a minute just to parse!), some of the polygons don't
meet exactly at the edges, and the crude conversion I'm doing from quads
to triangles isn't helping with the shading.

I would think that it should be possible to use a parametric surface for
this, but I'd need a way to somehow get it to interpolate between the
data points in the topographic model --- any suggestions?

-- 
┌─── dg@cowlark.com ─────
http://www.cowlark.com ─────
│
│ "Sufficiently advanced incompetence is indistinguishable from
│ malice." -- Vernon Schryver


Post a reply to this message

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