Skip to content

Krisha1703/3D-Forest-House

Repository files navigation

3D Forest House Project

Welcome to the 3D Forest House project repository! This project showcases a 3D model of a forest house rendered using Three.js.

Project Overview

The goal of this project is to create a visually appealing 3D representation of a forest house environment using WebGL technology. The project utilizes the following components:

  • Three.js: A JavaScript library for creating and rendering 3D graphics in a web browser.
  • GLTFLoader: A Three.js loader used to load 3D models in the GLTF (GL Transmission Format) format.
  • Ambient Lighting: Implementation of ambient and directional lighting to enhance the visual quality of the scene.

Preview

Image 1 Image 2 Image 3 Image 4 Image 5 Image 6

Features

  • 3D model loading and configuring
  • AmbientLight and DirectionalLight simulating sunlight for casting shadows
  • Event listeners for window resizing, mouse movement, and keyboard input
  • Rotates the 3D model around the y-axis to add animation
  • User interaction based on cursor movement
  • Day/Night mode
  • Error handling
  • Responsive design

Links to the model

Getting Started

To run this project locally, follow these steps:

  1. Clone Repository:

    git clone https://github.com/Krisha1703/3D-Forest-House.git
    
  2. Open the index.html with Live Server (or local development server).

About

3D Forest House model using three.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published