How can I "inflate" mesh along it's vertex normals

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
robpearmain
Posts: 12
Joined: Mon May 22, 2006 2:56 pm

How can I "inflate" mesh along it's vertex normals

Post by robpearmain »

Has anyone got any code to take each vertex of a mesh and move it along it's normal essentially "expanding" a mesh
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

If you mean scale, once more the irr::scene::IMeshManipulator can help:
scaleMesh (IMesh *mesh, const core::vector3df &scale)
Post Reply