Page 1 of 1

Removed

Posted: Wed Mar 28, 2018 2:18 pm
by timl132

Removed


Removed

Posted: Fri Mar 30, 2018 10:59 am
by timl132

Removed


Re: Need some help with understanding Ogre3D structures and finding tutorials.

Posted: Fri Mar 30, 2018 5:15 pm
by xrgo
timl132 wrote: Wed Mar 28, 2018 2:18 pm So I was convinced to use Ogre3D for my future projects
Yay! welcome!
timl132 wrote: Wed Mar 28, 2018 2:18 pm 1. Am I right a mesh must be created by
CODE: SELECT ALL

MeshManager::getSingleton().createMesh()// or createPlane
or something else with Create?
And there thus is no way of managing my meshes and objects my self?
2. IS it possible to manage meshes and objects myself?
You can create mesh manualy like this:

Code: Select all

        Ogre::MeshPtr newMesh = Ogre::MeshManager::getSingleton().createManual(mNameMeshFinal, Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
then fill it up with vertex data (pos, normals, uv, color, etc) and the indexes.
you can manage all stuffs by yourself if you want, but the question is a bit broad, can you specify exactly what you mean?
timl132 wrote: Wed Mar 28, 2018 2:18 pm 3. Can meshes be edited when they are already created?
yes! even in real time, in the cpu and then submiting to gpu, or directly on the gpu using shaders (way faster)
4. Do I select them by name?
or by pointer
5. I have no experience with those components, sorry

Re: Need some help with understanding Ogre3D structures and finding tutorials.

Posted: Sat Mar 31, 2018 3:57 am
by frostbyte
for tutorials and general ogre usage look at the ogre3d.org page under the support tab, you can also check ogre's github repo https://github.com/OGRECave/ogre
ogre-wiki has plenty of snipplets/tutorials http://wiki.ogre3d.org/Snippets
and this is what you need http://wiki.ogre3d.org/Generating+A+Mesh
ogre playpen/tests contain lot of small examples...IIRC one of them show you how to manipulate mesh data
beside those there are tons of foss ogre projects and plugins you can learn from( e.g ogitor skyx ogre-assimp etc )
Anyone?
ogre developers are busy people...
most of the problems( at least at ogre-beginner level ) have already been tackled in the forum, don't be shy to use the search bar before you summon help( use your mana wisely :wink: )