Problem with DIRECT3D9 :: OPENGL ...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
darko024
Posts: 9
Joined: Tue Mar 14, 2006 2:45 am

Problem with DIRECT3D9 :: OPENGL ...

Post by darko024 »

hi ,
i have problem with video drivers ...

I was make one terrain [ terrain = smgr->addTerrainSceneNode( "./p... ] and everything worksperfect (i use OPENGL vd).

But if i load IAnimatedMesh * mesh ... things go wrong... my frame rate is 0 . If i load IAnimatedMesh without terrain , frame rate is 0 too . Now i try to change vd and set to DIRECT3D9 but my program was crush on start. ( Windows , DirectX9c - works good in comercial games).

OK , then i use EDT_SOFTWARE2 and IAnimatedMesh works fine but when load terrain :shock: slow slow slow ....


How can i solve this problem ... thx

P.S. I use Irrlicht 1.2
darko024
Posts: 9
Joined: Tue Mar 14, 2006 2:45 am

Post by darko024 »

i solve this for opengl ...

but DirectX ....
kburkhart84
Posts: 277
Joined: Thu Dec 15, 2005 6:11 pm

Post by kburkhart84 »

We need more information. Such as your code and system specs.
Apocalypse TH6
Posts: 16
Joined: Sat Jan 27, 2007 10:24 pm
Location: San Mateo, CA

Post by Apocalypse TH6 »

The problem is probaby related to the complier you are using. Direct3D 9 and 8 aren't compiled into the Irrlicht.dll for the gcc compliers (Yes, there's two). A gcc compiler is something like Dev-C++. If your program crashes with the message "Direct3D x was not compiled into this dll", then you need to switch to Microsoft Visual C++ or C# or whatever you are using. There is a free express version. The Irrlicht.dll for it is in a folder called Win32-VisualStudio in the \bin directory. OpenGL is compiled into both dlls. I hoped that helped.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

If you want directx to work just fine with your dev-c++, then you will have to change something in the irrlicht sourcecode and recompile it. Or you can ask someone in this forum who had already done this. :D
darko024
Posts: 9
Joined: Tue Mar 14, 2006 2:45 am

Post by darko024 »

Apocalypse TH6 wrote: then you need to switch to Microsoft Visual C++ or C# or whatever you are using. There is a free express version. The Irrlicht.dll for it is in a folder called Win32-VisualStudio in the \bin directory. OpenGL is compiled into both dlls. I hoped that helped.


OK , it work


Thx for all !
Post Reply