Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged opengl

0 votes
1.1k views
1 answer
    The following is code I use for reading an image from an OpenGL ES scene: -(UIImage *)getImage{ GLint width; ... Why is glReadPixels() failing on iOS 6.0? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I want to send a list of values into a fragment shader. It is a possibly large (couple of thousand ... method that is specifically designed for this purpose? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
849 views
1 answer
    I have a large world, about 5,000,000 x 1,000,000 units. The camera can be near some object or ... if my matrix is getting degenerated, suffer numerical issues? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
954 views
1 answer
    Is it possible to render to texture with OpenGL ES 1.1 on the iPhone (2G and older)? If I bind a texture as a render ... POT. Maybe it can't be done on ES 1.1? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
821 views
1 answer
    I want to know if "if-statements" inside shaders (vertex / fragment / pixel...) are really slowing down the shader ... the else and the other for the if part? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
971 views
1 answer
    When using the OpenGL fixed function pipeline for vertex setup, how a fragment program looks like that is ... that replaces GL's fixed function shader? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    This was originally asked by @sydd here. I was curious about it so I try to code it but It was ... input should be: mouse position background RGBA map texture Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
976 views
1 answer
    I am trying to rotate a group of vectors I sampled to the normal of a triangle If this was correct, the randomly ... ); // current vector I am trying to rotate Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am working on some shaders, and I need to transform normals. I read in few tutorials the way you transform normals ... so, and what is the logic behind that? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
828 views
1 answer
    OpenGL 4.3 and OpenGL ES 3.1 added several alternative functions for specifying vertex arrays: glVertexAttribFormat, ... ? How do the new APIs work? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    The vec3 type is a very nice type. It only takes up 3 floats, and I have data that only needs 3 floats. And I ... data2; float data3; }; Is this a good idea? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    I have some vertex data. Positions, normals, texture coordinates. I probably loaded it from a .obj file or ... I render this mesh data using OpenGL/Direct3D? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
743 views
1 answer
    The one thing that has always hindered me from doing 3D programming is failing to understand how math works. I can ... :400px;height:300px;"> &nbsp; </div> Question&Answers:os...
asked Oct 16, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    This program can display a mesh of vertices and indices for cubes and stuff, but I don't know if I need ... .com/questions/65839462/how-do-i-display-glucylinder-in-a-window...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Im making simple fps game using raycasting, because I thought its very fast and light method. My Raycasting function ... /65853999/is-it-ok-to-render-raycasting-using-vertex-array...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    The open gl es 2.0 extension, OES_depth_texture, enables writing of depth information to frame buffer ... stackoverflow.com/questions/65855648/oes-depth-texture-and-glreadpixels...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
928 views
1 answer
    I'm trying to figure out how to create a framebuffer object that handles multisampling. Below is ... /gl-framebuffer-incomplete-attachment-trying-to-create-multisample-framebuffer...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Some intro: I'm currently trying to see how I can convert a depth map into a point cloud. In order to do this, ... .com/questions/65870882/why-cant-i-render-my-depth-map-on-a-quad...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
949 views
1 answer
    I found libGLESv2.dylib libswiftshader_libGLESv2.dylib libvk_swiftshader.dylib in Chrome.app. And in https://webglreport. ... /65871044/how-does-chrome-support-webgl-on-macos...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    After some studying I found out how to render to a single texture using a color attachment. However, I'd like to ... /65872762/how-can-i-render-to-multiple-attachments-of-a-fbo...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
915 views
1 answer
    I have a gstreamer app that also uses OpenGL. In order to run GL code I must run it on the GL thread. In order ... /how-do-i-get-a-gstglcontext-out-of-an-element-like-a-gltestsrc...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a project in C++ using opengl. I have main.cpp working with openGL initialization, creating window and stuff like ... -to-include-glad-glad-h-into-several-header-files-in-c...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
793 views
1 answer
    When using the OpenGL fixed function pipeline for vertex setup, how a fragment program looks like that is ... migrate-from-fixed-function-to-modern-glsl-lighting-and-material...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to import a 3D file created by TexGen in python. I would like to have a dask array at the end ... .com/questions/65950292/importing-3d-cad-files-in-python-as-dask-array...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    In one of my previous questions (How to instance draw with different transformations for multiple objects) ... /question-about-instancing-instanced-arrays-and-buffer-updating...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
919 views
1 answer
    My cross-platform graphics program uses shaders written in GLSL version 1.40. GLSL 1.40 features fully satisfy the needs ... should-i-use-the-last-glsl-version-where-it-is-possible...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
992 views
1 answer
    Suppose I have a 600 by 600 window created through glfwCreateWindow(). I have a few models rendered in the ... /how-to-keep-mouse-coordinates-within-window-height-width-limits...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    How to correctly calculate uv coordinates for my sampler2D uniform? E.g. i have main texture which has 1920x1080 ... 65641145/how-to-correctly-draw-other-texture-in-fragment-shader...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...