[fixed] minor 1.5 bugs

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Mirror
Posts: 218
Joined: Sat Dec 01, 2007 4:09 pm

[fixed] minor 1.5 bugs

Post by Mirror »

1.) compilation without disabling d3d8 fails :
.\CD3D8Texture.cpp(22) : fatal error C1083: Cannot open include file: 'd3dx8tex.h': No such file or directory
CD3D8ShaderMaterialRenderer.cpp
c:\irrlicht-1.5\source\irrlicht\CD3D8ShaderMaterialRenderer.h(13) : fatal error C1083: Cannot open include file: 'd3dx8core.h': No such file or directory
CD3D8ParallaxMapRenderer.cpp
c:\irrlicht-1.5\source\irrlicht\CD3D8ShaderMaterialRenderer.h(13) : fatal error C1083: Cannot open include file: 'd3dx8core.h': No such file or directory
CD3D8NormalMapRenderer.cpp
c:\irrlicht-1.5\source\irrlicht\CD3D8ShaderMaterialRenderer.h(13) : fatal error C1083: Cannot open include file: 'd3dx8core.h': No such file or directory
CD3D8Driver.cpp
c:\irrlicht-1.5\source\irrlicht\CD3D8ShaderMaterialRenderer.h(13) : fatal error C1083: Cannot open include file: 'd3dx8core.h': No such file or directory
IF i comment out d3d8 it compiles properly, but the issue is this didn't happen with the last svn compile i tried ( some weeks ago )

2.) the .chm file of 1.5 is lacking the yummy features the previous had : the definitions are not inside tables with various colours for parameters etc, instead they lay out there just like that.

3.) the changes.txt says terrain rendering is faster, but actually i'm getting 5 less fps than 1.4.1 for the terrain rendering example

keep up the good work, hopefully this feedback is helpful.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: 1.5 bugs

Post by rogerborg »

Mirror wrote:1.) compilation without disabling d3d8 fails :
Works For Me. Your DXSDK needs to be from no later than Summer 2004 to compile with DX8 support.

Mirror wrote:2.) the .chm file of 1.5 is lacking the yummy features the previous had
Uh... pass.

Mirror wrote:3.) the changes.txt says terrain rendering is faster, but actually i'm getting 5 less fps than 1.4.1 for the terrain rendering example
5 fps less than what?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Mirror
Posts: 218
Joined: Sat Dec 01, 2007 4:09 pm

Re: 1.5 bugs

Post by Mirror »

rogerborg wrote: Works For Me. Your DXSDK needs to be from no later than Summer 2004 to compile with DX8 support.
hm but as i said i didn't had this issue with the trunk version up to 2-3 weeks ago...unless i had disabled there d3d support which i doubt and i also haven't updated my dxsdk. anyway i will doublecheck it again today.

Mirror wrote:3.) the changes.txt says terrain rendering is faster, but actually i'm getting 5 less fps than 1.4.1 for the terrain rendering example
5 fps less than what?
5 fps less than the 1.4.1 version for irrlicht's terrain rendering example ( yes, release mode binary ).
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The SVN versions usually have dx disabled, and so might have had some intermediate releases. But it's definitely no general probelm with Irrlicht.
The question regarding FPS is also compared to what absolute FPS. However, the OpenGL driver is a few FPS slower than in previous versions, due to some unnecessary state changes which have to be optimized out again. This might eat up any performance gain elsewhere.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Sorry, I should have been explicit:

"5 fps less" isn't really helpful, since we don't know:

1) What that means as an absolute time-per-frame change.
2) How big that time-per-frame change is compared to 1.4.1.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Mirror
Posts: 218
Joined: Sat Dec 01, 2007 4:09 pm

Post by Mirror »

rogerborg wrote:Sorry, I should have been explicit:

"5 fps less" isn't really helpful, since we don't know:

1) What that means as an absolute time-per-frame change.
2) How big that time-per-frame change is compared to 1.4.1.
ok, I ran the 1.4.1 rendering terrain example with d3d9 driver. didn't move the camera at all, just let it at the initial position and target. after some seconds the fps stabilizes to a value of 79


for 1.5 again with d3d9 it stabilized at 74 fps.

both release mode irrlicht.dll builds, nvidia card. will try when i get home with opengl.

p.s. it could be really helpfull if the .chm file gets corrected because it is next to unreadable as it is now ( api definition section at least )

thanks for the hard work guys
Quillraven
Posts: 62
Joined: Fri Aug 22, 2008 7:22 am

Post by Quillraven »

i got a problem with the createdevice method since 1.5 version.


can any1 help me with this?

Code: Select all

/*
 * FUNCTION
 *
 * bool Init( void )
 *
 * takes: nothing
 * returns: true -> succees / false -> else
 *
 * purpose: - initializes the irrlicht engine
 */
bool CGame::Init( void )
{	
	// create the irrlicht device
	this->device = irr::createDevice( irr::video::EDT_DIRECT3D9, irr::core::dimension2d<irr::s32>(640, 480), 32,
									  false, false, false, 0 );

	if( this->device )
	{
		// no error -> set the window name
		this->device->setWindowCaption(L"Die Legende der Druiden");
		// return true
		return true;
	}
	else
		// error creating the engine
		return false;
}	// endfunction

problem in createdevice part:
1>game.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventReceiver *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@@Z)" in Funktion ""public: bool __thiscall CGame::Init(void)" (?Init@CGame@@QAE_NXZ)".
1>C:\SpieleProgrammierung\Die Legende der Druiden\Debug\Die Legende der Druiden.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
1>Das Buildprotokoll wurde unter "file://c:\SpieleProgrammierung\Die Legende der Druiden\Die Legende der Druiden\Debug\BuildLog.htm" gespeichert.
1>Die Legende der Druiden - 2 Fehler, 0 Warnung(en)
it's german but i think you know what the compiler tries to say, that there is no createdevice function defined anywhere.
didn't have that problem with 1.4.x


i compiled the irrlicht 9.0 source project to create the 64 bit dll


edit: i'm just stupid :(
forgot to copy the lib files in the 64bit lib folder ....
Mirror
Posts: 218
Joined: Sat Dec 01, 2007 4:09 pm

Post by Mirror »

Mirror wrote:
ok, I ran the 1.4.1 rendering terrain example with d3d9 driver. didn't move the camera at all, just let it at the initial position and target. after some seconds the fps stabilizes to a value of 79


for 1.5 again with d3d9 it stabilized at 74 fps.

both release mode irrlicht.dll builds, nvidia card. will try when i get home with opengl.

p.s. it could be really helpfull if the .chm file gets corrected because it is next to unreadable as it is now ( api definition section at least )

thanks for the hard work guys
bold part : tried also with opengl. again stabilizes at 5 fps lower ( from 84 to 79 ), initial screen without moving the camera or its target. so the issue affects both d3d and opengl.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

Quillraven wrote: i compiled the irrlicht 9.0 source project to create the 64 bit dll
Oh cool irrlicht 9.0 can i have a copy too??


:P
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Post Reply