Skip to content

Commit

Permalink
Sat Oct 13 16:38:44 CST 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred Liu committed Oct 14, 2018
1 parent d52b5cd commit 6218931
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.o
*.d
.DS_Store
bin/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# atview

An cross-platform 3D model viewer for learning purpose, based on OpenGL, Assimp, FreeImage, and AntTweakBar.
A cross-platform 3D model viewer for learning purpose, based on OpenGL, Assimp, FreeImage, and AntTweakBar.

## Features

Expand All @@ -13,11 +13,11 @@ An cross-platform 3D model viewer for learning purpose, based on OpenGL, Assimp,

## Screenshots

![](screenshots/gun.png)
![](screenshots/screenshot1.jpg)

![](screenshots/chair.png)
![](screenshots/screenshot2.jpg)

![](screenshots/nanosuit.png)
![](screenshots/screenshot3.jpg)

## How to use

Expand Down
Binary file added lib/libGLEW.a
Binary file not shown.
6 changes: 2 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ atview : ${OBJS}
g++ ${CFLAGS} ${OBJS} -o atview -framework OpenGL -framework Cocoa -L${LIB} -lassimp -lfreeimage -lglfw -lanttweakbar -lglew
install_name_tool -change /usr/local/opt/assimp/lib/libassimp.4.dylib @executable_path/libassimp.dylib atview
install_name_tool -change /usr/local/opt/glfw/lib/libglfw.3.dylib @executable_path/libglfw.dylib atview
mkdir -p bin
mv atview ${BIN}
cp ${LIB}*.dylib ${BIN}

run : atview
bin/atview ~/Models/chair/chair.obj

clean :
rm -rf ${OBJS} *.d bin/*

countline :
@echo "Total code lines: `ls *include/*.h *.cpp | xargs cat | wc -l`"
rm -rf ${OBJS} *.d bin

%.d : %.cpp
${CC} -MM ${CFLAGS} $< > $@
Expand Down
Binary file removed screenshots/chair.png
Binary file not shown.
Binary file removed screenshots/gun.png
Binary file not shown.
Binary file removed screenshots/nanosuit.png
Binary file not shown.
Binary file added screenshots/screenshot1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/screenshot2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/screenshot3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6218931

Please sign in to comment.