Skip to content

Commit 192f58c

Browse files
committed
desktop 3d model viewer
1 parent 79bc6ab commit 192f58c

File tree

125 files changed

+191459
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+191459
-1
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
/.project
1+
.project
2+
.settings
3+
.classpath
4+
bin
5+

README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Desktop 3DModel Viewer
2+
======================
3+
4+
This is a demo of OpenGL.
5+
6+
It is basically a desktop application built on java + jogl (OpenGL bindings) that allows loading and viewing a 3D model,
7+
manipulation and animation.
8+
9+
The purpose of this application was to learn the OpenGL language
10+
11+
Features
12+
========
13+
14+
- jogl powered (has native libraries)
15+
- obj format supported (wavefront)
16+
- displaying of normals
17+
- displaying of bounding box
18+
- texture drawing
19+
- colors
20+
- scaling, rotation
21+
- object picking
22+
- primitive collision detection
23+
- mouse controls de world
24+
- moving of objects
25+
- animation of sprites
26+
27+
28+
Try it
29+
======
30+
31+
1 - Compile project to desktop-3DModel-viewer.jar
32+
2 - Run with:
33+
java -jar desktop-3DModel-viewer.jar org.andresoviedo.app.modelviewer3D.Main -Djava.library.path="c:\path\to\desktop-3DModel-viewer\lib"
34+
3- Load any obj from the models and textures from /models and /textures folders.
35+
36+
37+
Final Notes
38+
===========
39+
40+
You are free to use this program while you mantain this file and the authoring comments in the code.
41+
42+
Right now I'm not mantaining anymore this project. Anyway, comments and suggestions are welcome.

lib/GraphicEngine-datas.jar

166 KB
Binary file not shown.

lib/GraphicEngineCore.jar

213 KB
Binary file not shown.

lib/GraphicEngineWidget.jar

20.1 KB
Binary file not shown.

lib/ModelEngineCore.jar

110 KB
Binary file not shown.

lib/ModelReader.jar

143 KB
Binary file not shown.

lib/ModelWorldRenderer.jar

146 KB
Binary file not shown.

lib/ModelWorldXml.jar

31.6 KB
Binary file not shown.

lib/ModelWriter.jar

21.7 KB
Binary file not shown.

lib/WorldEngineCore.jar

13.5 KB
Binary file not shown.

lib/gluegen-rt.dll

20 KB
Binary file not shown.

lib/gluegen-rt.jar

18 KB
Binary file not shown.

lib/jogl.dll

308 KB
Binary file not shown.

lib/jogl.jar

1.07 MB
Binary file not shown.

lib/jogl_awt.dll

20 KB
Binary file not shown.

lib/jogl_cg.dll

112 KB
Binary file not shown.

materials/ship.mtl

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
newmtl cube1_auv
2+
illum 4
3+
Kd 1.00 1.00 1.00
4+
Ka 0.00 0.00 0.00
5+
Tf 1.00 1.00 1.00
6+
map_Kd ship.png
7+
Ni 1.00

0 commit comments

Comments
 (0)