Jump to content
  • Advertisement
Sign in to follow this  
JohnHurt

another test request (now with edge anti-aliasing)

This topic is 4885 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!