POV-Ray : Newsgroups : povray.general : Hex Mesh Server Time
8 Aug 2024 12:26:29 EDT (-0400)
  Hex Mesh (Message 1 to 2 of 2)  
From: Dawn McKnight
Subject: Hex Mesh
Date: 27 Nov 2000 16:18:03
Message: <3A22CF8A.CE5C70A2@mac.com>
I downloaded Jay Cathcart's hexmesh.inc, and tried to make it run, but
when I do, it generates 0 objects.  I've tried looking through the code
to see if I'm missing anything, but it's kind of... obfuscated.  

There's no link for mail on his website.  Could someone who understands
it explain to me what's required to make it generate a mesh, or Jay, if
you're reading the group, would you email me?  thanks.

-- 
Dawn McKnight      | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] maccom   |					-- Justine Devlin, M.D.


Post a reply to this message

From: Ken
Subject: Re: Hex Mesh
Date: 27 Nov 2000 16:42:42
Message: <3A22D5FA.D2892A35@pacbell.net>
Dawn McKnight wrote:
> 
> I downloaded Jay Cathcart's hexmesh.inc, and tried to make it run, but
> when I do, it generates 0 objects.  I've tried looking through the code
> to see if I'm missing anything, but it's kind of... obfuscated.

Make a file called hexmesh.pov and add the following lines to your scene
file. You can play with these values to get different results. Include
the hexmesh.inc file after you declare these variables as shown below.
You will also need to add a camera and a light source for it to work.

#declare MeshRadius   = .05;
#declare MeshMaterial = material { texture { pigment { red 1 } } }       
#declare MeshXStart   = -5;
#declare MeshXStop    = 5;
#declare MeshZStop    = 5;
#declare MeshDepth    = 45;  //degrees: this is to make it bumpy                    
#declare MeshZStart   = 0;
#declare MeshXHold    = MeshXStart;

#include "hexmesh.inc"

// To use the object include this line -

object { MeshObject }


-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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