I'm fairly inexperienced with the Ogre 3D engine... but I've been messing around with it lately, and creating vertices + meshes "manually" or in-code, not loaded from files.
I'm wondering if it is possible to move the vertices of a mesh in realtime? For example, if I create even a simple 3-vertex 1-face mesh, can I move the vertices (with mouse control maybe) while rendering the entity that uses it?
But wait -- before you say "if you move the vertices you will continually need to recalculate the face normals!" -- this is not a problem here, because my mesh are only going to be in the X-Y plane with normals point straight up in the Z direction.
(Basically I am trying to manipulate 2D polygons, but with 3D acceleration and perspective/zoom/angle effects.)
Manipulate vertices after mesh creation?
Re: Manipulate vertices after mesh creation?
If you want to edit a Vertex without having to recreate the mesh I believe the only way is to give the mesh a skeleton. You can't manually give a mesh a skeleton in Purebasic. So you have to use a different program for that. I personally use Blender, but that's just what i like to use.
I'm no expert on 3D though so there may be a easier way of Vertex manipulation.
I'm no expert on 3D though so there may be a easier way of Vertex manipulation.
Re: Manipulate vertices after mesh creation?
It's planned for the next version.
Re: Manipulate vertices after mesh creation?
Great! Perfect timing, I'm trying out a new idea and I was just messing with the "manual mesh" examples.


