For no particular reason, I'm trying to find out how joints, ikHandles, LRA's, etc are rendered in the 3d viewport without the need of shapes. I want to do the same, but for now I'm trying to just get opengl to draw anything in the 3d viewport without writing my own viewport, locator shape, or any plugin of any kind. Basically, I want opengl to render something via the script editor (in python mode). I'm guessing that it requires getting the device context ( HDC ) of the viewport though pyWin32 and pyOpenGL and somehow inserting the gl draw procedure into it, but how exactly is that process (safely) achieved for Maya?
-- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
