• Content count

  • Joined

  • Last visited

Community Reputation

224 Neutral

About Alkan

  • Rank
  1. OpenGL Shaders

      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. 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. Problem with oci library

    Well, that solved the problem. I would never have figured it out by myself. Thanks alot !
  6. Problem with oci library

    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. Tab order with MFC tab control

    [quote name='Laval B' timestamp='1349083485' post='4985693'] There is a property called Controle parent, make sure it is true for all your pages. [/quote] 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 ?