jeudi 29 mai 2014

Quick question about how to generate a starfield

I'm looking at how to generate a randomly generated starfield in c#, but I'm looking for one that's more procedural than randomly placing stars.



I thought about dividing the starfield into grids and placing a star in them, then running a second pass to move any stars that are too close within the grid.





via JREF Forum http://ift.tt/1kPP1nL

Aucun commentaire:

Enregistrer un commentaire