Recent Posts
Mogger castes of Pajeetland
Why are pajeetas getting so vulgar these days?
Urgent reforms india needs according to you.
East Indian General
Share your sources
Boomer logic
Cinema has become my first home
Wagiechads
Is indian iq really 82?
yaar bihari majdoor
BROATUL
What makes him attractive?
Advice
are they looxmatched?
Gayush ne bahut dino se post nahi daali
Come home
Our boy is enjoying Rajma Chawal.
BDL winning again
Yaar there have been talks about how whitoids hate indians. But real thing is white girls can't resist a tamil man's butthole. Why is no one talking about this. They associate us with poop. But also lick 😋 our buttholes. Why are whites like t...
Hands down on
Hakla
Finally....
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
rwjfLI
No.318004
tNYPUO
No.318019
>>317757
>essays
go write up a blog. about this and anything else you will learn. thats a good habit
nOpckA
No.318024
how old are you chadanan
dGcR+z
No.318170
N3HP2w
No.318272
upload code on gutterhub (create new profile)
unYjcM
No.318288
>>318272
maybe later on I will do that, as you can see i am not even using git atp, these little projects I do are simply for education purposes, I don't really see any point in making unnecessarily complex by putting the whole thing under version control.
Anyways the whole project is currently an executatble.
Later on I will transform both the bmp writer and sketch (name for my graphics library) as separate libraries, may be then I will put them under version control, it will make much more sense cuz I will be simply adding features gradually.

























































