Skip to main content
-5 votes
0 answers
60 views

I’m trying to understand the fundamental reason behind why geometric transformations in computer graphics are usually represented as a matrix multiplied by a vector. Is it because a matrix is ...
kk cc's user avatar
  • 1
Advice
1 vote
2 replies
32 views

The reason I'm asking this question is because I have cases in a vertex shader where I have: layout (location = 0) out float3 outEyeSpacePosition; layout (location = 1) out float2 out_tex_coords; And ...
Zebrafish's user avatar
  • 16.3k
0 votes
1 answer
26 views

I discovered something rather surprising to me regarding the Vulkan validation layer that's used for error reporting and debugging. Usually in a debug build I will set the ...
Zebrafish's user avatar
  • 16.3k
-3 votes
1 answer
69 views

The figure moves in different directions: left, right, up, and down. While moving, it should also fire in the direction it's moving when the space bar is pressed. In this code, when moving to the ...
fizer's user avatar
  • 1
0 votes
0 answers
71 views

I get this log continuously (every render frame): E/TransactionCallbackInvoker: [SurfaceView(...)(BLAST)] writeReleaseFence failed. error 32 (Broken pipe) It comes from the system (SurfaceFlinger), ...
zeus's user avatar
  • 13.3k
1 vote
0 answers
41 views

So I made a program in matlab that numerically simulates a DTS system and its almost right but there's one detail that there's "jagged teeth" in the graphic diagram ( circled in blue ) ...
LEO101's user avatar
  • 13
Advice
0 votes
0 replies
25 views

how to configure systemd to load essential graphics and virtualization modules early in the boot process, while deferring non-critical services & modules for manual activation later. called gpu ...
Malin Shaik's user avatar
2 votes
0 answers
57 views

I am new to Graphic programming and shaders and I am working on a Metal fragment shader that downscales a video frame by 20% and adds a soft drop shadow around it to create a depth effect. The shadow ...
Zaid's user avatar
  • 449
-2 votes
0 answers
147 views

So I was trying to make a 3d engine from scratch in Python when i tried to rotate the plane. All axes were fine as predefined rotations in 3d space, but when updating rotation in the code, only the x ...
Mohammed H.'s user avatar
0 votes
0 answers
52 views

I am invoking a compute shader, writing to it, then reading it to then write to disk. According to renderdoc the image is properly generated. Additionally, when compiled in debug mode I get the right ...
Makogan's user avatar
  • 9,991
3 votes
2 answers
91 views

In a graphics API like Vulkan, you have VkFilter, which can be NEAREST or LINEAR. Leaving aside the mipmap filtering, which is another thing altogether, I'm trying to understand what the point of the ...
Zebrafish's user avatar
  • 16.3k
-2 votes
1 answer
118 views

I was learning directx by https://github.com/d3dcoder/d3d12book, and at one point, it suddenly started not working in Debug mode like this. So I asked github copilot and he said that the problem was ...
Beomjun Kim's user avatar
1 vote
1 answer
99 views

This question is supposed to be in the most general sense possible, this is because I'm using the Slang shading language to apply potentially to multiple graphics APIs. In OpenGL and Vulkan the ...
Zebrafish's user avatar
  • 16.3k
2 votes
1 answer
59 views

I found a comment on Reddit saying: SSBO accesses are bound checked at runtime by the shader to prevent segmentation faults (which is why the descriptor of a SSBO is a pointer and size). I think this ...
Zebrafish's user avatar
  • 16.3k
1 vote
0 answers
126 views

Code In the event loop, this arm handles mouse motion with the MouseMotion device event: Event::DeviceEvent { event: DeviceEvent::MouseMotion { delta: (dx, dy) }, .. ...
Archie Mourad's user avatar

15 30 50 per page
1
2 3 4 5
1413