Started making the notepad and calculator
Started making the notepad and calculator
I finnished the windows! Needed to rework the logic and this time I followed the tutorial. It really helped me especially with organizing the functions.
I started on some OS things, for now I’ve done some style and logic for the windows but I still need to make the icons open them.
icon source: https://www.svgrepo.com
I fixed the rendering artifacts and started making the desktop.
I almost finnished the background. The only things left are those random giant triangles and I cant figure out what is the cause.
Hello, I just started making my web OS. Today I made the back groud rendering pipeline. The render will be quite basic and I took some code from my other projects so it took me less time than ussual.
The background will be made randomly positioned, low-polly shapes(like this in the screen). I want them to look like crystals.
I want to finnish the render and then make the actual site, but I still need to make random shape generation and add some movement
I added a trail behind the satelite to make this more interesting and a direction indicator(which you can turn off) so you know where the satelite is when you zoom in.
I also started working on the shell file which basically grabs the render and ads html features. All the info and other thing will be in this grey area(for now, maybe I will change them later).
BIG NEWS!
I was finally able to convert my C code to WASM using emscripten. I run it on local hosted server but I still cant make it work on github pages.
I also moved part of physics calculations to a specified shader which should significantly boost the performace.
I optimized my simulation and added a camera orientation indicator(top-right corner). It was much harder than I expected but It looks cool.
I added this thing in the top-right corner which indicates you how your camera is orinted.
I am now working on rewriting may program so I can later convert it to WASM using emscriptem. I also made the satelite distance modifiable.
Added an option for user input. Now I will focus on adding friction to the moving ocean.
I fixed some scaling bugs, but there still some left and i cant figure how to fix them.
I also need to add friction soon.
View after fixing radious bug:
I replaced some floats with doubles for better precision and improved the information tab.
Made a huge rework today:
-Reworked the entire pipeline and data structures to make code cleaner and more efficient.
-Fixed some physics mistakes with scales I made before.
-Fixed rendering bug which appeared when I chaned rendering order to a propper one.
Made a custom Information tab, It shows simulation data.
This took me some time, but I am happy with the results.
I added camera movement, for now the camera is centered on the planet but I might change it in the future. I neede to add and rework few functions to make this work.
There was also a major problem, which I learnt is called “gimbal lock”. Before I fixed It the camera was getting flipped when It rotated 90 degrees.
There is also a zoom option(2’nd picture).
I scaled everything to real proportions of earth and moon. Improved pipeline by adding rendering functions and reducing the number of shaders. Made the moon orbit, to see it move I added a second time scale(not based on SI) to make the orbits fast without affecting other scales.
I still need to correct the water based on updated moon position.
Finaly the geometry is calculated by the satelite’s gravity. In a normal scenario the wouldn’t be visible in that scale so I needed to bring the moon verry close to the planet(It is now invisible) and increese its mass.
I am planning to make a zoom options so the deformations will be vissible even with the real data