tinyrenderer
tinyrenderer copied to clipboard
A brief computer graphics / rendering course
1. miss a comma after the introductory clause 2. "the way" -> "how" 3. rewrite these three sentence 4. "is the capability to set the color of one pixel" maybe...
It seems generated TGA files can not be opened with "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\VsGraphics\vsgraphics.exe" output.tga command, however existing TGA examples are compatible with this utility. I have generated output.tga (wireframe...
https://github.com/ssloy/tinyrenderer/blob/1cce85258d1f1cf75fd10fe4d62ebfdb669f8cf9/geometry.h#L21
I wonder why the main-branch implementation of **`triangle(...)`** rasterization works like that: 1. `pts[i] = Viewport * verts_clip[i];` `( where verts_clip[i] = Projection * verts[i])` 2. `pts2[i] = pts[i] /...
I've been working through the code and ran into this issue trying to port it to Rust. Rendering a couple of the example triangles using the initial line sweeping approach...
1. Thank you for starting this project, I really learned a lot from this project. 2. When i look into the code of lesson6, i found the following code: `...
will you consider providing technologies similar to **unreal nanite virtualized geometry** in this series of tutorials
In the opening sentence of Lesson 4 we admit that the rendering we've been doing so-far is an orthographic perspective, which is rendered by simply ignoring the Z coordinate of...
Here is some code that adds linear sampling and texture wrapping: ``` TGAColor TGAImage::sample(const float x, const float y) const { float u = fmodf(x,1.0f); float v = 1.0f- fmodf(y,1.0f);...
Hey there! I belong to an open source security research community, and a member (@geeknik) has found an issue, but doesn’t know the best way to disclose it. If not...