ZacharyH
15-06-2006 17:51:31
There are 2 things I’d like to do in OGRE that I can’t find.
1) When an entity is clicked on the screen, I’d like for some kind of widget/manipulator to be displayed. The user can then use this to rotate, scale, and translate the entity and have that reflected in the Scene Node for the entity.
2) I’d like to be able to create a scene programmatically that contains cameras, lights, nodes, entities, viewports, etc. I want to then save this to a file or small number of files and be able to reload it at a later time. I've looked at oFusion but from what I can tell it only loads. I've looked at the C++ code under DotSceneInterface which will do loading and saving. I'm writing in C# and tried to make some wrappers for it but couldn’t figure out how to do it. I also tried using Swig to make the wrappers for me but couldn’t figure out how to do that either. Swig made some code but the types it creates aren’t compatible with the types of the C# data structures. Does any one have some wrappers or detailed instructions on how to make them?
1) When an entity is clicked on the screen, I’d like for some kind of widget/manipulator to be displayed. The user can then use this to rotate, scale, and translate the entity and have that reflected in the Scene Node for the entity.
2) I’d like to be able to create a scene programmatically that contains cameras, lights, nodes, entities, viewports, etc. I want to then save this to a file or small number of files and be able to reload it at a later time. I've looked at oFusion but from what I can tell it only loads. I've looked at the C++ code under DotSceneInterface which will do loading and saving. I'm writing in C# and tried to make some wrappers for it but couldn’t figure out how to do it. I also tried using Swig to make the wrappers for me but couldn’t figure out how to do that either. Swig made some code but the types it creates aren’t compatible with the types of the C# data structures. Does any one have some wrappers or detailed instructions on how to make them?