No Graphics API — Sebastian Aaltonen

Graphics APIs and shader languages have significantly increased in complexity over the past decade. It’s time to start discussing how to strip down the abstractions to simplify development, improve performance, and prepare for future GPU workloads.

Sebastian Aaltonen

I was looking for a way to display mouse-over context information in a 3D scene, and the solution I came up with is to encode the ID of each object into colors, and render that to an off-screen framebuffer. Then, I can simply look up the pixel at the current cursor coordinates and get the ID!

It feels like a cheeky hack, but honestly I can't think of any other practical way for this - does anyone know how games and such do this?

#graphicsProgramming #webgl #opengl #3d

Spiromorph đã được chuyển đổi sang WEBGL, cho phép trải nghiệm trực tiếp trên trình duyệt! Đề xuất thử 4 yếu tố với 2 pha để hiệu quả nhất. Được giới thiệu bởi MickJC_75. #WebGL #ThiếtLậpTrựcQuan #OpenSource #MáyTínhĐồHọa #GraphicsProgramming #TechnologyVietnam #InnovateTech #Coding #WebDev #JavaScript #Mastodon #VietnamTech #TinTứcCôngNghệ Việt Nam

https://www.reddit.com/r/programming/comments/1pi2009/spiromorph_port_to_webgl/

I added some simple lighting: shading and shadows from a directional light, and it looks a lot better now.

Will get to more complicated lighting after I tackle voxel chunks.  

#graphicsprogramming #vulkan #programming #gameengine #gamedev

Simulating a Planet on the GPU: Part 1 — Patrick Celentano

Simulating a planet is hard work. The GPU makes it easer.

Patrick Celentano

I finally made voxels render in a 3D perspective on my graphics programming journey! Here's what I did:

- I implemented ray tracing using DDA algorithm for voxel rendering.
- Also learned transform matrices and applied an inverse view matrix for camera movement. (video)

This was really fun, but hard to make, however I'm happy that through all that, I finally got something appealing to the eye.  

Questions are welcome!

#graphicsprogramming #vulkan #programming #gameengine #gamedev

This is the only copilot I need. You and I are not the same... 😎

(joking aside I'm glad to have found a physical copy of this absolute bible of a book at a 'reasonable' price after giving mine away many years ago. This completes my black book collection together with @fabinou 's books).

#Coding #RealCoding #WhenMenWereMen #Quake #GraphicsProgramming

That is a really strange one, when using bots timeline AND binary semaphores in a single vkQueueSubmit: https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-VkSubmitInfo-pNext-03241
Thought that would crash my application but it works and makes bridging timeline to binary semaphores to control swapchain presentation A LOT cleaner to handle! #Vulkan #graphicsprogramming #gamedev #enginedevelopment
Command Buffers :: Vulkan Documentation Project