+
Skip to content

raulviana/FEUP-CGRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGRA

Repository for the Computer Graphics (CGRA) course pratical classes exercises and projects

Tools

JavaScript, WebGL, CGF

Usage

To test the program you will need to setup a server. This can be done in multiple different ways. The simpler and quicker is to use Python to host the server: ''' python -m http.server 8080 ''' Just run it from the project directory. Another option is to use a chrome extension web server for chrome if you're using this browser.

Description

The project goal was to develop two basic scenes to apply theoretical concepts.
Both have a terrain generated with a shader and two textures. The first has a mountain cottage, several trees, and three pyramids generated programmatically. The second one has the same cottage, but instead of the pyramids has a couple of trees and a bolt of lightning generated with procedural modeling, and a movable bird.

Controls

Both scenes have GUI controls and the user can interact with the scene by: Mouse movement - Move the user's POV CTRL + Mouse Movement - Zoom in/out

In second assignment scene there's also some keyboard input controls:

Key Function
W accelerate
S brake
A turn left
D turn right
P dird dive (to pick up stick - not implemented)
R reset scene
L generate lightning

First assignment visuals

Screenshots

Screenshot 1 - nigth Screenshot 1 - nigth

Screenshot 2 - day Screenshot 2 - day

Screenshot 3 - nigth, no textures Screenshot 3 - nigth, no textures

Second assignment visuals

Screenshots

Screenshot 1 - cottage and tree detail Screenshot 1 - cottage and tree detail

Screenshot 2 - general view Screenshot 2 - general view

Screenshot 3 - bird detail Screenshot 3 - bird detail

Video Demo

Video Demo 1

Video Demo 2

About

repository for the Computer Graphics course pratical classes exercises

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载