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.

#3d #3dprogramming #vibecode

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. πŸ˜…


https://youtu.be/XGvDR6Q53-c


#amos #amiga #retrocomputing #3dprogramming

3D graphics in AMOS, and not in AMOS 3D

YouTube