Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

224 Neutral

About Alkan

  • Rank
  1. Alkan


      Yes, i sort opaque geometry by shader then by texture then by vbo then depth (front to back). Translucent geometry is sorted by depth only back to front.
  2. Hello   I'm new to Direct3D, i come from the OpenGL world and my question is about shaders.   With OpenGL, you never bind a vertex shader or a pixel shader. Instead, you link both into a shader program then you bind the program (not the individual shaders). It seems like Direct3D work differently though.   So when sorting draw calls, do you sort by vertex shaders then by pixel shader ? Wouldn't it be simpler to sort by pair of vertex/pixel shaders ?   I must admit i don't really understand the idea of binding vertex and pixel shaders separately.    
  3. Alkan

    Finding a process

      Yes it works great.
  4. Hello   An application i'm wotking on (C++ on Windows) needs to check if a certain process is running or not. To do that, i use EnumProcesses and OpenProcess to find if the process exists. It works fine if the process i'm looking for is a 32 bits process but if it is a 64 bits process, it can't find it. Is there a solution to that ? The application that looks for the other process is a 32 bits app.  
  5. Alkan

    Problem with oci library

    Well, that solved the problem. I would never have figured it out by myself. Thanks alot !
  6. Hello At work i had to make a small application in C++ on Windows (using Visual Studio 2008). This application uses Oracle OCI library to communicate with Oracle server. I'm using the 10.2 version of the client library. When i run the application from my development environment (from VC) or on my Desktop, it works just fine. However, as soon as we install the application using an installshield it can't connect to the server. After searching the error message, it appears it is not able to find the service name. But the client is configured correctly and the tnsname.ora file is fine. The application is compiled in 32 bits mode because it uses a 3rd party library which is only available for 32 bits. It probably has nothing to do anyway. It seems to be doing that only on Windows 7 and not on Xp. Haven't tried Vista or others. P.S. I know that may not be the best place to ask such a question but i think there may be people who would know.
  7. Alkan

    Tab order with MFC tab control

    Thanks, it worked !
  8. I have implemented some configuration dialog on an application at work which makes use of tabs. The application is a C++ application using MFC for the user interface. I used a tab control in the parent dialog and child dialogs that i show or hide depending on the selected tab.This works fine except that, when trying to navigate in one of the pages using the tab key, you can't cycle out or in the child. Is there a way to solve this ?
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!