How to achive deformation in ogreode

abhinandan

07-10-2006 07:15:48

Hi, can any one tell me how to achive deformation in ogreode , are there any sample codes for deformation,

thankyou

PapiRauk

10-10-2006 09:03:19

Since no one is replying.....

I'm a noob using ODE but there seems to be some kind of terrain deformation in ODE. Search the wiki and forums to se if you can find anything. also, I think i read something about deformation on the to-do list of either ogreode or paging terrain scene manager, so have a look there.

Then there is object deformation like you'll find in the showcase in the projekt D4MD http://www.ogre3d.org/index.php?set_albumName=album25&option=com_gallery&Itemid=55&include=view_album.php

Unfortunately they haven't released there code to the community as far as I can tell.

If you find anything substantial then please put a post here. I will be wanting deformation later on. :lol:

abhinandan

10-10-2006 12:56:01

Thanks for the response , I could find posts on softbody in this post :http://www.ogre3d.org/phpBB2/viewtopic.php?t=10327&highlight=&sid=f90e241b298647d1a7693b7f17d5afb0

I could figure that we need to work on mesh (to acive the deformation)

tuan kuranes

16-10-2006 10:37:37

deformation is quite an advanced topic...

Idea is to use spring for each mesh vertex... to achieve real frame rate, you'll have to somewhat group some vertexes, and add some link between vertices to propagate deformation.

See demo flag on my website. wind is deforming the flag, and it uses some constraints to propagate it along the whole flag.