Jump to content

Computer graphics -- 2008-2009 -- info.uvt.ro/Laboratory 13

From Wikiversity

Quick links: front; laboratories agenda, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, JOGL template.


Simple Scene

[edit]

For this laboratory we need to create a simple scene in which the user can move through (collision detection). Several obstacles through which the user cannot go through are placed randomly:

  • Ground (a plane with some texture imitating grass or land)
  • Trees (billboards textured with various trees. At least 3 types of trees should exist. Textures need to be applied randomly on the billboards)
    • The location of the trees should be retrieved from a randomly generated matrix containing binary data (1 for trees and 0 for empty ground)
  • World box (a cube where each face is textured differently: sky, mountains, etc)

NOTE: