能否在多边形之间进行布尔操作?
我想在 OpenGL 做一个这样的数字, 我想用一个球和四个小球的四个减法来做。
""https://i.sstatic.net/NkDLO.jpg" alt="此处的内置图像描述"/ >
能否在多边形之间进行布尔操作?
我想在 OpenGL 做一个这样的数字, 我想用一个球和四个小球的四个减法来做。
""https://i.sstatic.net/NkDLO.jpg" alt="此处的内置图像描述"/ >
No, that s not possible with just OpenGL.
OpenGL is a very low level API. it allows you to display polygons and that s about it.
What you re describing is usually done in the application level above OpenGL.
Look at the bottom of this article for some references on libraries that does that:
I am trying to create a 3D robot that should perform certain actions when certain body parts are clicked. I have successfully (sort of) implemented picking in that if you click on any x-plane part, it ...
I have started to implement cvDisplayLink to drive the render loop instead of nstimer, as detailed in this technical note https://developer.apple.com/library/archive/qa/qa1385/_index.html Is it ...
I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any ...
I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?
What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I d like to be able to do some prototyping of creating new types of interfaces for navigating within data and ...
I am attempting to make an image stretch effect on the iphone. I make a vertex array and shift the texture data for each indice within an arbitrary radius of a background image. Then make the ...
I m trying to load an image file and use it as a texture for a cube. I m using SDL_image to do that. I used this image because I ve found it in various file formats (tga, tif, jpg, png, bmp) The code ...
I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries ...