News for hackers. Stuff that matters.

e_dziewanowski

Re:Simulating Jupiter on Wednesday April 24, 2024 @03:52PM (#40148792)
Re:Simulating Jupiter on Wednesday April 24, 2024 @02:09PM (#40147720)
Really cool - thanks for sharing! I thought about using cubemap to have the whole planet simulated but, since I only use the effect as a part of a skybox, it would be wasteful. You also use particles instead of textures. Are you familiar with the work of Larry Yaeger and Craig Upson? They created Jupiter for "2010", and used similiar, particle based approach.
Re:Simulating Jupiter on Wednesday April 24, 2024 @12:27PM (#40146357)
Website acts as my portfolio - I'm a game developer, so that is why I use Unreal material graph. Shadertoy allows me to demonstrate ideas on live example that is animated and anybody can play with its code. For the most part HLSL(Unreal) can be translated to GLSL(Shadertoy), but that wasn't the case here. In Unreal I use my own custom flow textures, in Shadertoy it is not possible - everything has to be stored in code. Even though the basic idea behind Unreal and Shadertoy shaders was the same, the implementations were quite different. It was easier to just do everything twice, that to convert it. And yes - it took a lot of work :).
Re:Simulating Jupiter on Wednesday April 24, 2024 @11:56AM (#40145924)
I'm afraid the only thing I can do in such case is to display a static image instead of a shader. Would you prefer that?
Re:Simulating Jupiter on Wednesday April 24, 2024 @11:28AM (#40145555)
Really great observations - thank you! I already use the method you described - curl is mixed with some amount of gradient to artificially bring color from the bottom layers. It can be observed at the center of the red cyclone in the last YT clip. Keep in mind - i wasn't going for true fluid mechanics - I just used some of the flow patterns observed in real fluids and layered them on top of each other to give the illusion of a more complex behavior. As for the sharpening - it is used to counteract the blurring effect of interpolating the color texture every frame.
Re:Simulating Jupiter on Wednesday April 24, 2024 @10:53AM (#40145095)
May I ask what GPU do you have?
Re:Simulating Jupiter on Wednesday April 24, 2024 @10:22AM (#40144727)
If the consensus is that the mobile color scheme is better than the desktop one I can just change it
Re:Simulating Jupiter on Wednesday April 24, 2024 @10:15AM (#40144650)
Hello everyone! I'm the author of the article. First of all, thank you so much for sharing it here. I've been taking note of the feedback - I'll try to fix the issue with contrast and other UX problems. If there are any specific suggestions or further feedback you have, please feel free to reach out to me. Thanks again for taking the time to read and share the article!