Ropes and pulleys in ogre?

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Posts: 17
Joined: Wed Jan 31, 2007 4:23 am

Ropes and pulleys in ogre?

Post by DoomTroopa12 » Tue Mar 06, 2007 5:17 am

I'm usin ogre to provide visual feedback for a 6 dof crane, this crane has a fairly complex pulley system with ropes, has anybody ever attempted to make ropes in ogre?? or in any other system for that matter?

will it be difficult to have a mesh stretch between nodes?

Also as a side note, the material i use on my pulleys shows up all the little surfaces that make up the circle, is there any way to blend it all so they look round and smooth?
0 x

User avatar
Posts: 563
Joined: Wed Jul 12, 2006 5:40 pm

Post by cybereality » Tue Mar 06, 2007 6:54 am

I'm not exactly sure what it is you are trying to do, but let me give a few suggestions. If you are using a physics engine, it is possible to model rope as a series of connected joints. If you need a physically accurate simulation you would want to go with one of the existing physics solutions (like the nxOgre wrapper).

If it doesn't need to be accurate, you can easily fake it. A pulley effect could be done using texture animation on the rope material. For a little more realism you could animate the rope mesh (in max/maya) just undulating a bit and combined with the texture animation it should appear convincing.

Also, if you are getting facets on the polys I believe you just have to smooth the normals before you export it. AFAIK ogre respects smoothing information.
0 x

Post Reply