Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

DirectX and OpenGL

MerlinMerlin Member Posts: 38
Doesanyone knowwhy the hell does MSDN 99 talk about all the nice stuff that DirectX 6.1 does and Visual Studio 6 brings version 5? It sucks ...

Anyway, does anyone know how i can get my hands on DirectX 8.0 SDK?
And other thing:
I create a window in VC 6.0, get its device context, create a OpenGL context for that window, make it the current rendering context, and when i start putting some pixels to it with glVertex, nothing happens. It doesnt even report any error. glError reports GL_NO_ERROR, GetLastError reports nothing, but i do everything right.
i use glBegin(GL_POINT), use glVertex2i, and then glEnd.
i even tried using glFlush after it. But nothing appears
. Can anyone help me? i cant draw anything!!!!

Comments

  • gautamgautam Member Posts: 642
    Are you calling glOrtho2D in your code. Have a resize function in your code which calls glOrtho2D. Look at tuts on http://nehe.gamedev.net


    : Doesanyone knowwhy the hell does MSDN 99 talk about all the nice stuff that DirectX 6.1 does and Visual Studio 6 brings version 5? It sucks ...
    :
    : Anyway, does anyone know how i can get my hands on DirectX 8.0 SDK?
    : And other thing:
    : I create a window in VC 6.0, get its device context, create a OpenGL context for that window, make it the current rendering context, and when i start putting some pixels to it with glVertex, nothing happens. It doesnt even report any error. glError reports GL_NO_ERROR, GetLastError reports nothing, but i do everything right.
    : i use glBegin(GL_POINT), use glVertex2i, and then glEnd.
    : i even tried using glFlush after it. But nothing appears
    : . Can anyone help me? i cant draw anything!!!!
    :


  • knr02knr02 Member Posts: 16
    : Are you calling glOrtho2D in your code. Have a resize function in your code which calls glOrtho2D. Look at tuts on http://nehe.gamedev.net
    :
    :
    : : Doesanyone knowwhy the hell does MSDN 99 talk about all the nice stuff that DirectX 6.1 does and Visual Studio 6 brings version 5? It sucks ...
    : :
    : : Anyway, does anyone know how i can get my hands on DirectX 8.0 SDK?
    : : And other thing:
    : : I create a window in VC 6.0, get its device context, create a OpenGL context for that window, make it the current rendering context, and when i start putting some pixels to it with glVertex, nothing happens. It doesnt even report any error. glError reports GL_NO_ERROR, GetLastError reports nothing, but i do everything right.
    : : i use glBegin(GL_POINT), use glVertex2i, and then glEnd.
    : : i even tried using glFlush after it. But nothing appears
    : : . Can anyone help me? i cant draw anything!!!!
    : :
    :
    :

    Did you define the color you want before glBegin(...) ?
    use
    glColor3f(1.0f, 1.0f, 1.0f);
    to make them white.




  • Sand_Hawk9Sand_Hawk9 Member Posts: 233
    Yuo can find the DirectX SDK at http://msdn.microsoft.com. Search for DirectX 8.0 SDK and you will find it. But I advise personally DX 7.0a because in the 8 version DirectDraw and Direct3D are integrated into eachother. The DX7.0 SDK is a bit harder to find. Try searching at a search engine for DirectX 7.0 SDK. You will find mostly links to amateurs who have laided a link to the DirectX 7.0 SDK.

    Sand Hawk

  • vdub12vdub12 Member Posts: 19
    DirectX 8 supports newer technologies though

    I am really new but I think you can get better results in DX8

    Here is a link to the download for DirectX 8 SDK this way you can skip having to search thru there site for it

    http://download.microsoft.com/download/win2000pro/dx8asdk/8.0a/W9X2KMe/EN-US/DX8a_SDK.exe



    : Yuo can find the DirectX SDK at http://msdn.microsoft.com. Search for DirectX 8.0 SDK and you will find it. But I advise personally DX 7.0a because in the 8 version DirectDraw and Direct3D are integrated into eachother. The DX7.0 SDK is a bit harder to find. Try searching at a search engine for DirectX 7.0 SDK. You will find mostly links to amateurs who have laided a link to the DirectX 7.0 SDK.
    :
    : Sand Hawk
    :


  • vdub12vdub12 Member Posts: 19
    and here is the link for DX7 SDK

    http://download.microsoft.com/download/win98SE/Update/7.0/W9X/EN-US/DX70eng.exe

    and Here is DX7a SDK

    http://download.microsoft.com/download/win98SE/DXSDK/7.0a/W9X/EN-US/dx7adxf.exe

    : Yuo can find the DirectX SDK at http://msdn.microsoft.com. Search for DirectX 8.0 SDK and you will find it. But I advise personally DX 7.0a because in the 8 version DirectDraw and Direct3D are integrated into eachother. The DX7.0 SDK is a bit harder to find. Try searching at a search engine for DirectX 7.0 SDK. You will find mostly links to amateurs who have laided a link to the DirectX 7.0 SDK.
    :
    : Sand Hawk
    :


Sign In or Register to comment.