|
||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| Some recent topics started on our forums | |
| Quick tutorials to migrate from DirectX to OpenGL | Hi, as a part of my selection process for a company i have to convert a 2D game made by me in DirectX & VC++ to GCC and OpenGL so it can run on LINUX. I have always used ViualStudio as developer Enivornment and have no idea about Linux & Open... |
| Posted January 3, 2011 4:26:12 PM | |
| [SOLVED] DirectX Game not working without SDK and VS | Hi, I sended a game i made last week using VS 2008 Sp1 (VC++) and DirectX Sdk June 2010. I builded the game using Release Confuguration and Disabled Debug DLL in DirectX Control Panel also. I included directX web Installer so he installed directX a... |
| Posted December 26, 2010 1:48:51 PM | |
| [SOLVED] DX9 - Normal Mapping with Multiple Lights | I am following Normal Mapping tutorials from this book - "Introduction to 3D Game Programming with DirectX 9.0 Shader Approach" by Frank D Luna. This is the HLSL code came with sample for that chapter - //====================================... |
| Posted November 25, 2010 3:45:16 PM | |
| Which scripting language to use ? | Hi I am currently implementing Finite State Machines for Game State and AI (learning projects), i also want to embed a scripting language so I can have scripted ai behaviours. I haven't used any scripting language before. Here are some of the featu... |
| Posted October 29, 2010 8:27:39 PM | |
| [SOLVED] Shaders - How to Set values of struct array in HLSL from Application ? | I have a following structure in my HLSL Shader - struct DirectionalLights { float3 revDirection; float4 ambientColor : COLOR; float4 diffuseColor : COLOR; float4 specularColor : COLOR; }; int numDirLights = 0; DirectionalLights... |
| Posted October 21, 2010 9:33:55 AM | |
| Map Editor Design Issues | I starting to build a map editor (for 3D worlds) with interface like Valve Hammer Editor, but ofcourse alot simpler in terms of functionality. I want to support following things for now - -4 Window Interface with some quick access buttons o... |
| Posted October 14, 2010 9:10:55 PM | |
| [SOLVED] Weird Texture transparency problem | Am upgrading my old texture loader code to include features like batching , multitextures,etc. But when i got it working i found a weird texture transparency problem which you can see in following screenshots - I can see things behind... |
| Posted September 28, 2010 6:26:56 AM | |
| Vertex Shader isn't working DX9 - Can't initialize a global matrix in vertex shader | Hi i am trying to figure out from past 24 hours why my vertex shader code isn't working - Shaders are working in Nvidia Fx Composer. Vertex Shader uniform extern float4x4 worldMat; struct INPUT { float4 pos : POSITION; }; float4 mai... |
| Posted September 13, 2010 5:26:11 PM | |
| Software renderer problem - Error in CreateCompatibleBitmap() | Hi I am working on a software renderer (wireframe only). After making all that maths library for it am stuk at this GDI function - CreateCompatibleBitmap() I am trying to draw things on a bitmap and then stretch it to client area... |
| Posted September 6, 2010 10:58:20 AM | |
| [SOLVED] How can we do this transformation ? | Hi, I am using SetTransform(D3DTS_WORLD,&mat) to transform any mesh. I think it just transforms whole world space before rendering a particular mesh. So we have to apply this transformation again and again on each frame render. Is th... |
| Posted February 21, 2010 1:06:25 PM | |
| View All Topics Started By This User | |
| Some recent replies made on our forums | |
| Quick tutorials to migrate from DirectX to OpenGL | ok So am usng GLEW & GLUT that website has all related files i need. Am gonna port my game using VisualStudio only (as its an awesome IDE) then i am gona try running the game on Ubuntu i think. My game contains no other platform specific... |
| Posted January 3, 2011 4:59:32 PM | |
| Quick tutorials to migrate from DirectX to OpenGL | thanks for a quick reply man. Great website i think it has all i need to learn in openGL also I went through window creation code quickly GLUT really minimizes the setup code so much thats GREAT. But again its using VisualStudio so If i follow GL... |
| Posted January 3, 2011 4:40:53 PM | |
| Proper way to use GetKeyboardState() function | Oh I should have mentioned it clearly that the function i have provided shouldn't be called while procesing WM_KeyDown Messages but it should be called once per frame or so. And yeah Method provided by shuma-gorath is another way to achieve... |
| Posted January 2, 2011 4:20:37 PM | |
| Proper way to use GetKeyboardState() function | memcpy should be in the end after all event handling code, just before you return from input event handling function void InputHandler() { BYTE keys[256]; static prevKeys[256]; if(!GetKeyboardState(keys)) { /////Error handling code ... |
| Posted January 1, 2011 1:16:23 PM | |
| Proper way to use GetKeyboardState() function | You checked if GetKeyboardState() calls failed or succeded ?? try this - if(!GetKeyboardState(keyBuffer)) { ////// some error handling code eg GetLastError() } |
| Posted January 1, 2011 2:32:54 AM | |
| Proper way to use GetKeyboardState() function | Actually it should be 0xF0. Here's what your code should be : BYTE keys[256]; GetKeyboardState(keys); //check space key if(keys[VK_SPACE]&0xF0)blah(); Also if you want to process KeyPress (not keyDown) type events you can... |
| Posted December 31, 2010 10:49:02 AM | |
| [SOLVED] DirectX Game not working without SDK and VS | Problem solved. Actually problem was he doesn't have GPU so can't run VS 3.0 and PS 3.0 shaders used. But he reported me that APPLICATION ISN'T STARTING ONLY, so i thought its some VC++ runtime issue or some release configuration i am missin... |
| Posted December 27, 2010 12:42:01 AM | |
| Copyrights for design doc AND code? | After reading this whole disscussion one thing comes to my mind is "If as a developer we are showing our Game Idea in the form of a small playable demo or video, what we can do to ensure that Company doesn't reject us and make a game out of... |
| Posted December 9, 2010 3:19:29 AM | |
| C++ Quick Theory Question[Solved] | try this - In Main.cpp declare object or a object pointer as - OBJ object; or OBJ* ptrObject; Now in any file if you need to use it declare it using extern keyword. For example in Core.cpp use this - extern OBJ object; or extern... |
| Posted November 30, 2010 5:28:10 AM | |
| Problem with TBN in water rendering | Quote: so i define a 3x3 TBN { 1,0,0, 0,-1,0, 0,0,1 } of water plane.( question 1: is this right?) Actually i think you are trying to define TBN in world space then use it to convert lightDir to tangent space which is a wrong way. TBN should be... |
| Posted November 26, 2010 1:22:33 PM | |
| View All Replies Made By This User | |