Skip to content

dn46/Java3DRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

3D Shape Viewer

This project is a simple 3D shape viewer implemented in Java. It allows you to view and interact with 3D shapes like a Pyramid and a Cube.

Features

  • Rotate the shape horizontally and vertically using the mouse.
  • Increase or decrease the size of the shape using the mouse wheel.
  • Choose the shape to display from a dropdown menu.

How to Run

  1. Ensure you have Java installed on your system. If not, you can download it from here.
  2. Clone this repository to your local machine.
  3. Navigate to the directory containing DemoViewer.java.
  4. Compile the Java file using the command javac DemoViewer.java.
  5. Run the program using the command java DemoViewer.

Controls

  • Click and drag the mouse to rotate the shape.
  • Scroll the mouse wheel to increase or decrease the size of the shape.
  • Select the shape from the dropdown menu at the top of the window.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Acknowledgements

Most of the code for this project was adapted from this blog post. Many thanks to the author for making it available.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages