Adding Triangles to my Graphics Library in C (Olive.c Ep.02)

  Рет қаралды 22,338

Tsoding Daily

Tsoding Daily

Күн бұрын

References:
- Source Code: github.com/tsoding/olive.c

Пікірлер: 33
@sababugs1125
@sababugs1125 Жыл бұрын
Watching him debug a bug you've already spotted is definitely an experience
@legion_prex3650
@legion_prex3650 Жыл бұрын
tsoding is tsoding. It is just like that, very unique, very intelligent. Like his style and attitude and wish all the best to him. Producing video edutainment content is better than working in the industry.
@gameofpj3286
@gameofpj3286 Жыл бұрын
I can def feel the lack of sleep through my screen. Hope you get some better sleep soon
@Lensr
@Lensr Жыл бұрын
More olivec! Awesome Also, be sure to get some rest!! I suck at sleep schedules too 😭
@pc2753
@pc2753 Жыл бұрын
Really starting to enjoy these 👍
@AbelShields
@AbelShields 6 ай бұрын
Can't believe tsoding made the same mistake of making line gradient an integer for the second time, I'm crying and shaking rn
@TsodingDaily
@TsodingDaily 6 ай бұрын
Consistency
@davydorynbaev
@davydorynbaev Жыл бұрын
love the cooding streams, keep it up
@cacheman
@cacheman Жыл бұрын
Just to mention an alternative algorithm: You can do it like the filled circles. Iterate over the bounding box of the triangle, do point-in-triangle-check to determine pixel color. Of course, this is pretty inefficient for some classes of triangles, but OTOH it should be very robust and maybe easier to SIMD up?
@Eugensson
@Eugensson 28 күн бұрын
55:12 Italian QWERTY - the keyboard layout which gets in your way of becoming a good programmer. It doesn't have the tilde key.
@MrCoreyTexas
@MrCoreyTexas 9 ай бұрын
For anyone wondering why OLIVEC_SIGN and OLIVEC_ABS is included, try working with and without them and compute y2 given y1=150, h=-50 and you'll see why they are needed. Very clever, sir
@joly3122
@joly3122 Жыл бұрын
Интересные видео!
@jtrader5093
@jtrader5093 Жыл бұрын
nice job... thank you
@HelloWorldCode
@HelloWorldCode Жыл бұрын
Next: Ray traced triangles 😎
@ZephyrCubic
@ZephyrCubic 3 ай бұрын
He did indeed!
@mrylmz7754
@mrylmz7754 Жыл бұрын
Next video we want to see a tesseract :D
@cacheman
@cacheman Жыл бұрын
You can get rid of the need to pass the type to the swap macro, if you're willing to use popular compiler extensions, such as GCC's `__auto_type` or `typeof()`.
@ZephyrCubic
@ZephyrCubic 3 ай бұрын
sure, but one of the main points of this library is to not have third-party dependencies. That includes to build it.
@0ne87
@0ne87 Жыл бұрын
Gf in C when?
@anilraghu8687
@anilraghu8687 10 ай бұрын
feh - a fast and light image viewer 39:40 Sleep= we will watch the recorded version.
@STRATOS13PAO
@STRATOS13PAO 7 ай бұрын
what was the problem caused by at 51:00?
@CarterColeisInfamous
@CarterColeisInfamous Жыл бұрын
20:00 bess numbers
@digitalzoul57
@digitalzoul57 Жыл бұрын
can you share this discord link
@flleaf
@flleaf Жыл бұрын
wasn't he wrong about dx, dy? i think he was but i need answers
@flleaf
@flleaf Жыл бұрын
if x is not changing (dx = 0) then we have vertical line (and vice verca) and he said the opposite
@qzhong
@qzhong Жыл бұрын
I think you're right, he was really sleepy then and was confused about x and y direction. Yet the code works fine.
@dmitry.shpakov
@dmitry.shpakov Жыл бұрын
I can argue why olivec logo is not good, lol
@AntonioNoack
@AntonioNoack Жыл бұрын
😄, if it was for one less subdivision, it would be a very iconic shape ^^
@SuperNolane
@SuperNolane Жыл бұрын
You use filler word "right" so often it becomes hard to listen. In fact you used this word 274 times during this video. Which is roughly once every 19 seconds.
@TsodingDaily
@TsodingDaily Жыл бұрын
right
@SuperNolane
@SuperNolane Жыл бұрын
@@TsodingDaily great content btw :)
@janousekpetr6843
@janousekpetr6843 Жыл бұрын
It would be nice to continue using the "(Olive.c Ep.02)" suffix to make it easier to find consecutive episodes. I was looking forward to watch the next episode, great content!
@calebharper9567
@calebharper9567 Жыл бұрын
olive.porth when
Porting my C Graphics Library to Web (Olive.c Ep.03)
33:38
Tsoding Daily
Рет қаралды 16 М.
Adding Transparency to My Graphics Library in C (Olive.c Ep.04)
1:13:33
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 10 МЛН
CAN FOXY TRICK HIM?! 🤣 #shorts *FOXY AND NUGGET!*
00:17
LankyBox
Рет қаралды 9 МЛН
ФОКУС С ЧИПСАМИ (секрет)
00:44
Masomka
Рет қаралды 3,8 МЛН
They're a tough bunch!! # Superman can't fly # Superman couple # Spider-Man
00:47
My Own 3b1b Animation Engine but in C
2:06:44
Tsoding Daily
Рет қаралды 17 М.
Procedural Graphics in C (Voronoi Ep.01)
1:31:43
Tsoding Daily
Рет қаралды 46 М.
What is Relative Pointers?
1:51:27
Tsoding Daily
Рет қаралды 31 М.
The Most Bizarre and Fascinating Project I've seen!
1:55:16
Tsoding Daily
Рет қаралды 39 М.
Advanced C: The UB and optimizations that trick good programmers.
1:12:34
Eskil Steenberg
Рет қаралды 133 М.
I failed Math but Coded 3D From Scratch Anyway (Olive.c Ep.07)
58:25
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 435 М.
Опасная флешка 🤯
0:22
FATA MORGANA
Рет қаралды 584 М.
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Рет қаралды 1,8 МЛН
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 2,1 МЛН