|
 |
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] mac com | -- Justine Devlin, M.D.
Post a reply to this message
|
 |
|
 |
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
|
 |