Atmospheric refraction
|
|
Atmoscat | Date: Wednesday, 20.07.2011, 23:45 | Message # 1 |
Astronaut
Group: Users
Germany
Messages: 68
Status: Offline
| After discovering the cool light distortion effects in SE around black holes I was wondering, if it would be possible to add this phenomenon...
http://spaceflight.nasa.gov/gallery....948.jpg
PC: Intel® Core™2 Duo Processor E8500 @ 3.16GHz, 3.25 GB / 4.00 GB DDR3 RAM, GeForce GTX750Ti 2048 MB VRAM, WinXP Home 32bit / Windows7Pro 64bit
Edited by Atmoscat - Wednesday, 20.07.2011, 23:46 |
|
| |
SpaceEngineer | Date: Thursday, 21.07.2011, 00:34 | Message # 2 |
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4800
Status: Offline
| Yes, it is possible. I can adapt the black hole shader to render atmosphere distortion. But it could reduce performance a bit.
*
|
|
| |
Atmoscat | Date: Thursday, 21.07.2011, 08:32 | Message # 3 |
Astronaut
Group: Users
Germany
Messages: 68
Status: Offline
| SpaceEngineer, that sounds great!
Regarding the possible performance impact, perhaps you could include it as an optional feature in the graphic setting dialogue window...
PC: Intel® Core™2 Duo Processor E8500 @ 3.16GHz, 3.25 GB / 4.00 GB DDR3 RAM, GeForce GTX750Ti 2048 MB VRAM, WinXP Home 32bit / Windows7Pro 64bit
|
|
| |
SpaceEngineer | Date: Thursday, 21.07.2011, 11:53 | Message # 4 |
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4800
Status: Offline
| In addition to a drop in performance, it consumes a lot of videocard memory. This is a screen-space post effect, so it needs a render buffer, that is equal to screen render buffer. So if you have a full hd monitor, floating-point RGBA render buffer takes 1920*1080*4*4 = 31.64 Mb of video memory. Default render buffer already takes 2*31.64 = 63.28 Mb, so all these buffers takes 100 Mb of video memory. If you have only 512 Mb of it -taking into account other buffers and static data- then you have only 150-200 Mb for cache of planetary textures and procedural stars. This is not enough for normal working of engine, the planets and stars will never stop to load, even at LOD -3. Now you see the reason for high system requirements... And the reason for low detail of black hole effect: The black hole render buffer is only 1024*1024 to save memory (it can be adjusted in main.cfg, TRBlackHoleResolution parameter).
*
|
|
| |
Atmoscat | Date: Thursday, 21.07.2011, 23:31 | Message # 5 |
Astronaut
Group: Users
Germany
Messages: 68
Status: Offline
| Okay, thanks for the insight!
PC: Intel® Core™2 Duo Processor E8500 @ 3.16GHz, 3.25 GB / 4.00 GB DDR3 RAM, GeForce GTX750Ti 2048 MB VRAM, WinXP Home 32bit / Windows7Pro 64bit
|
|
| |