Removed

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
timl132
Kobold
Posts: 27
Joined: Sun Mar 25, 2018 5:57 pm

Removed

Post by timl132 »

Removed

Last edited by timl132 on Sun Jan 08, 2023 9:43 pm, edited 1 time in total.
timl132
Kobold
Posts: 27
Joined: Sun Mar 25, 2018 5:57 pm

Removed

Post by timl132 »

Removed

Last edited by timl132 on Sun Jan 08, 2023 9:43 pm, edited 1 time in total.
xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 168

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

Post 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
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

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

Post 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: )
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
Post Reply