Driver SVG_Control & subdivision surfaces

First published at Thursday 23 March 2006

Warning: This blog post is more then 18 years old – read and use with care.

Driver SVG_Control & subdivision surfaces

Your browser needs to support SVG to display this image. Example from driver SVG_Control

SVGControl

My brother created a great driver for Image_3D called "SVGControl". This one enables you to display the threedimensional scenes created by Image_3D in your browser as a SVG. Plus you get several buttons to modify the SVG directly in your browser. For now you can move and zoom the scene - but there will be some more transformations in the near future.

For me it works with native firefox >1.5 and each browser which uses the Adobe SVG plugin to display SVGs. Moving the objects around consumes some processor power, so that you should not try to render scenes with far more then 200 polygones with this driver. The browsers are not optimized for this task ;-).

Compliment to my brother for this really great driver. I imagine live changing real 3D graphs in my browser with the possibility to move around to focus some special details... :-).

Subdivision surfaces

Example for subdivision surfacesExample for subdivision surfaces

Subdivision surfaces are a method to add more polygones to an existing object. A very good choice to do this is the "Catmull-Clark " algorithm. I implemented this one on object basis for Image_3D, so that you can increase the detail level of each object by calling:

$object->subdivideSurfaces($factor);

Where $factor is the count of iterations. Each iteration will multiply the polygoncount of the object by the average number of edges each polygon has. You see an example with a simple 3ds model on the right side. The first pig is the original model, and the other two are with one and two iterations of the Catmull-Clark algorithm.

The result ist fantastic - I am really fascinated by the quality of the resulting models. It seems, that the algorithm adds valid information to the model, which of course is never possible.

Both features will be in the next release of Image_3D and can be found in CVS from now on.


Comments

Evert at Tuesday, 4.4. 2006

A lot of kudo's to you.

This very impressive

Leech at Wednesday, 5.4. 2006

just... WOW!

Anonymous at Friday, 5.5. 2006

Thank you very much !!

U-Bob at Friday, 19.5. 2006

That's really neat, but

Moving the objects around consumes [[some]] processor power" ???

This machine is a P4@3Ghz(1mbL2) with 1Gb ram and both in (native) firefox and adobe/IE moves like sh...

Java3D is far better than this.

Maybe a new rewriten engine for drawing hardware accelerated graphics...

But this... ?

mememem at Saturday, 13.10. 2007

gosh!!!!

Subscribe to updates

There are multiple ways to stay updated with new posts on my blog: