srobo / competition-simulator

A simulator for Student Robotics Virtual Competitions
https://studentrobotics.org/docs/simulator/
MIT License
9 stars 2 forks source link

Convert territory labels to be textures #314

Closed WillB97 closed 3 years ago

WillB97 commented 3 years ago

This is an alternative to srobo/competition-simulator#312 and has the additional upside of making labels visible in the animation. While this does add 13 more texture files to the animations the total texture size only increases from 3.46MB to 3.50MB.

In videos: Arena_16

In animations: image

RealOrangeOne commented 3 years ago

The screenshot in the description makes it look like the territories are now much darker, but I can't replicate that on my machine. Rendering issue?

PeterJCLaw commented 3 years ago

The screenshot in the description makes it look like the territories are now much darker, but I can't replicate that on my machine. Rendering issue?

I'm guessing it's a screenshot of the animation? For me the animations are usually darker.

PeterJCLaw commented 3 years ago

Was there a script or something used to create the textures? It would be great if that could be included so that they're easy to edit and rebuild.

WillB97 commented 3 years ago

The labels were made in GIMP while I was waiting for a parcel. Although I should document the settings used but I was unsure where would be the best place for these.