Topic: DmoDrawing == JS && (SVG || VML) |
|
---|---|
Author | Thread |
Neurotic (0) Inmate Newly admitted From: |
posted 07-24-2008 00:46
I've been lurking around this forum for a little bit and I think its a great place to pick up some new tricks. I thought I'd share some of the things I've been working on lately to return the favor. |
Nervous Wreck (II) Inmate From: |
posted 07-24-2008 06:04
hi, |
Obsessive-Compulsive (I) Inmate From: |
posted 07-24-2008 06:49
Esskay, thats a pretty slick demo. I noticed it uses paths in order to draw the polys and that is the one shape I couldn't get to work right in both SVG and VML. I might give it another whirl in the future but for now there are enough elements to be useful. I really want to get arcs working and it might take a simple path to do that. Arcs, groups, rotation, skew and gradients are next on my list of features. |
Nervous Wreck (II) Inmate From: |
posted 07-27-2008 08:39
Speaking of arcs, the next thing I was hoping to add to my render engine was primitive support for cylinders and spheres. I think computationally it should not be too difficult to calculate the proper aspects of an arc that defines the extremities of a cylinder, but would need to be compatible with triangle rendering/sorting in order to construct scenes with both. If cylinders of this sort were possible, one could construct the torus that I made with dozens of triangles with only a single cylinder per ring segment which would dramatically reduce the amount of 3D computation and improve performance. Tricky stuff though. |