very strange phenomenon!

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
r5ive
Posts: 20
Joined: Wed Jun 18, 2008 5:42 pm
Location: Berlin

very strange phenomenon!

Post by r5ive »

hello,

i created a project using visual studio 2008 express edition.
since the projects name is "quake3", my executable name is also "quake3.exe".

now im using xeffect for bloom, blur, shadows and so on. but no matter what i do, the shadows look completly unlike the examples blindside supplied with the source.

the only difference is that im using my own bsp map instead of the offered b3d map. now the crazy part:

as long as the executables name is "quake3.exe" the shadows looks incorrect. But as soon as i rename it to whatever (doesnt matter if "quake2.exe", "quake4.exe" or "test.exe") the shadows look perfect!

how is that possible? is this some kind of protection to prevent people from replacing the original quake3.exe with an (irrlicht/xeffect)-improved one?

since im working on some bsp maps for a game i wanted gtkradiant to start my own quake3.exe to see the results using xeffects improvements quickly. similar to what afecelis suggested in his tutorial.

well its a strange phenomenon or maybe im really tired. however i spend several hours to come behind it. it looks like intention to me. does anybody know what is going on?

btw: does anybody have an idea how to get this gtkradiant problem solved? thank you!

EDIT: i just renamed blindsides "Example1.exe" to "quake3.exe" and get the same strange results! try it out.

r5ive
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Post by Seven »

I cant believe that you are even talking about this out in the open. For God's sake man, encrypt your text if you are talking about it so that shhhhhh. someone's here.....
drewbacca
Posts: 38
Joined: Tue Jan 30, 2007 6:49 pm

Post by drewbacca »

I think its pretty common for graphics drivers to make game-specific optimizations. They only use the executable name for applying the optimization, so your graphics driver is probably disabling things that don't matter for quake3 to make it perform faster. I would just choose a different name, or check if your graphics driver has configurable options for game optimizations.
r5ive
Posts: 20
Joined: Wed Jun 18, 2008 5:42 pm
Location: Berlin

Post by r5ive »

hi,

yes, its a driver issue. i didnt think of that at all. now everything looks fine.

thanks

r5ive
Sundar
Posts: 84
Joined: Mon Jun 05, 2006 11:05 am

Post by Sundar »

drewbacca. that is awesome man. you must be a detective. :D
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Lol ... if I had this error it would have driven me mad ;). I don't think that I would *ever* have thought of game-specific optimizations from the graphics driver.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Oh no you discovered my secret plans for world domination! :P

Nice find.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply