UnityCsReference
tinyrenderer
UnityCsReference | tinyrenderer | |
---|---|---|
58 | 61 | |
11,399 | 19,389 | |
0.9% | - | |
7.2 | 0.0 | |
5 days ago | 6 months ago | |
C# | C++ | |
GNU General Public License v3.0 or later | 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.
UnityCsReference
-
Anyone know what Unity's Matrix4x4 looks like internally?
I've checked their CS reference code on their Github, both here and here, but I want to dive a little deeper - specifically, I want to know what they're actually doing when determining validity of the Matrix4x4.
-
Torn between chossing Unity & C# or going UE5 and C++. What made you choose unity?
Yep, but beyond just decompiling it, the c# layer of code is on GitHub: https://github.com/Unity-Technologies/UnityCsReference
- 2 minutes of silence for those who bought RTX 3070 and RTX 3070Ti
-
Do you use System.Object.ReferenceEquals() ?
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Scripting/UnityEngineObject.bindings.cs (after 2019.1)
-
Custom method attribute for Animation Event Functions
The code where the method filtering for the Animation Event Inspector is done, is here (line 190). Is it possible to do something like this? That repository explicitly says:
- Can’t find operation
-
Bounds.Encapsulate precision loss?
No reason, you can look at the source of encapsulate
-
Modify Project Setting's "Default Quality Level" by script
There isn't really a straight forward way to do this, even the QualitySettings editor uses Serialised Properties to get at the data. (Line 343 in QualitySettingsEditor)
-
Has any indie dev got (read-only) access to Unity source? How much did it cost?
This is awesome, thank you! I'm most curious about their Runtime
-
Is C++ still the language when entering 3D programming in 2023?
I think if you want to get into graphics programming you do want to work with OpenGL and similar things, because at the very least you need to understand it all (and decide what parts of engines to use and what to ignore when you get to whole games). It's also worth saying that while you can only publicly get the references in Unity you do get source access at the higher subscription tiers you'd use at a game studio.
tinyrenderer
-
How to Become a Software Engineer ?
C++: How OpenGL works: software rendering in 500 lines of code
-
From scratch OpenGL and shaders with raw Xlib
I don’t think that exists (I sure would like for it to), but until it does you could amuse yourself with:
- A 500-line (non-OpenGL-compatible) 3D rasterizer: https://github.com/ssloy/tinyrenderer/wiki.
- A “hello Wayland” app written in C without libwayland or anything else: https://gaultier.github.io/blog/wayland_from_scratch.html.
- A “hello X11” app written in x86-64 assembly(!) without libX11, libxcb, or anything else: https://gaultier.github.io/blog/x11_x64.html.
-
Tiny Compiler – Writing a Compiler in a Weekend
the tinyrenderer[1] project has been on my todos forever now. glad to see the author is writing more self-paced programming projects.
[1]: https://github.com/ssloy/tinyrenderer
-
Is there space in this field for extreme cases like mine ?
- Game development - Unity3D project based learning in C#: https://learn.unity.com/ - Graphics - There was another user on r/GraphicsProgramming the other day (who teaches Computer Graphics at his university) that linked their lecture series for the entry year of their course here: https://tamats.com/learn/realtime-graphics/ - Project based learning: https://github.com/ssloy/tinyrenderer/wiki - Rendering API tutorials: https://vulkan-tutorial.com/, https://learnopengl.com/
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
There are a couple of excellent resources out there for implementing 3D rendering from scratch.
On that I cannot recommend enough is this github repo:
https://github.com/ssloy/tinyrenderer/wiki/Lesson-0:-getting...
If you are more of a visual learner, this guy is also a treasure trove:
https://www.youtube.com/watch?v=ih20l3pJoeU
-
Ask HN: What books or courses do you know similar to "From Nand to Tetris"?
Other people have mentioned ray-tracing in one weekend
If anyone is really interested in graphics I would also recommend TinyRenderer
https://github.com/ssloy/tinyrenderer/wiki
This one is a CPU-based rasterizing renderer
Its good if you want to get a good understanding of what a GPU does underneath
-
Trying to learn wgpu
I was in a similar position to you, and I first did this https://github.com/ssloy/tinyrenderer/wiki
- Where do I start learning graphics programming?
-
Recommendation for graphics experimentation project
Yes, my thoughts exactly, shader!=program on GPU. It's just a code which calculates pixel color or pixel position. See for example this: https://github.com/ssloy/tinyrenderer/blob/master/main.cpp. It's not GLSL or anything uploadable to GPU yet it's still a shader.
-
I have a few months to prepare for an interview. Is there a project that would get me at least part of the way there for the interview?
In terms of a project which would be worthwhile, I think building a software rasterizer from scratch is a useful first step. TinyRenderer is a great place to start. Looking at the high level overview of many graphics subjects, ScratchAPixel is a valuable resource. Theres also just great information in some of the rote graphics programming textbooks (Michael Abrash's Black Book fully available online from Jason Gregory, and this book is really interesting). The "RayTracer in a weekend" series is also (seemingly) very illuminating (no pun intended).
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
sokol - minimal cross-platform standalone C headers
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
raylib - A simple and easy-to-use library to enjoy videogames programming
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
BodySlide-and-Outfit-Studio - BodySlide and Outfit Studio, a tool to convert, create, and customize outfits and bodies for Bethesda games.
tinyraycaster - 486 lines of C++: old-school FPS in a weekend
deko3d - Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
astc-encoder - The Arm ASTC Encoder, a compressor for the Adaptive Scalable Texture Compression data format.
Pangolin - Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
oqtane.framework - CMS & Application Framework for Blazor & .NET MAUI
3d-game-shaders-for-beginners - 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.