#3dprogramming — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #3dprogramming, aggregated by home.social.
-
When the dinosaurs roamed the earth and I was a #codemonkey and had to earn a crust bit flipping...
... I have developed eleventh commandment. Purely because of hours(days/weeks) of wasted time, chasing bugs that were not there.The 11th commandment is;
👉 CHECK YOUR DATA 1ST👈And so, I have burned two full compute cycles, trying to render a skull with the interior 'illuminated' with no light (0.0) on the interior faces.
The problem: Back-face darkening only works for faces pointing AWAY from camera. But inside a hollow object, the far wall faces TOWARD you.
We need the original geometric approach - but it failed for concave meshes.When in #Blender (a reminder I have nearly 0 working knowledge with it), I found that both the inner and outer faces are identical.
The solution, while hacky, is entirely workable. Esp. since the skull object will be small when rendered.
Create a small sphere INSIDE the skull and because its a different object, we can assign 0.0 darkening to it. -
When the dinosaurs roamed the earth and I was a #codemonkey and had to earn a crust bit flipping...
... I have developed eleventh commandment. Purely because of hours(days/weeks) of wasted time, chasing bugs that were not there.The 11th commandment is;
👉 CHECK YOUR DATA 1ST👈And so, I have burned two full compute cycles, trying to render a skull with the interior 'illuminated' with no light (0.0) on the interior faces.
The problem: Back-face darkening only works for faces pointing AWAY from camera. But inside a hollow object, the far wall faces TOWARD you.
We need the original geometric approach - but it failed for concave meshes.When in #Blender (a reminder I have nearly 0 working knowledge with it), I found that both the inner and outer faces are identical.
The solution, while hacky, is entirely workable. Esp. since the skull object will be small when rendered.
Create a small sphere INSIDE the skull and because its a different object, we can assign 0.0 darkening to it. -
When the dinosaurs roamed the earth and I was a #codemonkey and had to earn a crust bit flipping...
... I have developed eleventh commandment. Purely because of hours(days/weeks) of wasted time, chasing bugs that were not there.The 11th commandment is;
👉 CHECK YOUR DATA 1ST👈And so, I have burned two full compute cycles, trying to render a skull with the interior 'illuminated' with no light (0.0) on the interior faces.
The problem: Back-face darkening only works for faces pointing AWAY from camera. But inside a hollow object, the far wall faces TOWARD you.
We need the original geometric approach - but it failed for concave meshes.When in #Blender (a reminder I have nearly 0 working knowledge with it), I found that both the inner and outer faces are identical.
The solution, while hacky, is entirely workable. Esp. since the skull object will be small when rendered.
Create a small sphere INSIDE the skull and because its a different object, we can assign 0.0 darkening to it. -
My latest video is out and I’m creating 3d graphics in AMOS, and *NOT* by using AMOS 3D!
What witchcraft is this?!? 😱
Anaglyph 3D at its most basic. 😅
-
Great:
"I Want To Talk About WebGPU", 'andi' (https://cohost.org/mcc/post/1406157-i-want-to-talk-about-webgpu).
Via HN: https://news.ycombinator.com/item?id=35800988
#Graphics #GraphicsProgramming #GPU #Shader #3D #3DProgramming #WebGPU #OpenGL #Khronos #DirectX #Vulkan #Metal #API #JavaScript #Rust #Cpp #Chrome