Skip to content
/ Map3D Public

A simple 3D world map available at https://gagarwa.github.io/Map3D; includes a star map too. Designed and built for a graphics course at NC State University.

License

Notifications You must be signed in to change notification settings

gagarwa/Map3D

Repository files navigation

NC State University

CSC 461 - Computer Graphics

Program 4 - Texturing

Author - Gitesh Agarwal (gagarwa)

Notes & Assumptions

Part 1: Texturing

The texture to image mapping is upside down and/or backwards, which I corrected by flipping the image.

Part 2: Light & Texture Blending

I performed three texture and lighting modulations:

  1. Texture Only
  2. Texture & Lighting (for color only)
  3. Texture & Lighting (for color and alpha)

Part 3: Transparency

I use 1.0 as the alpha border between transparent vs. opaque objects. So, all translucent objects are considered transparent.

Part 4: Depth Sorting

I do not support changes in triangle depth due to rotation, only translation.

Extra Credit

Render Ellipsoids (1%)

My program renders ellipsoids (enabled by default). The texture mapping for ellipsoids may not appear smooth due to selecting a low resolution parameterization for my algorithm (for the sake of efficiency). The texture mapping is also slightly different than the TA's version due to my implementation.

Transparent Textures (1%)

My program supports transparent textures.

About

A simple 3D world map available at https://gagarwa.github.io/Map3D; includes a star map too. Designed and built for a graphics course at NC State University.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages