Wednesday, July 14, 2010

I'm adding a lot of model content because you are going into a Clan base for the first time in the current level. So I have to make a way of high-lighting model parts and correctly deleting and moving parts and their sub-parts. High-lighting actually ended up being a lot harder then I thought it would be. Because I bake my models into one render call (which makes them much faster to render), I really don't have a good way of displaying them. So what I did was add an object that could be passed into the baking process that could alter the baking process. Then I made an object that changes the color if it is the selected part. Then I modified the rendered object so it could select which baked object to use. Then in the editor I just toggle between the two baked models and the high-light flashes back and forth.

Friday, July 9, 2010

Finished the optimization work and started on the next portion of Consequences. This is the first time you encounter enemy drones and man were they busted. But I managed to get that all fixed, so now you can use you drones to stop a set of enemy drones while another set of drones attack them. It's all good.

The next steps was to do some more model creation, which has gotten me to a tipping point where I need to modify model editor so I can see which part I'm actually working on. This is actually substantially harder then you would think. Since I always bake my models into one single draw call, I need to make two models. One normal, and the other with a hi-lighted set of faces for the part that is currently selected and then switch between the two. This will show us which part is currently selected.