>From what I understand that reads fine. But it does not directly help
>me. I first would have to find a program that parses pov and writes some
>CML. Having CML I still dont have a method to generate a svg. Or at
>least not anything that looks a bit like the original raytraced raster
>image?

Hm, what are you trying to achive in the first place?

1. I understand that you get POV, if it were just for scaling and 
rotating, e.g. on a interactive web page you could, as an alternative, let 
a Povray service render the neccessary raster images from the model, 
either on demand (if the size is small and the scenen simple enough, 
Povray should be capable of doing so) or pre-calculated, like 1x, 2x, 3x 
... 10x zoom and rotation in 5° steps, and display them as needed.

Of course, that would not help much when you want to change the model...

2. If this is 'all' that comes:

#macro ccdc_draw_solid_sphere( position, sphere_radius, sphere_color )
    sphere {
        position, sphere_radius
        ccdc_set_solid_material_properties( sphere_color )
    }
#end

then it should be not too difficult to write a parser for it.

3D Animation with SVG and JavaScript is feasible:

http://www.kevlindev.com/geometry/3D/js3d/index.htm

Now, all you need are routines to draw spheres and cylinders with the 
abovementioned properties in SVG and - finished.

3. Can you use .CIF? Then JMol might be an option, like here: 
http://webmineral.com/jmol/structure.php?id=Gerstmannite

Best Regards

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Blueobelisk-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/blueobelisk-discuss

Reply via email to