POV-Ray : Newsgroups : povray.general : Some help here please Server Time
6 Aug 2024 14:20:43 EDT (-0400)
  Some help here please (Message 1 to 3 of 3)  
From: Flaming Monarch
Subject: Some help here please
Date: 14 Mar 2002 18:51:01
Message: <3C913766.4050606@gates.com>
Hi all I need some help making some shapes,
I'm trying to kane an octahedron without taking a box and cutting off 
edges, as I later want to make a regular dodecahedron and an icosahedron.
I finally found the prisim and it makes good stuff for other things but 
i'm still new and cant find how to make the shapes above thanks for the 
help!

this is what I have to do ?  but remember i'm new!

#declare cutter =
box {
<2.1,2.1,2.1>
<-2.1,-2.1,-2.1>
pigment {Green}
translate  <0,3.5,0>
}

difference {

box {
<2,2,2>
<-2,-2,-2>
pigment {Green}
}
object {cutter  rotate x*45}
object {cutter  rotate x*-45}
object {cutter  rotate x*45 scale -1}
object {cutter  rotate x*-45 scale -1}


object {cutter  rotate z*45}
object {cutter  rotate z*-45}
object {cutter  rotate z*45 scale -1}
object {cutter  rotate z*-45 scale -1}
}


Post a reply to this message

From: Shay
Subject: Re: Some help here please
Date: 14 Mar 2002 19:22:25
Message: <3c913ec1$1@news.povray.org>
Here's the easiest way.

Find the corners of every polygon in your shape. You can do this with trig
or find the corners in a web reference. For each polygon, make triangles
from the center to each edge of the polygon. Put these triangles into a mesh
{} statement and you are done.

 -Shay

"Flaming Monarch" <fla### [at] gatescom> wrote in message
news:3C9### [at] gatescom...


Post a reply to this message

From: Flaming Monarch
Subject: Re: Some help here please
Date: 14 Mar 2002 20:28:57
Message: <3C914E5A.4050303@gates.com>
hmmm I havent taken trig yet
so Ill look on the internet for that
:)

Shay wrote:

> Here's the easiest way.
> 
> Find the corners of every polygon in your shape. You can do this with trig
> or find the corners in a web reference. For each polygon, make triangles
> from the center to each edge of the polygon. Put these triangles into a mesh
> {} statement and you are done.
> 
>  -Shay
> 
> "Flaming Monarch" <fla### [at] gatescom> wrote in message
> news:3C9### [at] gatescom...
> 
> 
> 
> 
>


Post a reply to this message

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