Questions tagged [renderdoc]

34 questions
7
votes
1 answer

How to create debugging markers in OpenGL?

I'm trying to debug some OpenGL 3.3+ graphics code using RenderDoc and I would like to define some debug markers for render passes that can be recognised by RenderDoc. I use GLEW and I tried to use glPushGroupMarkerEXT/glPopGroupMarkerEXT to define…
bishopp
  • 113
  • 8
4
votes
1 answer

Render Doc fails to launch my application

I have an executable file saved in the Debug folder of my Microsoft VS C++ project, the program runs fine when i double click on it and it basically shows me a 3D model that i can hover the camera around it, however when i try to run the program…
BulBul
  • 1,159
  • 3
  • 24
  • 37
3
votes
1 answer

diffrence between std140 and std430 layout

I have trouble with differences between layout std140 and std430. this is my code of struct in .Cpp struct Particle { glm::vec3 position = glm::vec3(0); float density = 1; }; for (int z = 0; z < d; ++z) { for (int y = 0; y < d; ++y) { …
mq s
  • 41
  • 4
2
votes
0 answers

Can't load Cg shaders when RenderDoc is attached in OpenGL

I'm trying to debug my OpenGL game using RenderDoc, but if I launch from RenderDoc, then no graphics are shown and Cg outputs errors on startup. How can I get RenderDoc to work with my game? I get a couple of…
Oogst
  • 358
  • 2
  • 14
2
votes
1 answer

How to use renderdoc in python opengl apps

I'm trying to figure out how to use renderdoc to debug some of my python opengl apps. At this moment some of my python opengl tests are using either pyopengl(glut) or pyqt. Here's a couple of minimal tests showing up how to initalize either glut or…
BPL
  • 9,632
  • 9
  • 59
  • 117
1
vote
1 answer

QOpenGLWidgets do not draw anything in application but draw normally in RenderDoc Frame Capture

I made a Qt Application to preview 3D model. I use QOpenGLWidget to draw the triangles, with the core profile OpenGL v3.3. The shader compiler does not output any errors, and application run successfully, and everything seems like work. Here are the…
Kpure1000
  • 11
  • 3
1
vote
1 answer

Why there is no output to the framebuffer's textures?

Here is the code: int main(){ //init gl environment //... //create textures for pass 1 GLuint normal_color_output; glCreateTextures(GL_TEXTURE_2D_MULTISAMPLE, 1, &normal_color_output); …
SZYoo
  • 147
  • 7
1
vote
1 answer

rust vulkan, normals are messed up

I am trying to render a gltf model with ash (vulkan) in rust. I sent all my data to the gpu and I am seeing this: Naturally my suspicion is that the normal data is wrong. So I checked with renderdoc: Those seem ok, maybe the attributes are…
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
1 answer

Vulkan dynamic rendering, nothing seems to be getting rasterized

I am trying to render using the dynamic rendering extension, to this effect I am trying to render just a triangle with these 2 shaders: #version 450 layout(location = 0) in vec2 inPosition; layout(location = 1) in vec3 inColor; layout(location =…
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
1 answer

Unity compute shader debug using RenderDoc not working

I'm trying to debug a compute shader using RenderDoc with Unity. Currently, my "debug" option is greyed out: I've had a look around and came across this forum post which leads to…
1
vote
1 answer

Grid mesh looks fine under mvp operation, but not in orthogonal projection

I have these 2 shaders: #version 450 #extension GL_ARB_separate_shader_objects : enable layout(location = 0) in vec3 in_position; layout(binding = 0) uniform MVPOnlyUbo { mat4 model; mat4 view; mat4 proj; } ubo; void main() { …
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
0 answers

Vulkan line drawing not showing up

So I would like to render the bounding box of a selected object. I have a buffer to store the 8 points and another buffer to store the indices to use line strip drawing of those points to make a box. I captured a frame with RenderDoc and I can see…
1
vote
1 answer

Writing to an image using imageStore in OpenGL

Currently I am trying to write to an image using imageStore in OpenGL. However, using renderdock as my debugger, I find only a black texture after running my program. I create and bind the image to write to as follows: glGenTextures(1,…
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
1 answer

RenderDoc. a small value in Mesh Output is an approximation?

Terminology In this post, I refer to this window as Mesh Output. And I refer to this window as Debug vert(). Problem I found that values of TEXCOORD3 and TEXCOORD4 in Mesh Output is not equal to values in Debug vert(). Values in…
onion mk2
  • 311
  • 2
  • 11
1
vote
1 answer

ImportError: No module named inspect

I am using renderdocui interactive python shell to import inspect but I get this error: >> import inspect Traceback (most recent call last): File "", line 1, in ImportError: No module named inspect I have installed python using…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
1
2 3