opengl
OpenGL not deallocating display list memory
I have an OpenGL app that displays a static scene. This scene is comprised of about 150k polygons. Since there are so many polygons, and since it\'s a static scene, I decided to use a display list to[详细]
2023-04-12 04:27 分类:问答CUDA OPENGL Interoperability: cudaGLSetGLDevice
Following the Programming Giude of CUDA 4.0, I call cudaGLSetGLDevice before any other runtime calls. But the next cuda call, cudaMalloc, return \"all CUDA-capable devices are busy or unavailable.\"[详细]
2023-04-12 03:25 分类:问答Bad (unattractive) blending in OpenGL with bright figures on dark background
I h开发者_如何学JAVAave a problems in OpenGL with blending (in result of antialiasing or textured painting). See problem illustration:[详细]
2023-04-12 02:53 分类:问答opengl window freezing during move/resize
I\'m developing a game using LWJGL. While movi开发者_高级运维ng the window, (plan to add resize code in the future), the rendering loop freezes. I would like it to continue running in some fashion whi[详细]
2023-04-12 02:27 分类:问答OpenGL Math - Projecting Screen space to World space coords
Time for a little bit of math for the end of the day.. I need to project 4 points of the window size: <0,0> <1024,768>[详细]
2023-04-12 01:57 分类:问答Using OpenGL 2.1 within VM
I recently switched over to the new Parallels Desktop Version from VMWare. I am working on MacOSX and develop with Visual Studio (C++), because I have to do an OpenGL Windows Game for 开发者_StackOver[详细]
2023-04-12 00:50 分类:问答Is it possible to rotate an object around its own axis and not around the base coordinate's axis?
I am following the OpenGL es rotation examples from google to rotate a simple square (not a cube) on my Android App, for example this code:[详细]
2023-04-11 23:51 分类:问答How can I optimize the performance of a QGraphicsView-based app?
I have an app which is based on the Qt Graphics View framework. It\'s a jigsaw puzzle game which basically cuts a pixmap into smaller pixmaps (puzzle pieces) and displays them as QGraphicsItems in a Q[详细]
2023-04-11 23:46 分类:问答Is there a way of keeping track of the relationship between vertices and pixels using either OpenGL or DirectX? 11
I would like to know if there is a way to generate a single static image of a 3D object (1 single object represented as a triangle list), using OpenGL or DirectX, that allows you to know which specifi[详细]
2023-04-11 23:20 分类:问答Mixing DirectX and OpenGL
I want to be able to render in开发者_如何学运维to an OpenGL render window using DirectX. This is because the features i\'m after are only supported in DirectX.[详细]
2023-04-11 23:13 分类:问答