POV-Ray : Newsgroups : povray.general : Hex Mesh : Re: Hex Mesh Server Time
8 Aug 2024 14:22:51 EDT (-0400)
  Re: Hex Mesh  
From: Ken
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.