Recent Posts
Vedas
fuck it straight up furry porn thread
NNN got cancelled
RakulTroon GTFIH
Aao mujhpe haso sab milkar
Wealth disparity
Daily hindookissinger thread
based on the userbase, this is the worst iteration...
my biggest project yet
Stacies where r u
I love my carbs
Average liberal vs cuckservative
Loosing my hope in pajeetas
No Nut November General #1
/NNN/
ranking
Delli anans
ZAMN
Jewtube truthnuke
PSA: Temporary Experiment with ads.
Karmaphal Sidhhant
LOOKING FOR VIDEO
word coiner appreciation thread
why are our standards abysmally low?
This n!gga terrorises America every 31/10
my biggest project yet
64f/Dh
No.317713
everything from scratch in C btw
bmp file writer, you can create procedural graphics in memory and then render it as a bmp image.
currently i have implemented the bmp image saver, in its most basic form and as far as graphics is concerned i can fill a canvas with color.
gradually i will add a lot more features to bmp writer such as support for 32 bit bmp with alpha channel (transparency) support and transform it into a separate library.
as for graphics, i am currently implementing a voronoi renderer, after that i will create whole graphics library, maybe implement the ray tracer challenge as well
wWpqOl
No.317719
>>317713(OP)
looks cheap, copied and pretentious
lt5zXI
No.317720
Post in >>>/g/
ZfjfUU
No.317722
>>317713(OP)
What is your caste?
wWpqOl
No.317725
>>317722
KEK
64f/Dh
No.317726
>>317719
no i have written all of it by myself, bmp spec (struct declaration) is available in win api docs, procedural graphics i learnt from a book mostly
64f/Dh
No.317727
>>317722
brahmin, why?
64f/Dh
No.317730
more of the pics
i got the idea from a similar project which was done for linux for ppm, windows doesn't support ppm, so i chose to do it for bmp, simplest image file format on windows
64f/Dh
No.317733
here is the image btw
64f/Dh
No.317735
>>317720
i posted in /g/ few days ago, but the thread died
jizDfi
No.317739
lt5zXI
No.317753
>>317735
Just wait , cheap attention isn't good
Et41f8
No.317768
>>317713(OP)
Are you TechJhoomer?
64f/Dh
No.317772
>>317768
Nope but tbe voronoi idea i got from him, apparently it's a popular graphics project among C/C++ enthusiasts.
64f/Dh
No.317776
Graphics programming is literally the peak, there is nothing more satisfying and interesting.
And this is nothing, I am learning win api programming from handmaid hero series.
Casey moratorium intro to C vids are great.
64f/Dh
No.317780
I am also learning Rust btw
lphp8N
No.317798
yaar padhaku jeet, yaha bhi aagaya tu?
4xoGIq
No.317803
>>317739
serious question- do all brahmins need to be fair? i know a brahmin who is as dark as the night. he may be larping
LlOboh
No.317814
tbh mujhe koi idea nahi hai lmao, ye sab kya hai mai to mechanical branch me tha, ab NEET hu (gobarmint meme exam Jeet)
54PlJ1
No.317816
4xoGIq
No.317830
>>317816
what about north india brahmins
qFQptC
No.317857
>>317727
>brahmin
Everything just added up,
>>317739
>>ChatGPT code
It's not chatgpt code which is easy to tell from a cohesive code, and consistency in variables, but also newline arrangement nufag
>>317713(OP)
>C
Why? I mean it's not bad but why not opt out for C++ or C#? Could you not find suitable libraries? Also since /b/ is filled with non tech fags from reddit use layman terms for the retards, why go for a bmp writer though?
fIxRik
No.317858
>>317798
old inch had lots of padhakus
4xoGIq
No.317860
>>317838
this is only natural for bhachan. i would rather say that your productive post distracting us from caste kanging is the derailment itself
64f/Dh
No.317870
>>317857
>why not opt out for C++
Everytime i start learning C++ I just get overwhelmed, I alr3ady know C quite well, I just don't feel like using C++ for some reason, its a mess tbh and there are lack of resources to learn it, I skipped to Rust instead.
>C#
don't know it.
I try not to use external dependencies and libraries as much as possible.
I use raylib though, I plan to create my own windowing platform in the future though.
>why bmp
Its the simplest image file format on windows.
A lot of procedural graphics is rendered using ppm file format on linux, but I dont use linux so I created a bmp writer instead.
64f/Dh
No.317879
There is a book called ray tracing challenge, it teaches you how to write a ray tracer, it is language agnostic and mostly focuses in the logic and math side of things, basically you have to implement the whole thing yourself.
It uses ppm for rendering, that's where I learned that we can generate graphical data in a memeory buffer, write it into a image file format and render it.
the professional is to create a window and use generate graphics using OpenGL or dirextX but that's extremely complex, I do plan to learn that stuff too.
64f/Dh
No.317908
BTW I use MSVC, I dont understand why retards install mingw GCC for C/C++ programming on windows, when official Visual C++ build tools, even IDE itself exists.
D4LbX6
No.317916
!PQjJ0TDNsAFb+B8

aQHAE2
No.317920
>>317713(OP)
btech hone wali hai or header file ke alawa sab pehli baar dekhra hu
64f/Dh
No.317925
>>317916
yeah other file formats have like JPG and PNG have compression which is too complex to implement.
BMP supports compression too but its optional, I have been looking into run length encoding though.
4xoGIq
No.317927
>>317916
yaar ye rust kya hota hai?
64f/Dh
No.317929
>>317920
Colleges no longer focus on C lang that much yaar pajaat saab, in my cousin's college C programming course they barely covered pointers.

37TzOp
No.317930
64f/Dh
No.317931
>>317927
programming language hai
the best part about it is freely available official learning resource.
64f/Dh
No.317936
>>317930
bhai in simple terms, everything on a computer is just 1s and 0s end of the day, this means you can generate anything, audio, video, graphics etc data in the memory, to render it you simply need to write this data into OS supported file format.
you can write an entire ray tracer that way, create 2D and 3D objects too.
64f/Dh
No.317939
On windows BMP files have a file header, info header and pixel data, you can find the struct on windows api docs, that's where I found it
all you need to do is write your image in that format.
64f/Dh
No.317940
All you have to do is then implement functions that write the pixel data and set up the image struct fields.

37TzOp
No.317944
>>317936
But why do that? VLC can play music and videos just fine.
64f/Dh
No.317947
>>317944
Well yeah of course, I was just giving an example, you can write your own video player, encoder etc etc too

eUaXMF
No.317950
>>317939
anon-kun i have question
you are doing all of this just for the purpose of learning and fun right ?? because this is literally reinventing the wheel
t. got too much into hobby stuff in college and narrowly escaped unemployment




























































