Problems with new instancing in ogre samples

Problems building or running the engine, queries about how to use features etc.
Post Reply
ori30ffs
Gnoblar
Posts: 11
Joined: Tue Sep 18, 2018 6:38 am

Problems with new instancing in ogre samples

Post by ori30ffs »

Ogre Version:1.11
Operating System: Windows 10
Render System:Direct3D11/Direct3D9

hello, I'm trying to implement the instancing to my application. Unfortunately, I have some problems with that. So, that's why I downloaded Ogre 1.11 SDK samples (https://bintray.com/ogrecave/ogre/downl ... 15-x64.zip).
I run 'New Instancing' sample.
Direct3D11: I have see this situation in all instancing types.
Image

But 'no instancing' works fine.
Image

Direct3D9: I have an error when run this sample.

Image
I cannot attach log file because as I understand there is no log file on this build.

So my question, Is the instancing problem with a build or with my OS?
Can you please suggest me the right way for implementing an instancing in my project? (Which ogre version and directx version will be best for that?)
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: Problems with new instancing in ogre samples

Post by paroj »

not all Shaders were updated for D3D11, thats why Instancing does not work there. For D3D9, Cg is required for instancing, but the SDK is build without Cg - so you would have to rebuild it yourself. GL/ GL3Plus should work though.
Post Reply