PX4 / jMAVSim

Simple multirotor simulator with MAVLink protocol support
BSD 3-Clause "New" or "Revised" License
84 stars 208 forks source link

New Textures for jMAVSim #62

Closed bkueng closed 6 years ago

bkueng commented 6 years ago

jMAVSim is a useful simulator, it just looks a bit outdated. This PR updates the rendering & textures: jmavsim_new_texture1

I added a second texture that looks nice too: jmavsim_new_texture2

Performance

I tested on my laptop with integrated GPU. The CPU load is the same, and the FPS count it the same as well. The RAM usage increased from 460MB to 660MB - due to the increased texture resolution. I found a Garbage Collector flag that reduces RAM usage by 100MB down to 560MB. Still quite a lot, but, well, it's java...

Texture source: https://www.hdri-hub.com/free-hdri-environments-for-download

@MaEtUgR @Stifael would be good to test this on different machines.

julianoes commented 6 years ago

Nice! Tested it on macOS 10.12 with Oracle Java 8.