Instanced Effect File
Instanced Effect File
Where can I find the original InstancedEffect effect? I am trying to us monogame, but in order to use it I have to compile the effect using mgfx. There is only the xnb file included as far as I know.
Re: Instanced Effect File
You can grab the original InstancedEffect.fx code from the BEPUphysicsDemosContent project in the main source download.
Re: Instanced Effect File
Ok, thanks I thought I had looked through all the source project. Thanks 

Re: Instanced Effect File
I was able to compile the effect. Everything seemed to work, but when I try to load the "textureIndicesParameter" It returns null. I'm pretty sure it's an error specifically with that parameter, because all the others seem to load fine. What is it?
Re: Instanced Effect File
Unknown! 

Re: Instanced Effect File
Ok, thanks. Should I try and write my own model drawing system. If so can you point me to somewhere where I can find out how to interact with the engine? Thanks for your help!
Re: Instanced Effect File
That's up to you. The BEPUphysicsDrawer is a decent debug visualizer, but it is miles away from being a proper graphics engine. If you want that sort of engine, then you'll definitely need your own. If you just want to draw the physical representation of objects for debugging (perhaps to see if things match up with your real renderer), then something like the BEPUphysicsDrawer would be a good idea.Should I try and write my own model drawing system.
The BEPUphysicsDemos are the largest single resource. The BEPUphysicsDrawer source itself would provide a few pointers. You could also check out some of the more constrained examples in the documentation, like the Getting Started demo.If so can you point me to somewhere where I can find out how to interact with the engine? Thanks for your help!
Re: Instanced Effect File
Thanks! I'll look into those and try to get a rendering system together.