POV-Ray : Newsgroups : povray.binaries.images : Help I need it : Re: Help I need it Server Time
16 Aug 2024 06:22:32 EDT (-0400)
  Re: Help I need it  
From: Flaming Monarch
Date: 14 Mar 2002 20:20:17
Message: <3C914C51.5010808@gates.com>
My box aproach was made by using the difference of the cutters and a 
main box

Tek wrote:

> I could see the first pic no problem.
> 
> I confess I have no idea how your box approach is working. The way I'd suggest
> doing a regular octahedron is with plane intersections like this:
> 
> intersection {
>     plane { < 1, 1, 1>, 1 }
>     plane { < 1, 1,-1>, 1 }
>     plane { < 1,-1, 1>, 1 }
>     plane { < 1,-1,-1>, 1 }
>     plane { <-1, 1, 1>, 1 }
>     plane { <-1, 1,-1>, 1 }
>     plane { <-1,-1, 1>, 1 }
>     plane { <-1,-1,-1>, 1 }
> }
> 
> 8 planes to describe an 8 sided solid :)
> 
> Hope this helps.
> 
> --
> Tek
> http://www.evilsuperbrain.com
> 
> 
> Flaming Monarch <fla### [at] gatescom> wrote in message
> news:3C9### [at] gatescom...
> 
>>did the pic work It didnt on my end when I tried to use it so here it is
>>again
>>srry all
>>
>>Flaming Monarch wrote:
>>
>>
>>>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

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