Page 2 of 2

Re: Newbie 3D engine question

Posted: Thu Mar 10, 2016 6:15 pm
by Samuel
mrw wrote: Not entirely true, since these are mostly backwards compatible by using emulation and it also depend on the gfx-drivers. Most often I don“t have to do anything. I can easily run most DX7 and DX9 apps on a freshly installed Win10. This was the first time I had to install DX9 for several years. But apparently on this machine(a laptop with dual gfxcards with different brands) PB needed a full install of DX9.
Not that it matters much at this point, but DirectX 12 is backwards compatible with some graphic cards like you say (for Nvidia I believe it's 400 series and up), but that's not the issue you were having.
DirectX 9 and 12 are two completely different beasts and do not support each other in any way. Which is why you needed to download the DLLs for DirectX 9. The reason most apps work without having to download anything is because they come with the required D3D DLLs to run them. But unless those DLLs are put into the system folder other applications won't be able find them. Which is why you needed to download the D3D9 DLLs in this case.
Now on to getting a grasp of OGREs peculiar stuff like Materials, Billboards and Scripts and all the rest.. Everything seems so much more complicated that it has to be.
Scripts are a bit weird at first, but in most cases you can avoid them unless you want to use shaders or a couple of the material features not in Purebasic, yet.
They have a little bit of a learning curve, but they are pretty easy to work with once you get used to them.

Re: Newbie 3D engine question

Posted: Fri Mar 11, 2016 10:46 am
by djes
I had some issues in the past with the

Code: Select all

WorldShadows(#PB_Shadow_Additive)
command on some gfx cards. My two cents.