
610 VII Software Design
for loading the JSON format of 3D objects and texturing and specifying material
properties and l ighting effects in the shaders. The module includes various shaders
to render different objects such as plastic, metal, water, etc.
Our rendering module also creates the context for manipulating 2D content. The
2D context is mainly utilized by our texture manager within the rendering module,
which encapsulates a nd works as middleware used for all the texture operations in-
cluding resizing, filtering, and raw data processing. The texture operations also con-
sist of a texture image loading and initialization, resizing, raw data