OGRECave / ogre-procedural

procedural geometry for Ogre3D
https://ogrecave.github.io/ogre-procedural/
MIT License
40 stars 17 forks source link

Ogre 2.1 port #147

Closed mimon closed 4 years ago

mimon commented 6 years ago

This is a work-in-progress PR, but I opened it for the purpose of feedback and comments on how some things should be implemented. I can compile the library and run one of the sample application using Ogre 2.1, on my machine (Mac OSX 10.12).

What I did:

What's missing/need to be done:

I have created the ManualObject using (in Path::realizeMesh())

Ogre::IdType id = Id::generateNewId<v1::ManualObject>();
v1::ManualObject* manual = OGRE_NEW v1::ManualObject(id, &mObjectMemoryMgr, smgr);

Where mObjectMemoryMgr lives in the current class. Is that the way to do it or am I doing it wrong?

Hope this PR will be useful. Cheers!

P.S The coding style is dirty (missing indentation etc.) but I'll clean that up once I get feedback on whether this PR makes sense or not.

paroj commented 4 years ago

superceded #154