Friday, March 22, 2013

Game Graphic 9

            Finally, got our graphic effects  little advanced :).  
            This assignment asks us to finish both Environment Mapping and Opaque bucket Texture.  For me the principle for these effect are kinds like light effect that we finished on previous assignments. Just like this:
            There is no light on this place, but we imitate how light may effect the result directly on another place. Similarly, imitate how environment may show on the cube or sphere like mirror. Even though, there actually no such environment around us. Not to mention that put the whole Opaque bucket as Texture.

           By understanding this, what we do next is just figure out how to blending color. Just like John said yesterday on class "Graphic is kinds of process computer only care vertexes position and the sequence to building triangles. Finally do lots of blending color work"
          Here are results and screenshot from PIX of Opaque bucket render target used as texture:   


    
                                    


      Another funny part is to do Environment mapping on Sphere.
                               

   Code


 




No comments:

Post a Comment