Smoke can now be colored! Should make creating emitters easier and should implement wind now
Log in to leave a comment
Smoke can now be colored! Should make creating emitters easier and should implement wind now
Log in to leave a comment
actually improved ray marching :) damn does it look good
Log in to leave a comment
Cleaned up the code, realised vorticity confinement has some bug that leads velocites to explode after a while :/ they don’t explode for the first 10 seconds or so tho so it kinda works there? That will be something I’ll fix after school trip.. it’s headache inducing…
Log in to leave a comment
No way I just spent an hour looking at all shaders code, trying to understand whats wrong ,double checking math just to realise I was not binding the damn buffers on the gpu before initializing solid map.. how did I not notice from the start.. in the pic velocities are finally properly contained in the grid.. wow what an overlook
Log in to leave a comment
Ugh.. while working on vorticity confinement i noticed my damn velocities are slipping into solid cells. no idea where this is happening but its making smoke escape..
Log in to leave a comment
Temperature introduced! now onto vorticity confinement, afterwards i can finally work on tidying code up, adding external forces and making my smoke more smokey
Log in to leave a comment
Implemented some rudimentary ray marching. I hate pretty much everything about it, how flat it looks, how SAD it looks, but its fine as for now I just need to be able to see what my smoke is doing.. Will work on buoyancy and then I should be done with most of 2d -> 3d port, allowing me to work on a more exciting way to visualize this smoke..
Log in to leave a comment
finally managed to draw some kind of arrows ( i hate them, but they do their job quite fantastically for debugging purpouses ). Without them i would not have been able to get advection working.. at all. In the attached photo, properly advected +10.0f velocity at P(2,4,4) (grid size: 9^3)
Well the grid looks good.. time to move into coding the smoke..
Log in to leave a comment
slowly transitioning to 3d.. got the axis drawn! well, more importantly, started implementing the camera system and everything that could be completely ignored in 2d.
Log in to leave a comment
Cleaned up some code. Kind of happy with how my smoke behaves. Will now move to 3D! this is gonna be painful and im gonna regret this.. will backup all files because I know many things will break :/
Don’t even know where to start with visualization
Log in to leave a comment
temperature introduced! cold smoke falls, hot smoke rises!
as always it initially broke everything! had some issues with buffer swapping functions
Log in to leave a comment
it finally works on the gpu… man did it make me lose my mind… I was sampling incorrectly as i didnt realise how opengl’s texture() works.
1000x1000 grid. Gpu starts getting hot..
Log in to leave a comment
10h in im losing my mind. It’s way smoother on the gpu, but my advection program was wrong: it was for whatever reason advecting diagonally (??!!??!!) so I tried to fix it, just to end up with velocities completely disappearing (?!?!?!). Because of that i can’t even show how smooth it was, so this devblog will just be a high resolution grid being drawn…
I liked cuda way more. way more.
Log in to leave a comment
With velocity advection figured out I finally implemented smoke which is the main point of the simulation. Looks good, and as expected FPS are horrible and we’re still in 2d with an extremerly small resolution. I will start learning about opengl compute shaders now and will port most of the code to those.
I hope they are similar to CUDA ones otherwise this is gonna be rough
Log in to leave a comment
Arrows are drawn properly and divergence is finally being resolved.. fixed the math issues
Log in to leave a comment
Working on some arrows, I understood my grid was being drawn incorrectly. It took me 5 whole hours for one of my dumbest mistakes ever.. this was a headache (10x10 grid was drawn as 8x8. Now its properly drawn)
Log in to leave a comment
Got a way to visualise divergence. Will work on 2d until math works, then Ill port to 3d.
Log in to leave a comment
Got to transformations, textures. So far enjoying the OpenGL learning experience. Should soon start working on the smoke sim!
Log in to leave a comment
Made a 40 pieces SODIMM / DIMM holder as the maximum I could find online was 25! Works pretty well
Got to the rainbow triangle, implemented shader source parser
Log in to leave a comment
This will be a fun transition from my previous fluid sim project. Decided to drop WinGDI which I previously used as it proved to be painfully slow (I mean, part of the reason I chose wingdi was because I knew it was painfully slow) and CUDA as I want it to be usable on as many platforms as possible (Even if I really enjoyed CUDA programming!). I know NOTHING about openGL so my first project hours will probably be spent on learning opengl. So far? Set it up and got a window running! Good start. As soon as opengl clicks in I will start working on the smoke simulation math. First CPU; then slowly will transition it to GPU.
Log in to leave a comment
Someone might have accidentally swapped the mosfet’s gate and source in the pcb.. got it today with this pretty surprise. Fixed it…
And got the friendzone! Feeling so free now
Log in to leave a comment
did some work on jst connectors holders and started thinking about how to make the screen + buzzer assembly. Asked the girl I like if she wants to go out this thursday and she said yes. Idc if she ends up saying no or yes to my declaration what i want is to get out of this grey zone im in with her where i dont understand if she shares my same feelings
Log in to leave a comment
I should work on the radiator.. but I dont even know how to make it in the first place with my limited resources and tools. So I worked on the pc’s keyboard, to procrastinate that.. Simple 3 keys keyboard. Will have up, down, confirm.
The more I go forward with this project the more I realise the limitations of working with copper and limited space when having no dedicated tools. The water block is a pain I still did not figure out, and so is the radiator.. and then? the silicone tubes will be bent so much that they will exert a force I dont know my radiator and water pump holders will handle.. Dont know really how to proceed.
Log in to leave a comment
Printed everything that had to get tested:
-Water tank
-Back plate sliding mechanism
-PCB PSU
-Water pump a little bit extended holder
-JST holders
Log in to leave a comment
Designed and printed. Works well! Made both SODIMM and normal ram versions.
Log in to leave a comment
As said, I reworked the left panel of the case so it supports both 30mm and 40mm PSUs.
Log in to leave a comment
Worked on the PCB-using PSU.
Will now change left panel so it works with different PSUs without having to change it every time.
Log in to leave a comment
After some small final changed to the PSU pcb I ordered it. I decided I will not be using screw connectors or any sort of connectors for practical reasons. I made the pcb longer so the solder connections poke out and so soldering to it would be easier while having the PSU assembled.
I did not devblog much lately as I have been working, or at least trying to, on the heatsink. Spent a whole day using a handsaw to cut copper, soldering with heatgun + plumber solder, using epoxy putty… just for it to leak at inflow / outflow connections. Tried asking some family friends if they have cnc machines at their factories but no one does sadly. My next attempt will be by using a 1 inch copper tube as the main chassis to which I’ll solder bottom and top plates with oxygen + acetylene (that is, if, I get access to oxygen + acetylene from plumber father friend). If I fail in doing that because of the small size of the object I’ll try to invent something else. So far I have low expectations :(
But I will not give up.
Log in to leave a comment
Many changes, most notably:
Reworked front panel,
Decided to work on a PCB for the PSU as I have an expiring grant from High Seas.
Reworked button holder,
Reworked back panel and its attachments, so also top and bottom case parts,
Reworked how front and left panels attach by doubling the amount of screws
Reworked pump holder
Log in to leave a comment
Reworked on the front mesh panel. I could not stand the old one
Log in to leave a comment
Finished front panel. Not particularly satisfied with it, so might change it in the future.
Log in to leave a comment
Printed most of the panels, they fit in a weird way but they do fit. Got a few more things to fix. Will then work on back side panel and finally figure out front mesh. Then it will be time to work on the heatsink..
Log in to leave a comment
First print showed many problems.
-The space taken by the rails for the side panels makes it hard to screw in the screws without bending the top or bottom of the case.
-The middle panel warped where the PSU should go.
-I completely, completely forgot clearance on the top and bottom of the middle panel. Inserting it into the top and bottom pieces was extremerly hard.
-In standoffs the space left for the screws head isn’t enough. They don’t fit.
Spent the time fixing these issues
Log in to leave a comment
Started working on the mesh. Will leave it unfinished as I have to decide what button to use (mechanical kb one or simple one). Will now work on the back side panel.
Log in to leave a comment
top plate finished, its turning out great! Cant wait to print it and have nothing fit correctly 😭
Log in to leave a comment
Front panel made
Log in to leave a comment
Made the left panel.
Log in to leave a comment
Worked on the middle plate.
Log in to leave a comment
Decided to split the case from a single object to the different panels that screw in together.. Printing the case as a single object would have generated way too many supports and would have made prototyping a hassle. Bottom of the case in the pic
Log in to leave a comment
Might have forgotten a screw terminal in the old design.. well that’s fixed. Also had to change it a little bit to make it fit the now smaller psu.
Log in to leave a comment
More work on the case. Need to make the airflow cutout for the back and then I can move to the front panel.
Added the 3 slots which will be needed for the 2 extensions (oled screen, keyboard) + empty one for more ideas
Log in to leave a comment
Working on the case I decided to scale down the PSU.
The main issue were the screw connectors I was using taking up most of the space height wise, and I cut and filed down the excess plastic in them to make them 2/3 of the original size they were.
Log in to leave a comment
Final changes to water pump holder, kept working on the case while the prototypes were printing.
Log in to leave a comment
Final change to psu connector. Started working on water pump holder but I took wrong measurements and have to measure everything again. Oh how much I hate not finding data sheets
Log in to leave a comment
Added one more screw to secure psu cover to the body. Fixed various tight fits. Changed the breakout board holder as I didn’t like how the old one barely held the breakout board inside.
Log in to leave a comment
Designed the PSU + screw terminals connector, will now print to check if everything fits as it should.
Log in to leave a comment
Measured and recreated all the components I will use in the project to get a rough idea on how to design the case and the various modules around them.