I think I will make a #plan9 cookbook with a bunch of examples files like I did for Think Pascal and 6502 Assembly.
Managed to compile asm6 with pcc and resume my 6502 work, only this time, in #plan9.
Dreams do come true.
I know I told myself I wouldn't waste time doing this but the #plan9 babyblue was NOT calming me down, at all.
Made #plan9's Acme feel a bit more confortable, hacked it a bit so shift+arrows move the selection left and right. Total game changer.
@cancel Could you relay my thanks to sigrid, this is my dream hex view :> I'll come on IRC in 5 more days..
Completed my little .chr(famicom sprite format) file viewer util for #plan9, added context menu for zooming.
I just love how in #plan9 I don't need to write image exporters, I can simply `cat /dev/window | topng`
Tried to implement an extrude function, that did not disappoint.
Listening to: Sixth June - Virgo Rising
@neauoire wait, wait, wait. /dev/window? A window in plan9 is a file that you can just read and write to?
@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 2D projection of 3D is really simple. You’ve seen the raytracer that fits on a business card, no?
@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 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)
@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)
@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 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.