Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged OpenGL
0
votes
1.3k
views
1
answer
opengl es - Why is glReadPixels() failing in this code in iOS 6.0?
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)
opengl
0
votes
1.2k
views
1
answer
opengl - Passing a list of values to fragment shader
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)
opengl
0
votes
1.1k
views
1
answer
opengl - Matrix inverse accuracy
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)
opengl
0
votes
1.1k
views
1
answer
opengl es - Rendering to non-power-of-two texture on iPhone
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)
opengl
0
votes
1.0k
views
1
answer
opengl - Do conditional statements slow down shaders?
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)
opengl
0
votes
1.2k
views
1
answer
opengl - GLSL fixed function fragment program replacement
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)
opengl
0
votes
1.4k
views
1
answer
opengl - How to implement 2D raycasting light effect in GLSL
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)
opengl
0
votes
1.2k
views
1
answer
opengl - Rotating a Group of Vectors
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)
opengl
0
votes
1.3k
views
1
answer
opengl - Why transforming normals with the transpose of the inverse of the modelview matrix?
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)
opengl
0
votes
1.0k
views
1
answer
opengl - glVertexAttribPointer and glVertexAttribFormat: What's the difference?
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)
opengl
0
votes
1.3k
views
1
answer
opengl - Should I ever use a `vec3` inside of a uniform buffer or shader storage buffer object?
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)
opengl
0
votes
1.1k
views
1
answer
opengl - Rendering meshes with multiple indices
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)
opengl
0
votes
960
views
1
answer
opengl - How do I compose a rotation matrix with human readable angles from scratch?
The one thing that has always hindered me from doing 3D programming is failing to understand how math works. I can ... :400px;height:300px;"> </div> Question&Answers:os...
asked
Oct 16, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
opengl
0
votes
1.2k
views
1
answer
opengl - How do I display gluCylinder in a window?
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)
opengl
0
votes
1.2k
views
1
answer
opengl - Is it ok to render Raycasting using vertex array?
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)
opengl
0
votes
1.4k
views
1
answer
opengl es - OES_depth_texture and glReadPixels
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)
opengl
0
votes
1.1k
views
1
answer
opengl - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT trying to create multisample framebuffer
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)
opengl
0
votes
1.3k
views
1
answer
opengl - Why can't I render my depth map on a quad?
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)
opengl
0
votes
1.1k
views
1
answer
opengl - How does Chrome support webgl on macOS?
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)
opengl
0
votes
1.4k
views
1
answer
opengl - How can I render to multiple attachments of a FBO?
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)
opengl
0
votes
1.1k
views
1
answer
opengl - How do I get a GstGLContext out of an element like a gltestsrc?
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)
opengl
0
votes
1.5k
views
1
answer
opengl - How to include <glad/glad.h> into several header files in C++?
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)
opengl
0
votes
1.0k
views
1
answer
opengl - GLSL fixed function fragment program replacement
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)
opengl
0
votes
1.3k
views
1
answer
opengl - Importing 3D CAD files in python as dask array
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)
opengl
0
votes
1.2k
views
1
answer
opengl - Question about instancing, instanced arrays and buffer updating
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)
opengl
0
votes
1.1k
views
1
answer
opengl - Should I use the last GLSL version where it is possible?
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)
opengl
0
votes
1.2k
views
1
answer
opengl - How to keep mouse coordinates within window height/width limits
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)
opengl
0
votes
1.2k
views
1
answer
opengl - How to correctly draw other texture in fragment shader?
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)
opengl
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
Just Browsing Browsing
[1] Rails 4 compiling vendor assets but not application.js and application.css
[2] ggplot2 - NA issues with R. How can I fixed this error in R?
[3] ant design vue 日期选择框如何设置结束时间不能小于开始时间
[4] vue 在js中调用以后,打印vue得到? wn(e){this._init(e)}是什么意思
[5] RequestAnimationFrame暂停与恢复问题
[6] node.js - MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
[7] vue 系统实时更新未读消息数量,使用什么方法比较好?
[8] T-SQL 存储过程中如何将两个 nvarchar 变量相加?
[9] Java jdbc 无法加载 mysql 驱动
[10] clearTimeout 无法清除定时器
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...