POV-Ray : Newsgroups : povray.binaries.images : Help I need it : Re: Help I need it Server Time
16 Aug 2024 06:15:39 EDT (-0400)
  Re: Help I need it  
From: Flaming Monarch
Date: 14 Mar 2002 20:26:38
Message: <3C914DCD.90202@gates.com>
Cool I never thought of that way with the intersecting planes and stuff.
it worked and the code was tonnes shorter here is the way it loooked
the blue one is yours and the green mine

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


Attachments:
Download 'two of em.jpg' (18 KB)

Preview of image 'two of em.jpg'
two of em.jpg


 

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