another test request (now with edge anti-aliasing)

Started by
22 comments, last by JohnHurt 18 years, 9 months ago
Can people please test my app and see if it works, it will save me a lot of hassle at this early stage! -- It's a sprite engine test. linky (~80k) [EDIT] - Just figured out a way to get the edges of my sprites smooth. [Edited by - JohnHurt on June 30, 2005 10:57:12 AM]
Advertisement
Very nice [smile]

Specs:
Athlon XP 3200+
512 mb pc2700
GeForce 5200fx

Average fps: 75

Note: It did crash when I tried to exit the program

Whiz_Kid
--------------------------------A man of few words does not mean he does not have big ideas
Works Good at 75 fps then crashes on exit.

Here is the Log:
[28/6/2005 19:35:28] gtWin32App::Create() - Registered window class.
[28/6/2005 19:35:28] gtWin32App::CreateStandardWindow() - Creating window.
[28/6/2005 19:35:28] gtWin32App::CreateStandardWindow() - Window created.
[28/6/2005 19:35:28] gtWin32App::Create() - SetWindowLong() success.
[28/6/2005 19:35:28] gtWin32App::Create() - App running...
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - Got device context.
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - Got pixel format.
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - Set pixel format.
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - Got rendering context.
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - Activated rendering context.
[28/6/2005 19:35:28] gtGLRenderer::InitDevice() - OpenGL renderer intialised.
[28/6/2005 19:35:28] gtGLTextureManager::AddTGA() - *WARNING* Texture (SMOKE2.tga) not loaded [].
[28/6/2005 19:35:28] gtSceneManager::AddFXFile() - Particle definition file (rain.xml) loaded successfully.
[28/6/2005 19:35:28] gtGLTextureManager::AddTGA() - Texture (sprites.tga, 1) loaded successfully.
[28/6/2005 19:35:28] gtGLTextureManager::AddTGA() - !!!WARNING!!! Texture (sprites.tga) not loaded [duplicate found].
[28/6/2005 19:35:31] gtGLRenderer::Destroy() - Released device and rendering contexts.

Specs:

2.4 GHz Pentium 4
512 MB Ram
GeForce FX 5600
Awesome! Looks great.

~830 FPS [790-850 range]
P4 3.2GHZ HT
1GB Ram
Ati 9600 Pro 128MB

It did not crash for me either at the end.
Hmmm, crash related to GeForce maybe? I'm testing on ATI here. Why on shutdown? How odd.
Go Hulk!

260 Average FPS
P4 1.8GHZ
386MB RAM
ATI 9600 Pro 256MB

So, when do we get to see this nifty stuff in a game? :)
Soon....

It's all coming together gradually!
Worked well until I tried to exit. Then it crashed pretty hard.

AMD Duron 800 MHz
512 MB RAM
NVIDIA TNT2 Model 64
[28/6/2005 22:45:22] gtWin32App::Create() - Registered window class.[28/6/2005 22:45:22] gtWin32App::CreateStandardWindow() - Creating window.[28/6/2005 22:45:22] gtWin32App::CreateStandardWindow() - Window created.[28/6/2005 22:45:22] gtWin32App::Create() - SetWindowLong() success.[28/6/2005 22:45:22] gtWin32App::Create() - App running...[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - Got device context.[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - Got pixel format.[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - Set pixel format.[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - Got rendering context.[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - Activated rendering context.[28/6/2005 22:45:22] gtGLRenderer::InitDevice() - OpenGL renderer intialised.[28/6/2005 22:45:23] gtGLTextureManager::AddTGA() - *WARNING* Texture (SMOKE2.tga) not loaded [].[28/6/2005 22:45:23] gtSceneManager::AddFXFile() - Particle definition file (rain.xml) loaded successfully.[28/6/2005 22:45:23] gtGLTextureManager::AddTGA() - Texture (sprites.tga, 1) loaded successfully.[28/6/2005 22:45:23] gtGLTextureManager::AddTGA() - !!!WARNING!!! Texture (sprites.tga) not loaded [duplicate found].[28/6/2005 22:45:57] gtGLRenderer::Destroy() - Released device and rendering contexts.
Crashes on exit here to. It crashes in nvoglnt.dll, so it probably has to do with nVidia's implementation of OpenGL and the way you are cleaning up.

Log is as follows:
[28/6/2005 23:00:53] gtWin32App::Create() - Registered window class.[28/6/2005 23:00:53] gtWin32App::CreateStandardWindow() - Creating window.[28/6/2005 23:00:53] gtWin32App::CreateStandardWindow() - Window created.[28/6/2005 23:00:53] gtWin32App::Create() - SetWindowLong() success.[28/6/2005 23:00:53] gtWin32App::Create() - App running...[28/6/2005 23:00:53] gtGLRenderer::InitDevice() - Got device context.[28/6/2005 23:01:01] gtGLRenderer::InitDevice() - Got pixel format.[28/6/2005 23:01:01] gtGLRenderer::InitDevice() - Set pixel format.[28/6/2005 23:01:01] gtGLRenderer::InitDevice() - Got rendering context.[28/6/2005 23:01:01] gtGLRenderer::InitDevice() - Activated rendering context.[28/6/2005 23:01:01] gtGLRenderer::InitDevice() - OpenGL renderer intialised.[28/6/2005 23:01:01] gtGLTextureManager::AddTGA() - *WARNING* Texture (SMOKE2.tga) not loaded [].[28/6/2005 23:01:01] gtSceneManager::AddFXFile() - Particle definition file (rain.xml) loaded successfully.[28/6/2005 23:01:01] gtGLTextureManager::AddTGA() - Texture (sprites.tga, 1) loaded successfully.[28/6/2005 23:01:01] gtGLTextureManager::AddTGA() - !!!WARNING!!! Texture (sprites.tga) not loaded [duplicate found].[28/6/2005 23:01:12] gtGLRenderer::Destroy() - Released device and rendering contexts.

Specs:
Intel Pentium M 750
1GB PC2700 DDRSDRAM
nVidia GeForce 6600 Go 128MB
Windows XP Pro SP2 (+ hotfixes)
Forceware v71.10



jfl.
Here's the code I'm using for shuting down:
bool gtGLRenderer::Destroy(){	tm->DestroyTextures();	SAFE_DELETE(tm);	// Do We Have A Rendering Context?	if ( m_hRC )	{		// Are We Able To Release The DC And RC Contexts?		if ( !wglMakeCurrent(NULL,NULL) )		{			gtLogger::Log("gtGLRenderer::Destroy() - Release Of DC And RC Failed\n");			MessageBox(NULL,"gtGLRenderer::Destroy() - Release Of DC And RC Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);		}		gtLogger::Log("gtGLRenderer::Destroy() - Released device and rendering contexts.\n");   		// Are We Able To Delete The RC?		if ( !wglDeleteContext(m_hRC) )		{			gtLogger::Log("gtGLRenderer::Destroy() - Release Rendering Context Failed\n");			MessageBox(NULL,"gtGLRenderer::Destroy() - Release Rendering Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);		}		m_hRC = NULL; // Set RC To NULL		gtLogger::Log("gtGLRenderer::Destroy() - Rendering context deleted.\n");	}	// Are We Able To Release The DC	if ( m_hDC && !ReleaseDC(m_hWnd, m_hDC) )	{		gtLogger::Log("gtGLRenderer::Destroy() - Release Device Context Failed\n");		MessageBox(NULL,"gtGLRenderer::Destroy() - Release Device Context Failed","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);		m_hDC = NULL; // Set DC To NULL		return false;	}	gtLogger::Log("gtGLRenderer::Destroy() - Deleted device context.\n");	gtLogger::Log("gtGLRenderer::Destroy() - OpenGL renderer shutdown.\n");	return true;}


The crash seems to happen when the rendering context is deleted, but no error is thrown up. Any ideas?

This topic is closed to new replies.

Advertisement