-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9c133ae
Showing
32 changed files
with
6,907 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
# Created by https://www.gitignore.io | ||
|
||
### C++ ### | ||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
|
||
### Qt ### | ||
# C++ objects and libs | ||
|
||
*.slo | ||
*.lo | ||
*.o | ||
*.a | ||
*.la | ||
*.lai | ||
*.so | ||
*.dll | ||
*.dylib | ||
|
||
# Qt-es | ||
|
||
/.qmake.cache | ||
/.qmake.stash | ||
*.pro.user | ||
*.pro.user.* | ||
*.moc | ||
moc_*.cpp | ||
qrc_*.cpp | ||
ui_*.h | ||
Makefile* | ||
*-build-* | ||
|
||
# QtCreator | ||
|
||
*.autosave | ||
|
||
#QtCtreator Qml | ||
*.qmlproject.user | ||
*.qmlproject.user.* | ||
|
||
|
||
### Linux ### | ||
*~ | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
### C ### | ||
# Object files | ||
*.o | ||
*.ko | ||
*.obj | ||
*.elf | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Libraries | ||
*.lib | ||
*.la | ||
*.lo | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.i*86 | ||
*.x86_64 | ||
*.hex | ||
|
||
|
||
### SublimeText ### | ||
# cache files for sublime text | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
|
||
# workspace files are user-specific | ||
*.sublime-workspace | ||
|
||
# project files should be checked into the repository, unless a significant | ||
# proportion of contributors will probably not be using SublimeText | ||
# *.sublime-project | ||
|
||
# sftp configuration file | ||
sftp-config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Copyright (C) 2014 Di Zhang and Mete Yurtoglu | ||
|
||
This software is provided 'as-is', without any express or implied | ||
warranty. In no event will the authors be held liable for any damages | ||
arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any purpose, | ||
including commercial applications, and to alter it and redistribute it | ||
freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must not | ||
claim that you wrote the original software. If you use this software | ||
in a product, an acknowledgement in the product documentation would be | ||
appreciated but is not required. | ||
2. Altered source versions must be plainly marked as such, and must not be | ||
misrepresented as being the original software. | ||
3. This notice may not be removed or altered from any source distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2014-11-26T13:10:50 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui opengl | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = PhysicsSystem | ||
TEMPLATE = app | ||
|
||
|
||
SOURCES += main.cpp\ | ||
mainwindow.cpp \ | ||
glwidget.cpp \ | ||
addtetdialog.cpp \ | ||
editobjdialog.cpp \ | ||
particlesystem.cpp \ | ||
objvertexsystem.cpp \ | ||
particle.cpp \ | ||
editskeletondialog.cpp \ | ||
simoptionsdialog.cpp \ | ||
editsystemdialog.cpp | ||
|
||
HEADERS += mainwindow.hpp \ | ||
glwidget.hpp \ | ||
vec.hpp \ | ||
addtetdialog.hpp \ | ||
editobjdialog.hpp \ | ||
particlesystem.hpp \ | ||
objvertexsystem.hpp \ | ||
particle.hpp \ | ||
editskeletondialog.hpp \ | ||
simoptionsdialog.hpp \ | ||
editsystemdialog.hpp | ||
|
||
FORMS += mainwindow.ui \ | ||
addtetdialog.ui \ | ||
editobjdialog.ui \ | ||
editskeletondialog.ui \ | ||
simoptionsdialog.ui \ | ||
editsystemdialog.ui | ||
|
||
CONFIG += c++11 | ||
|
||
|
||
macx { | ||
INCLUDEPATH += /opt/local/include | ||
LIBS += -framework GLUT | ||
LIBS += -L/opt/local/lib -lassimp | ||
} | ||
|
||
|
||
unix:!macx { | ||
LIBS += -lglut -lGL -lGLU -lassimp | ||
} | ||
|
||
|
||
OTHER_FILES += \ | ||
.gitignore \ | ||
License.txt \ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## ModelsToLife | ||
|
||
### About | ||
|
||
This software project is written by Di Zhang and Mete Yurtoglu in C++ using the [Qt framework](http://www.qt.io). It also uses [Open Asset Import Library](http://assimp.sourceforge.net) to import models into it. It can also accept .node and .ele files output from [TetGen](http://wias-berlin.de/software/tetgen/) for tetrahedralization purposes. | ||
|
||
### Description | ||
|
||
ModelsToLife brings models to life by putting a mass-spring-damper particle system around the objects to be manipulated. It has gravity and collision for dropping objects. Individual nodes can also be picked and manipulated. There is also support for skeleton building and for skeletal manipulation. All these effects can be simulated under different conditions using sliders to set the gravity, the stiffness of the springs, etc. |
Oops, something went wrong.