A #plan9 sort of day.
Gathering a bunch of examples, I want to learn to make little graphical apps.
AWYEAH, that's it.
Teaching myself how to mod rio. Added wallpapers support from scratch today. Plan9 is amazing, it's everything I was promised, it's now my main daily driver.
Every 6 months I have to relearn high-school geometry..
Oh cool! You can do little recursive things in PostScript!
Messing with aiju's NES emulator.
I wonder why Emily decided to use /dev/kbd instead of keyboard events..
I want to redo the keyboard scheme for the emulator, but first, gotta learn how Plan 9 apps handles keyboard controls.
Seems easy enough.
nasu9, sprite editor
asm6, assembler via pcc
nes, mod of Aiju's(9front)
Listening to Lustre
doing computer graphics
Waiiiiit a minute.
Oh my god.
I've always thought 3D was this complicated thing, I would include these big libraries and frameworks to make 3d stuff, but in reality, all I needed was these 2 little functions?! Are you kidding me.
(side note: )
ooh, Last Exile! I loved that anime!
@neauoire yeah, given the choice between trying to figure out how to modify something correctly with sed, and just writing what I want, I'll usually go with the latter :P
@neauoire done :)
@neauoire bit of an odd way to draw pixels. why not use a byte array as a buffer?
@csepp My dst * image is the buffer.
@neauoire how do you bootstrap new install with all your customizations? I have been maintaining some dotfiles for recreating my shell xp but curious if you have an equivalent for plan9? I.e. if your rpi died
@neauoire Ok it's starting to get very interesting. Can you change all menus depending of the context?
@thomasorus You could change it depending on wether you're opening mouse2 or mouse3 menus.
@neauoire wait, wait, wait. /dev/window? A window in plan9 is a file that you can just read and write to?
@neauoire can we just make some true shader stuff with spir-v etc?
@sirjofri I have no idea what this means
@neauoire a real hardware stack with the possibility to add hardware acceleration with industry standards, so we can compile standard shaders and run them on plan9. Realtime 3d graphics industry standard compatible etc
@neauoire have the same filling, I will to do something now on pico8
@neauoire 2D projection of 3D is really simple. You’ve seen the raytracer that fits on a business card, no?
@stephen yeah, but I don't understand it
@neauoire raytracing is different from rasterization, but both are pretty simple. This is a breakdown of the business card raytracer: https://fabiensanglard.net/rayTracing_back_of_business_card/
@neauoire oh! What you’ve implemented is projection. Gotta give credit to those frameworks because there’s a lot more to 3d rendering. Try doing occlusion next 😉
@stephen yeah I don't have normals or anything like that. I'm just surprised projections are so simple.
@neauoire it’s elegant. Perspective was discovered in the 1400s after all.
@neauoire this is super interesting!! I never managed to do that! Can you please tell me how to do this, where can I find this example source? All I could do when I was teenager was the Wolfenstein 3D engine (which is pseudo-3d)
@Hexman I'll put the Plan9 C code up in an hour or so.
@neauoire thank you!!! I will give it a look immediately
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.