Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
picking
  •  

  • ramilol
    started a topic C++ directx picking is not working
    in C

    C++ directx picking is not working

    i got help writing my picking function... but it still doesn't work im not sure if it is because the my function or because of my mesh it is one of them. someone suggest me to draw the ray, i drew my rays it basically followed my cursor(mouse).
    here is my code

    Code:
        BOOL D3dDevice::Picking(HWND hWnd, LPDIRECT3DDEVICE9 d3ddev, CXFileEntity *entity, int z)
        {
        	D3DXVECTOR3 v;
        	D3DXMATRIX matProj;
    ...
    See more | Go to post

  • kupendra
    started a topic Selection, picking with PyOpenGL?

    Selection, picking with PyOpenGL?

    I am using python with Qt from past 1 year.. now i have to use pyqt with opengl.
    i am tring to write a sample program which can able to draw object ( eg cube,dot) and user can able to select using mouse.
    but now i have done all the possible way to use opengl functions but still not able to select :(

    I am using folowing code to pick :
    Code:
        def pick3d( self, event ):
    
            # 1. initialization
    ...
    See more | Go to post
    Last edited by bvdet; Oct 8 '09, 01:28 PM. Reason: Add code tags
Working...