Closed CourchesneA closed 3 years ago
@CourchesneA can you make instead a parameter style
that allows us to switch between many styles? (synthetic
, photos
, photos-dusty
, ...)
I modified it so that now we take a string (parsed in to an enum) which is either "synthetic" or "photos" (default). We keep a mapping of style -> prepend_string. We then load the texture $prepend_string + texture_name
About the failing tests, I think they will pass once my PR is merge on Pyglet: https://github.com/pyglet/pyglet/pull/295#pullrequestreview-516817884
Simulator now supports constructor option
--synthetic-tiles
.Without:![real_tiles](https://user-images.githubusercontent.com/16596299/97017024-723f8d80-151b-11eb-927c-81578b20e197.png)
With:![synth_tiles](https://user-images.githubusercontent.com/16596299/97018317-03fbca80-151d-11eb-94ae-7cd6e7b0effc.png)
Only drivable tiles were changed