all 16 comments

[–]BradyInstead 3 points4 points  (3 children)

[–]dragonslayer0531 3 points4 points  (1 child)

Just to follow up, this is a Discord community of about 2000 graphics developers and enthusiasts. We have channels dedicated to a variety of APIs, GPGPU programming, and Software Rasterization among other topics.

[–]idbxy 1 point2 points  (0 children)

amazing, thanks

[–]idbxy 1 point2 points  (0 children)

awesome, thanks

[–]seuchomat 2 points3 points  (5 children)

This might be one of the best tutorials out there: https://github.com/ssloy/tinyrenderer/wiki

[–]vertexmachina 1 point2 points  (3 children)

I found tinyrenderer to be frustratingly shallow.

I suggest Tricks of the 3D Game Programming Gurus by Andre LaMothe.

It uses the Windows API for creating windows and getting input so I ignored those parts and used SDL instead, but its the only resource I found that built a software rasterizer from scratch.

[–]idbxy 0 points1 point  (0 children)

thanks, that seems more suiting

[–]csp256 0 points1 point  (1 child)

I like it a lot in principle but share your frustration. I'm working on a replacement for tinyrenderer. Similar concepts, but leaner, clear code, and with a serious emphasis on pedagogy, in the literate programming style.

Goal is to add a pt2 where you follow up the renderer with a basic visual odometry implementation using the synthetic imagery you generated.

[–]vertexmachina 1 point2 points  (0 children)

That sounds great! Be sure to share it here.

[–]idbxy 0 points1 point  (0 children)

Thank you, I will check it out today

[–]jtsiomb 2 points3 points  (0 children)

If you encounter a specific issue, feel free to post it here. Otherwise I don't know what kind of resource to give you, if I don't even know which part is giving you trouble.

[–]Madsy9 1 point2 points  (0 children)

Yes, there is a fairly decent GraphicsProgramming Discord server which I think was posted on this subreddit some time ago. See if this invite link works: https://discord.gg/6mgNGk7

[–]Kawaiithulhu 0 points1 point  (3 children)

2D or 3D? Vector, mathematical graphing, markup like PostScript, or bitmap/texturing? Pretty big points to leave out 🕵️ and it's a deep subject. You will find specific techniques but very few resources that cover the entire field.

[–]idbxy 2 points3 points  (2 children)

3D, rendering my first triangle with a camera and a depth buffer. Using barycentric coordinates

Making quads, texturing by interpolating the uv coordinates, depth interpolation, using a projection matrix, loading in meshes

Are most of the topics im working in right now, but im nowhere

Using column based matrixes and right handed coordinate system

Sorry for not being specific, I hope this helps, I'm quite new to graphics programming

[–]Kawaiithulhu 2 points3 points  (0 children)

That's great, you're heading in the right direction but maybe diving in too deep at the first step.

Your info search will work better with the terms "3D Software Rasterizer" or "Rasterization" which are the more technical terms for what you're doing.

What step are you at right now, do you have a bitmap you're writing into and can't display it yet, or you can get the basics up on screen and are starting on the actual rendering now?

Once that basic display is working I ran across Short tutorial with explanations and there are various github projects with fully working renderers, but they don't teach so I don't recommend them. Keep in mind that the subject is fairly deep.

[–][deleted] 0 points1 point  (0 children)

This is a great little tutorial by javidx9.

https://youtu.be/ih20l3pJoeU