cgltf
computer-graphics-from-scratch
Our great sponsors
cgltf | computer-graphics-from-scratch | |
---|---|---|
9 | 12 | |
1,373 | 1,143 | |
- | - | |
6.7 | 2.7 | |
about 2 months ago | almost 1 year ago | |
C | ||
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cgltf
-
Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL
If you want to go all the way, https://learnopengl.com/ is a favorite around here. You could build a glTF viewer from scratch starting from that tutorial and https://github.com/jkuhlmann/cgltf and eventually building towards https://google.github.io/filament/Filament.html or whatever wacky artsy direction you like.
-
Best courses for learning graphics programming?
Use https://github.com/jkuhlmann/cgltf to parse the files. https://github.com/ocornut/imgui for your UI. Maybe https://www.libsdl.org/ just to set up a window, handle mouse clicks and initialize the GL context in that window.
-
I was learning OpenGL and, I needed a suggestion : Which are the best 3D model formats (In terms of ease of loading)
Use glTF and https://github.com/jkuhlmann/cgltf Or, looks like you are using C#, so https://github.com/vpenades/SharpGLTF
-
What is the best FBX loader for modern OpenGL? (C++)
Do you really have to use fbx? An open format like gltf is better supported, and there are bazillions loaders(I use cgltf without any issues, which is also used by raylib, Unigine and bgfx). It's also a perfect fit for OpenGL.
-
PortableGL: An implementation of OpenGL 3.x-ish in clean C
I recently discovered this pattern in cgltf (https://github.com/jkuhlmann/cgltf), and I agree, it makes deployment so much nicer.
-
Good entry-level model format with animation
Use https://github.com/jkuhlmann/cgltf It’s the most popular loader.
- Any opensource lib for loading gitf files? Something lightweight if possible
-
Is it worth writing a software raytracer before going into hardware accelerated RTX?
It's easy to generate a BVH for a generated triangle set (like a fractal pyramid or a dense cube). But, quickly generating a high quality BVH for a loaded model requires some research. Use https://github.com/jkuhlmann/cgltf to load models.
-
How to become a tools/graphics/engine programmer
Write a simple glTF viewer in OpenGL. This is a throw-away warm-up. So, don't fret over the code. Don't do anything complicated. Shoot for a simple, forward renderer for a simple, animated character with trivial Phong lighting, diffuse map, normal map and a basic directional shadow map. Use OpenGL ES 3.0/GL 4.3 API with no crazy features. Don't worry about performance. Use https://github.com/jkuhlmann/cgltf to load the files. KTX is a great container for textures.
computer-graphics-from-scratch
-
What are the best textbooks/resources for learning graphics programming practically in 2023?
I’m getting started too in graphics programming (web developer here) and I’ve started with the Raytracing in One Week-end, I find it to be great (I use ChatGPT along the tutorial to exchange and ask questions when I struggle). Other than that I also bought the OpenGL bible book and the book Computer Graphics from Scratch that you can both find on Amazon, they’re really great.
- Experiences with Pikuma's 3D course?
- Computer Graphics from Scratch
-
Best courses for learning graphics programming?
Computer Graphics from Scratch is fully available for free on the website, if you want to check it out first: https://gabrielgambetta.com/computer-graphics-from-scratch
-
C programming a modern approach VS Modern C
It may be a bit basic compared to Abrash's but https://gabrielgambetta.com/computer-graphics-from-scratch/
- a dump of some of the resources / tools ive used over the past year
-
Beginner Graphic Programming Projects for C++
Computer Graphics From Scratch is my favorite introduction to the subject. It assumes less about the reader than something like the "In A Weekend" series.
- Getting Started With GFX Programming in C in 2022
- I am looking for resources where I can learn the theoretic part of a raytracer, so I can implement it myself.
-
Ask HN: What HN post made you money?
This one: https://news.ycombinator.com/item?id=19584921 And wasn't even my post!
A long time ago I found myself teaching Computer Graphics at my alma mater. Over the following years my approach to the subject evolved, and I really got the hang of it. After I stopped teaching, I took my notes, handouts and slides, and made them into a series of articles that I put on my website, where they remained in relative obscurity. Hacker News managed to find it every once in a while, and it was generally well received, but nothing came out of this. Until April 2019, when that post made the HN front page again, except this time it caught the attention of an editor in No Starch Press.
Long story short, my materials are now a book, Computer Graphics from Scratch, sold by No Starch Press [0], and also available for free on my website [1].
This genuinely wouldn’t have happened without your support. THANK YOU, HN community :)
[0] https://nostarch.com/computer-graphics-scratch
[1] http://gabrielgambetta.com/computer-graphics-from-scratch
What are some alternatives?
tinygltf - Header only C++11 tiny glTF 2.0 library
tinyraytracer - A brief computer graphics / rendering course
assimp - The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
RayTracer - A ray tracing program
FBX2glTF - A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Tech-Interview-Cheat-Sheet - Studying for a tech interview sucks. Here's an open source cheat sheet to help
SharpGLTF - glTF reader and writer for .NET Standard
raytracing
gdx-gltf - GLTF 2.0 3D format support and PBR shader implementation for LibGDX
pibox-os - 📦💻 The Official PiBox Operating System
learn-wgpu - Guide for using gfx-rs's wgpu library.
interview-guide - An opinionated, actionable guide for software engineering interviews.