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 want to redo the keyboard scheme for the emulator, but first, gotta learn how Plan 9 apps handles keyboard controls.
Seems easy enough.
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.
Let's add some more primitives.
This is so much fun.
@neauoire wait, wait, wait. /dev/window? A window in plan9 is a file that you can just read and write to?
@big_chip the keyboard is a file, the mouse is a file, etc..
@neauoire i had heard this “everything is a file” stuff before but didn’t realise it went that far!
@neauoire oh I really have to jump on this now and give it a go.
@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
@sirjofri I don't know anything about that. Realtime 3d graphics on a raspberry pi sounds interesting tho.
@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.
@stephen rendering the business card raytracer on on a It's taking FOR EVER.
@stephen 15 minutes in and I'm still in the sky gradient at the top.
@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
@neauoire ... last year? It was this year, just 5 months ago!
@neauoire and the jam was only 4 months ago
@cancel No you're right, I'm just confused, it feels like a lifetime ago already for some reason.
@neauoire that’s probably a good sign
@neauoire you've made me envious and inspired me
i'll probably be setting up a proper plan9 installation on my own RPi 3 when i can get a new mouse, but currently i don't have one that draws little enough power so i'm messing about with the most interesting bit i've seen, draw
(this is with your mouse example)
@marie_joseph Ah!! This is great :D Try adding colors now.
@neauoire 💥 (my head exploding with the brilliance of that)
@neauoire If you're planning to implement some form of hidden line removal, that should be possible with another 200 lines of code. Making it run at a reasonable speed for hundreds / thousands of shapes is a bit harder.
@l3kn yeah I might implement faces, I had started doing it in pascal, I think it shouldn't be too hard for just basic things.
@FredBednarski yeah, it was superseeded by graf3d and the plan9 versions. I don't want to maintain web apps any longer.
@neauoire I get it :) You don't happen to have the old repo anymore by any chance? I wouldn't mind archiving it.
@FredBednarski I had it on my laptop but it died in the transit so it's gone. It shouldn't be too hard to rebuild, or just port the C code I share up on top, it's fairly straightforward.
@neauoire I know I should be asking about the graphic stuff, but mind sharing the source for that wallpaper?
@neauoire oh never mind, I got it.
@neauoire would be neat to see a 3D-editor-as-a-file-system but it's probably way too big project.
@neauoire plan9 werkkzeug when?
@sirjofri I'm just a newbie, I have no idea what I'm doing.
@neauoire same here 😅 werkkzeug is a tool for demo creation. It can modify meshes with parameters. For example to extrude you can select faces with a cube and extrude them. It works with stacked methods
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.