I cannot find the Maps of Gunz 2 in my folder.
I only see Maps.001, Maps.002, Maps.003, Maps.004 and Maps.mrf
I cannot find the Maps of Gunz 2 in my folder.
I only see Maps.001, Maps.002, Maps.003, Maps.004 and Maps.mrf
Compile it in release mode and just enable the debug info generation in Properties>link>Debugging.
Some tips to run it in weaker GPUs
In
bool CustomMap::Initialize()
you can use a mix of techniques:
Code:Light: IRendererTechnique *pTech = (IRendererTechnique*)getInterface(DEFAULT_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech); or IRendererTechnique *pTech = (IRendererTechnique*)getInterface(DEFAULT2_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech); or Techs 3 and 4 must be used together IRendererTechnique *pTech1 = (IRendererTechnique*)getInterface(DEFAULT3_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech1); IRendererTechnique *pTech2 = (IRendererTechnique*)getInterface(DEFAULT4_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech2); or Heavy: IRendererTechnique *pTech1 = (IRendererTechnique*)getInterface(DEFAULT3_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech1); IRendererTechnique *pTech2 = (IRendererTechnique*)getInterface(DEFAULT4_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech2); IRendererTechnique *pTech3 = (IRendererTechnique*)getInterface(DEFAULT5_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech3); IRendererTechnique *pTech4 = (IRendererTechnique*)getInterface(DEFAULT6_TECHNIQUE_INTERFACE); m_pRenderer->AddTechnique(pTech4);
DEFAULT_TECHNIQUE_INTERFACE uses directx fixed function
DEFAULT2_TECHNIQUE_INTERFACE uses a simple shader
DEFAULT3_TECHNIQUE_INTERFACE and
DEFAULT4_TECHNIQUE_INTERFACE are the deferred rendering passes.
DEFAULT5_TECHNIQUE_INTERFACE SSAO optional (can be only used with deferred rendering)
DEFAULT6_TECHNIQUE_INTERFACE DoF optional (can be only used with deferred rendering).
Does anyone already integrated it in some pserver? would be nice to see people playing with it..
grandao, I'm getting ready to implement it on Artic, but we've run into a snag with ATI cards. For some reason, ATI cards do not render the textures and the entire screen is black. I'm planning on releasing what I have done to the public (as per GPL), but i'd like it to not have the issue. Any ideas?
Also, all of the techniques are now loaded from the filesystem in my local copy. Yay!
If you are forcing antialising in the catalyst you will get a black screen, it is caused because in the deferred renderer I bind render targets without binding a new depth buffer with the same resolution. If you have disabled the antialising and still get this issue try use the simplest fixed function technique so that we can test if it only occurs in the deferred renderer.
Also you can use the gDEBugger tool.
Sorry for the delay in the reply.
Last edited by grandao; 17-07-13 at 04:46 AM.
Yeah, nothing other than it's directly related to rendering of the gz2 maps (ie; the character displays just fine and the world doesn't render, but collides with the player), and that the ATI card is an ATI 5770 Sapphire.
I'm gonna keep on looking into the issue but unfortunately I can't debug it either, it's one of my associates online that has the issue.
There was something about ver. 3 pixel shaders and ATI cards... For the life of me, I can't recall what though.
Could you possibly have your friend run PIX and upload the file?
Sorry to revive such an old thread, but I'm trying to do some experimentation's with this and i've run into a snag. If someone could help me fix this I would greatly appreciate it.
![]()
The solution is simpler than simple. Jesus, quit trying if you can't even see this horrible mistake.