Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacklin committed May 21, 2013
0 parents commit b58846f
Show file tree
Hide file tree
Showing 228 changed files with 443,062 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
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)

31 changes: 31 additions & 0 deletions README.md
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/


29 changes: 29 additions & 0 deletions core/Makefile
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
Loading

0 comments on commit b58846f

Please sign in to comment.