Hello ! I’ve got a couple noob questions. I just found out about away3D about a week ago, and I’m loving it so far. I am, however, experiencing some issues that I can’t seem to resolve on my first scene. I’ll include a link further down the post, but basically, I’m attempting to make a parametric pyramid skylight. I’m doing some fairly simple math to figure out where all the vertices are, then connecting the dots with triangles, some of which end up being very big / long. The problem is (from what I’ve read in other posts / Google searches) that either away3d or flash decides that whenever 2 of the 3 points on a triangle are outside the bounds of the scene, the entire triangle is no longer displayed. So far, the only thing I’ve tried adjusting the .far and .near on my camera lens (did not help) but I really don’t think that’s the problem. Any other suggestions? The second question would be on how to make a “painted metal” looking material, and a glass-like material with what’s currently available on the version 4.0 alpha.
Here’s the link to the work in progress (be gentle, I’ve only been at this for a week )
There’s 3 text fields in the upper left corner: the first is the angle (degrees), the second is the overall size (inches), the third is the number of “bays” (# of rafters). As an example, enter 30, 120, and 16 then zoom in until the rafters start going off the screen to see what I’m talking about. BTW, what you’ll see is only 1/8th of the skylight.
I’m at work, so I don’t have access to my .as file, but I can attach it on a future post if anybody needs to see it.
Any help / suggestions / ideas would be greatly appreciated. Thanks!!!!