PDA

View Full Version : Mesh import from Povray...



starbase1
04-22-2004, 01:37 PM
Hi All,
I'm trying to work out away of importing a POVRay mesh. Does anyone have any ideas?

It looks very simple in format, just a set of coordinates of points for triangles. Like this:

mesh {
triangle { <0.000000, 3.200000, 0.000000>, <0.555674, 3.151385, 0.000000>, <0.547232, 3.151385, -0.096492> }
triangle { <0.555674, 3.151385, 0.000000>, <0.547232, 3.151385, -0.096492>, <1.111519, 3.100986, -0.195991> }
triangle { <0.000000, 3.200000, 0.000000>, <0.547232, 3.151385, -0.096492>, <0.522163, 3.151385, -0.190052> }
triangle { <0.547232, 3.151385, -0.096492>, <0.522163, 3.151385, -0.190052>, <1.060600, 3.100986, -0.386027> }

Anyone know of something that will handle this?

It's a scientific thingy, where I need the numbers right so can't knock it up by eye...

Cheers,
Nick

Mylenium
04-22-2004, 11:52 PM
POV2DXF, POV23DS, POV2OBJ... So what more do you want? Just look for those tools on the web.

Mylenium

starbase1
04-23-2004, 12:25 AM
Well google can't find any pf those tools...

Nick

Mylenium
04-23-2004, 06:13 AM
Well, give the POVRay site a try or look at other 3D resource sites. I'm sure you will find something that will convert your POV-Files even if you don't find the aforementioned tools there.

Mylenium

colkai
04-23-2004, 06:51 AM
Heck, I saw a 3DConverter the other day that handled POV scenes.. found it...

http://web.axelero.hu/karpo/

Not tried it - but it claims both POV and POB support.
(EDIT: Just tried it - nope! - Actually, just browsing, according to Povray.org - there is currently no way at all to convert Pov3.1 scenes into any other format).

starbase1
04-23-2004, 11:09 AM
yep, plenty INTO Pov, nothing back out.

It is just a mesh object I am after - full feature support would require things like 4d fractal export!

I think I am getting there though, via the mad route of using Excel and Word to massage the mesh listing into an Lscript

Cheers,
Nick
!