03/17/2013
Members of our team are running into problems when artists are submitting new FBX models, or when the level designers are selecting a shader type for a model that is not designed to be shaded that way. So I have gone in and updated our DisplayModel.cs to catch shader types that are not supported for each FBX model that is displayed. This is mainly for Normal Mapping, either when someone sets the shader type to normal mapping and the FBX model has no Normal Mapping, or when the FBX model is designed for Normal Mapping, but has not been set to be processed by the Normal Mapping Processor. This updated code will allow for the game to always build and run, but models may not be drawn as well as they could be.
In the process I have gone through and updated the following models so that our code recognizes them for what they are and will display them all the way they were intended:
Lamp_1, Lamp_2, Lamp_3, Lamp_4, Lamp_5, crate_max, fire_pit_big, lamp_short, pillar_short, platform_squre_brickmoss.
Sunday, March 17, 2013
Tuesday, March 5, 2013
Finalized EffectsManager, Shadows and Dragons
03/05/2013
Today I finalized all the standardized effects to go along with the new EffectsManager, which included the two new fire effects.
I am now looking into adding shadows into our world. I will be using the two Indie Game code samples from Microsoft as a base:
http://xbox.create.msdn.com/en-US/education/catalog/sample/shadow_mapping_1
http://xbox.create.msdn.com/en-US/education/catalog/sample/avatar_shadows
I will also be working on adding a sarcastic / funny dragon that makes fun of the player anytime he is unsuccessful.
Today I finalized all the standardized effects to go along with the new EffectsManager, which included the two new fire effects.
I am now looking into adding shadows into our world. I will be using the two Indie Game code samples from Microsoft as a base:
http://xbox.create.msdn.com/en-US/education/catalog/sample/shadow_mapping_1
http://xbox.create.msdn.com/en-US/education/catalog/sample/avatar_shadows
I will also be working on adding a sarcastic / funny dragon that makes fun of the player anytime he is unsuccessful.
Thursday, February 28, 2013
Effects Manager, Fire Effect
02/28/2013
I have been tasked with setting up an effects manager to handle all the particle effects we have in our game. In the process I helped one of our artists import a new texture he found and make it look like a rolling fire that he can use in some 3D fire pit models he has made:
I have been tasked with setting up an effects manager to handle all the particle effects we have in our game. In the process I helped one of our artists import a new texture he found and make it look like a rolling fire that he can use in some 3D fire pit models he has made:
Sunday, February 24, 2013
Xbox Avatar Animations
02/24/2013
Today I imported and tested some new Xbox 360 custom Avatar animations one of our artists has made. I took video to send back to him so he could see if he was satisfied with his results:
Today I imported and tested some new Xbox 360 custom Avatar animations one of our artists has made. I took video to send back to him so he could see if he was satisfied with his results:
Saturday, February 16, 2013
XNA Normal Mapping and Lighting
02/16/2013
After a long struggle with trying to get normal mapping and lighting shaders to work in our game I finally got it working where I can show off the results.
I set it up so that our artists will be able to select which shader each model will be drawn with.
For transparency I used our artists transparent shader. For Normal Mapping I setup a Normal Mapping Pipeline similar to the one shown off in the Xbox Live Indie Games Code Samples. One of the problems I was running into was caused by the ASCII FBX exports from Maya. For each model that we wanted normal mapping for I would have to go in and find the section for each model and add a normal map tag, for example:
P: "NormalMap", "Enum", "", "A+U",0, "../SourceImages/Brick3_normal.png"
I would then have to find all other references to the NormalMap and remove them. Once I did this the normal mapping would be displayed. With the normal mapping we have the following variables we can configure; light position, light color, ambient light color, shininess, specular power.
Below are examples of the shaders...
Transparent lamp next to the rectangle:

Normal Mapping on different models:







Example of the same barrel model with Normal Mapping on or off:


Video examples of the Normal Mapping:
Testing lighting so that it looks like the light on the two arches is coming from the lamp between them:
After a long struggle with trying to get normal mapping and lighting shaders to work in our game I finally got it working where I can show off the results.
I set it up so that our artists will be able to select which shader each model will be drawn with.
For transparency I used our artists transparent shader. For Normal Mapping I setup a Normal Mapping Pipeline similar to the one shown off in the Xbox Live Indie Games Code Samples. One of the problems I was running into was caused by the ASCII FBX exports from Maya. For each model that we wanted normal mapping for I would have to go in and find the section for each model and add a normal map tag, for example:
P: "NormalMap", "Enum", "", "A+U",0, "../SourceImages/Brick3_normal.png"
I would then have to find all other references to the NormalMap and remove them. Once I did this the normal mapping would be displayed. With the normal mapping we have the following variables we can configure; light position, light color, ambient light color, shininess, specular power.
Below are examples of the shaders...
Transparent lamp next to the rectangle:

Normal Mapping on different models:







Example of the same barrel model with Normal Mapping on or off:


Video examples of the Normal Mapping:
Testing lighting so that it looks like the light on the two arches is coming from the lamp between them:
Thursday, February 7, 2013
Ninja Scroll Animation (Update)
02/07/2013
I updated the ninja scroll animation. Scrolls can now be spawned anywhere on the screen by giving them a Vector2 location of the top left corner. You can dynamically set the text, and scale of the scroll.
Examples of setting location and scale:

I updated the ninja scroll animation. Scrolls can now be spawned anywhere on the screen by giving them a Vector2 location of the top left corner. You can dynamically set the text, and scale of the scroll.
Examples of setting location and scale:

Play Test / Level Testing
02/07/2013
Today we will be doing a play test with the Master students. Our team has been trying to get a big indoor level to work but have been running into performance issues with it lagging on the xbox 360. On Tuesday I was asked to try and get this level working before the play test. I determined that the problem with the level was due to the collision layer, so I spent the last couple of days trying to edit the Maya model and remove as much as possible without affecting the game play.
Here is a video of the lagging performance:
Here is a video where I removed the level's collision layer and added a different level's collision layer and the level runs smooth:
After removing all the models and faces I could from the Maya model it still performed slow. So I started to edit and remove each edge that I could, but performance still continued to run slow.
One of our artists started to build the collision layer from scratch. As he created it I would test it out and find locations where collisions either needed to be improved or added because they were missing.
In the end we decided to scrap this level since it did not fit with our level builder.
Today we will be doing a play test with the Master students. Our team has been trying to get a big indoor level to work but have been running into performance issues with it lagging on the xbox 360. On Tuesday I was asked to try and get this level working before the play test. I determined that the problem with the level was due to the collision layer, so I spent the last couple of days trying to edit the Maya model and remove as much as possible without affecting the game play.
Here is a video of the lagging performance:
Here is a video where I removed the level's collision layer and added a different level's collision layer and the level runs smooth:
After removing all the models and faces I could from the Maya model it still performed slow. So I started to edit and remove each edge that I could, but performance still continued to run slow.
![]() |
One of our artists started to build the collision layer from scratch. As he created it I would test it out and find locations where collisions either needed to be improved or added because they were missing.
In the end we decided to scrap this level since it did not fit with our level builder.
Subscribe to:
Posts (Atom)
