So, I have started cross-engine 3D primitives project at github. Just like as3dmod, it plugs seamlessly into your favorite engine to help you out whenever you feel limited by it. Initial commit supports Alternativa3D 8.12, Away3D 4 Alpha, Minko 1 and contains two spheric primitives: UniformSphere and Globe.
UniformSphere is a mesh built from the spiral of vertices uniformly distributed across the sphere. You have two options here: Rakhmanov formula (default, the spiral joins sphere poles) or Bauer formula (the spiral does not contain poles). This primitive was ported from my 3D metaballs code.
Globe is a mesh that minimizes texture distortions for classic plate carré projection. It does so by placing equilateral triangles along the equator and gradually compressing triangles towards each pole (where high triangle density is actually good property in terms of texture distortions). This primitive was ported from my globe component for FP9, which is now also hosted at github.
I plan to add few more primitives over time, both useful and not really, and maybe more engine proxies if there will be any interest.
cheers, I feel a bit wrong grabbing your balls but I am sure they will come in handy some day so I may just have to.
out of interest how does the UniformSphere handle uv mapping, is that still better than the standard sphere as well?
not at all, it does not have enough triangles near the pole to be better
nice, thanks :)
waht about proscenium ( http://www.adobe.com/devnet/flashplayer/articles/working-with-proscenium.html ) ?
have you tried it ?
is worth as a “target engine” ?
- I have not.
- It could be.
Nice header for the article ;) What about a hemisphere ? I need one procedurally adjusted for a skydome.
Fabrice is working hard on his mesh tools, I bet by now you could just cut standard sphere in away.
cool ! :)