Star Gen 4 has been coming along nicely, and amazingly I've reused pretty much nothing from Star Gen 3, save for the idea of how to do everything. But even so, how I'm doing things now is much better than before. I'm talking considerable improvement!
I've written as much OOP as possible; nearly everything is OOP except for the two highest level functions. Now the program looks and feels like something that was written by someone who knows what they are doing, hah! :D
Not too keep droning on about programming practices (which everyone probably knows anyways), but I'm amazed at how much easier to understand the code becomes when you know you're dealing with functional and object oriented programming. I have a function and I know what it will return, I have a class and I know it will handle it's own data properly, etc.
Star Gen 4 is also different in that it is almost much more of a simulation than previous versions. I've decided to generate stars based on real world properties, not just as a pixel with RGBA values. A lot of weird math is involved, but I'm certain this is the way to go. All I need now is to create a renderer which doesn't take 12 hours to complete one texture, and I'll start the tuning and polish phase ;)
And eventually I'll take the guts or Star Gen 4, and transplant them into a shiny new GUI version ;)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment