|
|
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'
|
|