GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AdarshRevankar/Desktop-Simulator: OpenGL project which consists of 3D Environment, to demonstrate assembly and disassembly of desktop parts

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
data
data
 
 
obj
obj
 
 
setup/freeglut
setup/freeglut
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Desktop-Simulator.cbp
Desktop-Simulator.cbp
 
 
Desktop-Simulator.depend
Desktop-Simulator.depend
 
 
Desktop-Simulator.layout
Desktop-Simulator.layout
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
bitmap.h
bitmap.h
 
 
bmpLoader.h
bmpLoader.h
 
 
cpu_cable.h
cpu_cable.h
 
 
cpu_case.h
cpu_case.h
 
 
cpu_chipset.h
cpu_chipset.h
 
 
cpu_fan.h
cpu_fan.h
 
 
cpu_gpu.h
cpu_gpu.h
 
 
cpu_harddisk.h
cpu_harddisk.h
 
 
cpu_motherboard.h
cpu_motherboard.h
 
 
cpu_psu.h
cpu_psu.h
 
 
cpu_ram.h
cpu_ram.h
 
 
dragHandler.h
dragHandler.h
 
 
env_table.h
env_table.h
 
 
environment_objects.h
environment_objects.h
 
 
light.h
light.h
 
 
main.cpp
main.cpp
 
 
motion.h
motion.h
 
 
objects.h
objects.h
 
 
parameter.h
parameter.h
 
 

Repository files navigation

Desktop Simulator

Inline docs Build Status HitCount

OpenGL project which consists of 3D environment, to demonstrate assembly and disassembly of desktop parts. This uses basic glut library to construct a 3D Scene of CPU and it's components.

Desktop-Simulator-Logo

see Code of Conduct


Demonstration - Youtube

https://youtu.be/VInynN3uoLo


Snapshot

Instance Image
Initial View initial view of system
CPU View cpu view
Desktop View desktop

Setup Project

Windows

  1. Setup the project with required OpenGL headerfiles in your IDE (refer this - Visual Studio or CodeBlocks).
  2. Copy all required header files & data files the project.
  3. Run the project. main.cpp

Note: BMP Image Error - parameter.h change BMP images path to either Relative to project ( Currently ) or Absolute ( if error occurs )

MacOS

Instructions to run on MacOS

Install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install necesarry linking libraries

brew install freeglut glfw3 glew lstdc++

Compile project into binary

clang -o main main.cpp -L/usr/local/lib -lglfw -lstdc++ -framework OpenGL -framework GLUT -framework Cocoa

Run the binary

./main

Note: GLUT is getting deprecated on MacOS 10.9 above, so some functionalities might not work. Need to fix these deprecations soon


Controls

  • Up Arrow - Move Forwards
  • Down Arrow - Move Backwords
  • Left Arrow - Move Left Side
  • Right Arrow - Move Right Side
  • Esc - Exit of Program / Exit of CPU View ( according to context )
  • Enter - Enter into CPU View / Disassemble Components ( according to context )
  • Backspace - Assemble components
  • Mouse Hover - Change Camera View & Rotate Person

Requirements

  • (optional) IDE ( Visual Studio / CodeBlocks )*
  • basic C++ Libraries
  • glut.h ( freeglut )

References

  1. Basic 3D World Setup - lighthouse3d.com.
  2. Basic OpenGL function's introduction - khronos.org.
  3. Texture Mapping - youtube.com.
  4. Textbook for understanding structure of OpenGL - Computer Graphics With OpenGL - Donald Hearn & Pauline Baker.

Project Report

Project Report with detailed structure of project.


Questions

Mail / Facebook messages can be done

  • Adarsh Revankar - [email protected]
  • Akshaya Ram - [email protected]

About

OpenGL project which consists of 3D Environment, to demonstrate assembly and disassembly of desktop parts

Topics

15csl683d-environmentcodeblockscomputer-graphics-projectcomputer-simulatordesktopdesktop-partsdesktop-simulatorfreeglutglutopenglopengl-projectsimulationsimulatortexture-mappingvtu

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct
Activity

Stars

23 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.