hyperplay icon indicating copy to clipboard operation
hyperplay copied to clipboard

export functions

Open timhutton opened this issue 10 years ago • 2 comments
trafficstars

Desired output formats: .obj, .eps, .svg cf. Taprats: http://taprats.sourceforge.net/

timhutton avatar Oct 28 '15 09:10 timhutton

The curvatures would make an interesting starting point as a 3D model input. Like a shot of vodka for the standard polygon starting shapes on SketchUp. I'll give it a go but would there be a way to get like a JSON point cloud or any relative xyz reference from the projection?

JCDavie avatar May 20 '20 21:05 JCDavie

If you're motivated to try, look in drawMesh(). There are calls to camera_projection(). Those calls convert the 3D coordinates to 2D ready for drawing. That would be the sensible place to pull out the xyz coordinates for the mesh.

timhutton avatar May 20 '20 22:05 timhutton