1.

What Is The Use Of Translation And Its Step To Translate A Triangle In Webgl?

Answer»

In WebGL, Translation is used to move a triangle (any object) on the XYZ plane.

There are following steps to translate a Triangle.

  • Prepare the Canvas and Get the WebGL Rendering Context.
  • DEFINE the Geometry and Store it in the Buffer OBJECTS.
  • CREATE and Compile the Shader Programs.
  • Create and Compile the Shader Programs.

In WebGL, Translation is used to move a triangle (any object) on the XYZ plane.

There are following steps to translate a Triangle.



Discussion

No Comment Found