Skip to content

Commit

Permalink
Undid Intel fix, as it breaks other things.
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyQBD committed May 27, 2014
1 parent 106318d commit a8fdc0f
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 93 deletions.
4 changes: 2 additions & 2 deletions 3DEngineCpp/3DGameEngineCpp.depend
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
<vector>
<map>

1400869949 source:/home/batman/Workspaces/C Workspaces/3DEngineCpp/3DEngineCpp/renderingEngine.cpp
1400886972 source:/home/batman/Workspaces/C Workspaces/3DEngineCpp/3DEngineCpp/renderingEngine.cpp
"renderingEngine.h"
"window.h"
"gameObject.h"
Expand Down Expand Up @@ -302,7 +302,7 @@
1396643714 /home/batman/Workspaces/C Workspaces/3DEngineCpp/3DEngineCpp/forwardSpot.h
"shader.h"

1400607360 source:/home/batman/Workspaces/C Workspaces/3DEngineCpp/3DEngineCpp/lighting.cpp
1400870544 source:/home/batman/Workspaces/C Workspaces/3DEngineCpp/3DEngineCpp/lighting.cpp
"lighting.h"
"renderingEngine.h"
"shader.h"
Expand Down
176 changes: 88 additions & 88 deletions 3DEngineCpp/3DGameEngineCpp.layout
Original file line number Diff line number Diff line change
@@ -1,224 +1,224 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<ActiveTarget name="Release" />
<File name="gameObject.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="transform.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="476" topLine="0" />
<Cursor1 position="1045" topLine="35" />
</Cursor>
</File>
<File name="freeMove.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="camera.h" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="625" topLine="0" />
<Cursor1 position="339" topLine="0" />
</Cursor>
</File>
<File name="sdl_backend.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="sdl_backend.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="348" topLine="0" />
<Cursor1 position="631" topLine="9" />
</Cursor>
</File>
<File name="material.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="transform.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="720" topLine="0" />
<Cursor1 position="457" topLine="0" />
</Cursor>
</File>
<File name="shader.cpp" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="referenceCounter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1347" topLine="18" />
<Cursor1 position="237" topLine="0" />
</Cursor>
</File>
<File name="util.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="mappedValues.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="138" topLine="0" />
<Cursor1 position="641" topLine="0" />
</Cursor>
</File>
<File name="meshRenderer.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="coreEngine.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="430" topLine="0" />
<Cursor1 position="140" topLine="3" />
</Cursor>
</File>
<File name="game.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="util.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="261" topLine="0" />
<Cursor1 position="138" topLine="0" />
</Cursor>
</File>
<File name="3DEngine.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="input.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="163" topLine="0" />
<Cursor1 position="1858" topLine="90" />
</Cursor>
</File>
<File name="lighting.cpp" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="gameObject.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="856" topLine="0" />
<Cursor1 position="1836" topLine="66" />
</Cursor>
</File>
<File name="coreEngine.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="freeMove.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="140" topLine="3" />
<Cursor1 position="625" topLine="0" />
</Cursor>
</File>
<File name="vertex.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="game.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="134" topLine="0" />
<Cursor1 position="261" topLine="0" />
</Cursor>
</File>
<File name="camera.h" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lighting.cpp" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="339" topLine="0" />
<Cursor1 position="856" topLine="0" />
</Cursor>
</File>
<File name="freeLook.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="game.cpp" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="877" topLine="0" />
<Cursor1 position="178" topLine="0" />
</Cursor>
</File>
<File name="transform.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="shader.cpp" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1045" topLine="35" />
<Cursor1 position="1347" topLine="18" />
</Cursor>
</File>
<File name="lighting.h" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="material.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="379" topLine="0" />
<Cursor1 position="720" topLine="0" />
</Cursor>
</File>
<File name="shader.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="time.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1179" topLine="23" />
<Cursor1 position="66" topLine="0" />
</Cursor>
</File>
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="freeLook.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2737" topLine="0" />
<Cursor1 position="877" topLine="0" />
</Cursor>
</File>
<File name="renderUtil.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="input.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="131" topLine="0" />
<Cursor1 position="75" topLine="0" />
</Cursor>
</File>
<File name="mesh.cpp" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="mesh.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="924" topLine="30" />
<Cursor1 position="757" topLine="0" />
</Cursor>
</File>
<File name="sdl_backend.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="texture.cpp" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="631" topLine="9" />
<Cursor1 position="2616" topLine="69" />
</Cursor>
</File>
<File name="mappedValues.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="mesh.cpp" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="641" topLine="0" />
<Cursor1 position="924" topLine="30" />
</Cursor>
</File>
<File name="input.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="renderingEngine.cpp" open="1" top="1" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="75" topLine="0" />
<Cursor1 position="4586" topLine="123" />
</Cursor>
</File>
<File name="freeLook.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="286" topLine="0" />
<Cursor1 position="2737" topLine="0" />
</Cursor>
</File>
<File name="freeMove.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="time.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="407" topLine="0" />
<Cursor1 position="249" topLine="0" />
</Cursor>
</File>
<File name="gameObject.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="renderingEngine.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1836" topLine="66" />
<Cursor1 position="1619" topLine="26" />
</Cursor>
</File>
<File name="gameComponent.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="math3d.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="550" topLine="0" />
<Cursor1 position="19838" topLine="553" />
</Cursor>
</File>
<File name="window.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="texture.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="236" topLine="0" />
<Cursor1 position="467" topLine="27" />
</Cursor>
</File>
<File name="mesh.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="freeMove.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="757" topLine="0" />
<Cursor1 position="407" topLine="0" />
</Cursor>
</File>
<File name="time.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="camera.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="66" topLine="0" />
<Cursor1 position="221" topLine="0" />
</Cursor>
</File>
<File name="texture.cpp" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="vertex.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2616" topLine="69" />
<Cursor1 position="134" topLine="0" />
</Cursor>
</File>
<File name="util.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="gameObject.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="643" topLine="5" />
<Cursor1 position="476" topLine="0" />
</Cursor>
</File>
<File name="referenceCounter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="3DEngine.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="237" topLine="0" />
<Cursor1 position="163" topLine="0" />
</Cursor>
</File>
<File name="math3d.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="gameComponent.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="19838" topLine="553" />
<Cursor1 position="550" topLine="0" />
</Cursor>
</File>
<File name="transform.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="renderUtil.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="457" topLine="0" />
<Cursor1 position="131" topLine="0" />
</Cursor>
</File>
<File name="camera.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="window.cpp" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="221" topLine="0" />
<Cursor1 position="1000" topLine="0" />
</Cursor>
</File>
<File name="coreEngine.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="window.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="101" topLine="0" />
<Cursor1 position="236" topLine="0" />
</Cursor>
</File>
<File name="input.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="coreEngine.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1858" topLine="90" />
<Cursor1 position="101" topLine="0" />
</Cursor>
</File>
<File name="texture.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="sdl_backend.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="467" topLine="27" />
<Cursor1 position="348" topLine="0" />
</Cursor>
</File>
<File name="renderingEngine.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lighting.h" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1619" topLine="26" />
<Cursor1 position="379" topLine="0" />
</Cursor>
</File>
<File name="window.cpp" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="util.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1000" topLine="0" />
<Cursor1 position="643" topLine="5" />
</Cursor>
</File>
<File name="time.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="freeLook.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="249" topLine="0" />
<Cursor1 position="286" topLine="0" />
</Cursor>
</File>
<File name="game.cpp" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="shader.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="178" topLine="0" />
<Cursor1 position="1179" topLine="23" />
</Cursor>
</File>
<File name="renderingEngine.cpp" open="1" top="1" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="meshRenderer.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2801" topLine="48" />
<Cursor1 position="430" topLine="0" />
</Cursor>
</File>
</CodeBlocks_layout_file>
2 changes: 1 addition & 1 deletion 3DEngineCpp/renderingEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void RenderingEngine::Render(GameObject* object)

m_mainCamera = temp;

BlurShadowMap(GetTexture("shadowMap"), shadowInfo->GetShadowSoftness());
//BlurShadowMap(GetTexture("shadowMap"), shadowInfo->GetShadowSoftness());
}

Window::BindAsRenderTarget();
Expand Down
4 changes: 2 additions & 2 deletions 3DEngineCpp/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ void TextureData::InitRenderTargets(GLenum* attachments)

glDrawBuffers(m_numTextures, drawBuffers);

glDrawBuffer(GL_NONE);
glReadBuffer(GL_NONE);
//glDrawBuffer(GL_NONE);
//glReadBuffer(GL_NONE);

if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
{
Expand Down

0 comments on commit a8fdc0f

Please sign in to comment.