www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: artur on October 21, 2012, 01:19:44 pm

Title: Deform the shape
Post by: artur on October 21, 2012, 01:19:44 pm
Hi, i'm newbie in jpct.
Is it possible to deform the shape of touched object?
What can I use to achieve this? I was looking for the solution, and I found the bones, but I'm not sure if it is necessary to this task.
I used hello world from wiki to display the object.
Title: Re: Deform the shape
Post by: robert on October 21, 2012, 02:07:18 pm
Hi, i'm newbie in jpct.
Is it possible to deform the shape of touched object?
What can I use to achieve this? I was looking for the solution, and I found the bones, but I'm not sure if it is necessary to this task.
I used hello world from wiki to display the object.

In Blender you can create the so called "shape keys". Then you can export as Ogre and load the shape keys with Bones.
Title: Re: Deform the shape
Post by: artur on October 21, 2012, 05:14:37 pm
Is there any way to deform shape without using blender or other apps? Just the code.
Title: Re: Deform the shape
Post by: Thomas. on October 21, 2012, 06:00:44 pm
You can use GenericVertexController (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/GenericVertexController.html)