jPCT-AE - a 3d engine for Android > Support

3D object from 2D drawing

(1/3) > >>

dimvolk:
Hi
How create 3D object/model from 2D drawing on button click (or vice versa)?
For example: in app i draw 2D cube (round or other) and on click it should be converted/transformed to 3D model.
Any help or link, example?
Thanks

EgonOlsen:
No idea. jPCT-AE doesn't prevent you from doing this, but it doesn't offer support for it either. You somehow have to triangulate the 2d drawing and then create an Object3D from it.

dimvolk:
Thanks for answer.
What i need is to create scene/model based on points from 2D touch points.
For example is in 2D , and in 3D get this

AeroShark333:
Maybe this can help you experiment a little:
http://www.jpct.net/wiki/index.php?title=Create_a_cube

dimvolk:
Thanks for answer.
But i'm not understand how get a distance between points. And what if is needed to create object based on curve line (bezier, round etc). it is possible?

Navigation

[0] Message Index

[#] Next page

Go to full version