Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Support / Re: Making a model move by code(user input)
« Last post by Rhnbmpl on November 07, 2017, 08:35:39 am »
Yes, the joints of the skeleton. In blender terms, the point of connection between two bones.
52
News / Forum upgraded to 2.0.14
« Last post by EgonOlsen on November 07, 2017, 08:06:35 am »
...
53
Support / Re: getting world coordinates of point at specific distance from camera
« Last post by EgonOlsen on November 07, 2017, 07:55:56 am »
This thread contains some example code btw (for desktop jPCT, but the idea still applies): http://www.jpct.net/forum2/index.php/topic,2413.0.html
54
Support / Re: Making a model move by code(user input)
« Last post by EgonOlsen on November 07, 2017, 07:44:51 am »
I'm not sure what a joint is meant to be in this context. Joints of a skeleton?
55
Support / Re: 3D object from 2D drawing
« Last post by EgonOlsen on November 07, 2017, 07:44:04 am »
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).
56
Support / Re: getting world coordinates of point at specific distance from camera
« Last post by EgonOlsen on November 07, 2017, 07:40:45 am »
You can use this for example: http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Interact2D.html#reproject2D3DWS(com.threed.jpct.Camera, com.threed.jpct.FrameBuffer, int, int, float)

I'm not sure if it does exactly what you want, because you are talking about z=0 in world space here!? However, this method takes z in camera space (which is actually natural, because that's the space into which your taps are going). Just remember that z=0 in camera space isn't a bright idea, so use 1 for 10 or whatever fits you instead.
57
Bones / Making a 3d model move by code(user input).
« Last post by Rhnbmpl on November 07, 2017, 07:35:15 am »
Hi,
I am new to JPCT and till now I have displayed a 3D model made in blender in an android app. I have made the model in Blender with the bones attached to the mesh. Earlier I was using libgdx which made the joints of the bone rotate but it wasn't running along properly with my application. The 3d model i have displayed is in the format .3ds. I have not implemented any animations on the model because I don't need them. I need to rotate the joints of my 3d model based on the user input(by variable change). There will be about 5-7 joints in the model which will only rotate.
Thanks for the help.
58
Support / getting world coordinates of point at specific distance from camera
« Last post by saadasif21 on November 07, 2017, 07:33:33 am »
Hi geeks,
i have been trying to get world coordinates at specific distance from camera. i cant use collision detection because i do not have object at that point. Iím at my witsí end!

let me explain briefly,
lets suppose my camera is at (0,0,-50) and i cant have any object in my world. If i tap anywhere on my 2d screen, where in the world space at z=0 that tap goes. please help
please ask if you need further clarification.
59
Support / Making a model move by code(user input)
« Last post by Rhnbmpl on November 07, 2017, 05:59:49 am »
Hi,
I am new to JPCT and till now I have displayed a 3D model made in blender in an android app. I have made the model in Blender with the bones attached to the mesh. Earlier I was using libgdx which made the joints of the bone rotate but it wasn't running along properly with my application. The 3d model i have displayed is in the format .3ds. I have not implemented any animations on the model because I don't need them. I need to rotate the joints of my 3d model based on the user input(by variable change). There will be about 5-7 joints in the model which will only rotate.
Thanks for the help.
60
Support / Re: 3D object from 2D drawing
« Last post by MichaelJPCT on November 07, 2017, 02:59:39 am »
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.
Pages: 1 ... 4 5 [6] 7 8 ... 10