IMPORTANT PyOgre and Python-Ogre have been discontinued. OGRE >= 1.10 provides Python bindings directly as a component. For Ogre 1.12, rather use
I installed ogre-python 13.1.1. Where can I found examples in Python? I do not understand what this mean "OGRE >= 1.10 provides Python bindings directly as a component"? Can you show a link that shows how to use "Python bindings directly as a component". I am not an expert in Python. I just want to create a window and load some 3D models.
Maybe it is not a good idea to start to use Ogre with Python?
this will likely complain as the python package does not come with the Sinbad.mesh asset.
However, you can replace that by "Prefab_Cube" to get it running.
For the most part you will have to read the C++ docs and "translate" them to python in your head.
Thanks for Python example. It works. I found only old examples. That yellow text ("Python-Ogre have been discontinued") in docs was confused me.
That C++ building instruction is very difficult for me because I do not now where to add that lines of CMake. I know how to use "CMake GUI" only. I have already built Ogre3D Release from source using "CMake GUI" and the "mingw32-make" command. I made a static build. I tried to build a few years ago but I had errors. Ogre3D 13.1.1 has built successfully.
# specify which components you need.
# The CONFIG flag makes sure you get OGRE instead of OGRE-next
find_package(OGRE REQUIRED COMPONENTS Bites RTShaderSystem CONFIG)
# add the source files as usual
add_executable(0_Bootstrap Bootstrap.cpp)
# this also sets the includes and pulls third party dependencies
target_link_libraries(0_Bootstrap OgreBites OgreRTShaderSystem)
Go inside a CMakeLists file that defines your project build settings.
this will likely complain as the python package does not come with the Sinbad.mesh asset.
However, you can replace that by "Prefab_Cube" to get it running.
For the most part you will have to read the C++ docs and "translate" them to python in your head.