Hallo,
Can someone explain to me what this error message in the Ogre.Log means. Occasionally the render thread smears.
OGRE EXCEPTION(3:RenderingAPIException): Error Presenting surfaces in D3D9Device::present at OgreD3D9Device.cpp (line 1031)
thx TFT
OGRE EXCEPTION(3:RenderingAPIException)
OGRE EXCEPTION(3:RenderingAPIException)
TFT seid 1989
Aktuelles Projekte : Driving School Evergarden
YouTube : Pure Basic to go
FaceBook : Temuçin SourceMagic Games
DISCORD : SourceMagic
W10 , i9 9900K ,32 GB Ram , GTX Titan , 3 Monitore FHD
ARDUINO Freak
Aktuelles Projekte : Driving School Evergarden
YouTube : Pure Basic to go
FaceBook : Temuçin SourceMagic Games
DISCORD : SourceMagic
W10 , i9 9900K ,32 GB Ram , GTX Titan , 3 Monitore FHD
ARDUINO Freak
Re: OGRE EXCEPTION(3:RenderingAPIException)
since there is OgreD3D9Device.cpp in the error msg, then i guess you have compiled the code with the default context (DX9) . so try compiling with Opengl context. add the word opengl in the Compiler - Compiler Options - Library Subsystem
and see what will happen
and see what will happen
Re: OGRE EXCEPTION(3:RenderingAPIException)
it is not work, i see a black screen. Example works with opengl. I am call Renderworld() in extra Thread.
Sorry ... my english it is .... Bààààà
Sorry ... my english it is .... Bààààà
TFT seid 1989
Aktuelles Projekte : Driving School Evergarden
YouTube : Pure Basic to go
FaceBook : Temuçin SourceMagic Games
DISCORD : SourceMagic
W10 , i9 9900K ,32 GB Ram , GTX Titan , 3 Monitore FHD
ARDUINO Freak
Aktuelles Projekte : Driving School Evergarden
YouTube : Pure Basic to go
FaceBook : Temuçin SourceMagic Games
DISCORD : SourceMagic
W10 , i9 9900K ,32 GB Ram , GTX Titan , 3 Monitore FHD
ARDUINO Freak
Re: OGRE EXCEPTION(3:RenderingAPIException)
I think to read DX9 can not work in threads
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: OGRE EXCEPTION(3:RenderingAPIException)
Don't run RenderWorld() in a thread by itself.
Each loop must contain the following sequence: Loop: 3D work : RenderWorld() : Sprite work : Flipbuffers() : Begin Loop again
It doesn't have to be a "main loop", though. All procedures can contain be a "main loop"
You can create numerous procedures which contains RenderWorld() and Flipbuffers(), you just have to exit each section properly.
Personally I use threads for handling data only.
Each loop must contain the following sequence: Loop: 3D work : RenderWorld() : Sprite work : Flipbuffers() : Begin Loop again
It doesn't have to be a "main loop", though. All procedures can contain be a "main loop"
You can create numerous procedures which contains RenderWorld() and Flipbuffers(), you just have to exit each section properly.
Personally I use threads for handling data only.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.