-
Notifications
You must be signed in to change notification settings - Fork 29
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 b58846f
Showing
228 changed files
with
443,062 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,11 @@ | ||
CTAGS = ctags --fields=+l --c-kinds=+p --c++-kinds=+p | ||
|
||
FILES = core/*.h | ||
FILES += external/glut/glut.h | ||
FILES += /Library/Frameworks/CUDA.framework/Versions/A/Headers/*.h | ||
FILES += /usr/local/cuda/include/cuda_runtime_api.h | ||
FILES += /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h | ||
|
||
tags: $(FILES) Makefile | ||
$(CTAGS) $(FILES) | ||
|
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,31 @@ | ||
sandbox | ||
======= | ||
|
||
Graphics and physics research, snippets, demos. Some are described here: | ||
|
||
http://blog.mmacklin.com | ||
|
||
Directory Structure: | ||
|
||
core/ - shared foundation code, math lib, etc | ||
projects/ | ||
cloth/ - implementation of Cornell CS5643 assignment two (the spaghetti factory) | ||
dew/ - prototype for live motion captured graffiti demo | ||
empty/ - base for a project | ||
fem/ - co-rotational finite element demo with fracture | ||
fog/ - analytic integration of inscattering from a point light | ||
gi/ - real-time point based illumination implementation | ||
granular2d/ - granular materials in CUDA | ||
granular3d/ - granular materials in CUDA | ||
mathematica/ - misc notebooks | ||
metaballs/ - old 2d metaballs effect | ||
nanoray/ - path tracer I wrote while reading PBRT | ||
probeview/ - app to view Debevec format HDR light probes | ||
rigidbody/ - unfinished LCP rigid body solver | ||
sh/ - glossy reflections using spherical harmonics | ||
smoke/ - implementation of Fedkiw's Visual Simulation of Smoke, vortex particles and black-body rendering | ||
springs/ - implicit spring solver | ||
surfel/ - misnamed, unfinished uv-atlas generation | ||
external/ | ||
|
||
|
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,29 @@ | ||
SHELL = /bin/sh | ||
CC = g++ | ||
AR = ar | ||
|
||
CFLAGS = -g -Wall -I.. -D_DEBUG | ||
ARFLAGS = cq | ||
|
||
TARGET = core.a | ||
SOURCES = $(wildcard *.cpp) | ||
HEADERS = $(wildcard *.h) | ||
|
||
OBJECTS = $(SOURCES:.cpp=.o) | ||
|
||
all: $(TARGET) | ||
|
||
$(TARGET): $(OBJECTS) Makefile | ||
$(AR) $(ARFLAGS) $(TARGET) $(OBJECTS) | ||
|
||
clean: | ||
-rm -f $(OBJECTS) | ||
-rm -f $(TARGET) | ||
|
||
%.o: %.cpp $(HEADERS) | ||
$(CC) $(CFLAGS) -c -o $@ $< | ||
|
||
run: $(TARGET) | ||
./$(TARGET) | ||
|
||
.PHONY : all clean |
Oops, something went wrong.