http://www.youtube.com/watch?v=zibI4BWjquY
In the video when I load up the level I am hitting the up key and the down key.
Is there a possible reason why the screen turns grey?
On a restart it works fine, but...I don't want to restart every time that happens.
Here is a better example of it:
http://www.youtube.com/watch?v=AJGb_IXtTNo
I also switched the Irrlicht dll to the one that comes with the SDK and the opengl driver does the same thing.
Grey Screen/possible bug
Print the camera location to the window caption and tell us if it says qnan or nan or something similar. That means there was a math error which caused a infinite camera position (div by for example).
"Irrlicht is obese"
If you want modern rendering techniques learn how to make them or go to the engine next door =p
If you want modern rendering techniques learn how to make them or go to the engine next door =p
They don't look like X Y and Z values to me. The first image shows text that is never printed by "%f" even if the value is bad. In the second image there is no decimal place, exponent or sign. In both pics they're showing the same value. Doesn't make sense.
Are you running on a dual core 64-bit machine? There is a workaround in SVN for windows multi-processor machines-
Are you running on a dual core 64-bit machine? There is a workaround in SVN for windows multi-processor machines-
either use SVN, wait for Irrlicht 1.4, or change Timer::initTimer() in os.cpp to the following-changes.txt wrote: - Hires timers are disabled on windows systems with more than one CPU, due to bugs
in the BIOS of many multi-core motherboards. To enable hires timers in your project,
use SetProcessAffinityMask to set to use only one CPU before creating the device.
Code: Select all
void Timer::initTimer()
{
// disable hires timer on multiple core systems, bios bugs result in bad hires timers.
SYSTEM_INFO sysinfo;
DWORD affinity, sysaffinity;
GetSystemInfo(&sysinfo);
s32 affinityCount = 0;
// count the processors that can be used by this process
if (GetProcessAffinityMask( GetCurrentProcess(), &affinity, &sysaffinity ))
{
for (u32 i=0; i<32; ++i)
{
if ((1<<i) & affinity)
affinityCount++;
}
}
if (sysinfo.dwNumberOfProcessors == 1 || affinityCount == 1)
{
HighPerformanceTimerSupport = QueryPerformanceFrequency(&HighPerformanceFreq);
}
else
{
HighPerformanceTimerSupport = false;
}
initVirtualTimer();
}
-
- Posts: 13
- Joined: Tue May 22, 2007 5:25 am
-
- Posts: 13
- Joined: Tue May 22, 2007 5:25 am