pimonteiro / CG

MIT License
0 stars 0 forks source link

Adapt parser to #26 #27

Closed herulume closed 5 years ago

herulume commented 5 years ago

Press r or R to change between random colours and read colours.

BrunoMartins11 commented 5 years ago

I don't know if I'm testing correctly but is it suppose to turn black (everything disappears) when you press 'r'?

herulume commented 5 years ago

I don't know if I'm testing correctly but is it suppose to turn black (everything disappears) when you press 'r'?

If you're testing with an xml file from the generator then yes. The generator doesn't produce colours and the default is black (all components of the RGB are zero). I can change the default to be white or any other colour if you think it's useful.

I know its a pain but for testing move to the solarsystem3 branch, generate the solar system, move again to this branch, copy the files and run the engine.