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

3D object from 2D drawing

<< < (2/3) > >>

MichaelJPCT:
these all can be done. but much maths calculation is involved, if you don't know how to calculate distance between points, you should find someone who is good in maths, geometry, computer graphics, java programming to do this. it takes a lot to do the work, you can't learn all these in a few weeks.

EgonOlsen:
If you have the shape in 2d defined by the end points, you need some sort for triangulation algorithm to convert it into 2d triangles (i.e. in a plane). Once you have that, you can extend it in 3d pretty easily. There are several triangulation algos out there, just google for it. It also depends on your objects. It's getting more complex, if your objects can be convex as well (your example is concav).

dimvolk:
in 2D its all i did. Now in app i can draw any figures i need, change distance between  this points, restart app and again change this drawn figures. Now i need visualize this in 3D.
What if create scene in 3D in new activity from intented points (coordinates)?
in 2D i save this points in constant class. is it possible create scene from them?
Thanks

EgonOlsen:
Yes, as mentioned above, it's certainly possible. But you have triangulate your mesh somehow.

dimvolk:
I will try. Thanks for answer

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version