Skip to content
Snippets Groups Projects
Commit acfa943d authored by Gary Frost's avatar Gary Frost
Browse files

NBody example using pixels

parent a8877d06
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
<classpath refid="compiler.class.path"/>
</javac>
<copy todir="classes/com/amd/aparapi/examples/nbody" file="src/com/amd/aparapi/examples/nbody/particle.jpg"/>
<copy todir="classes/com/amd/aparapi/examples/nbody" file="src/com/amd/aparapi/examples/nbody/star.bmp"/>
<jar jarfile="${ant.project.name}.jar" basedir="classes"/>
</target>
......
java \
-Djava.library.path=../../com.amd.aparapi.jni/dist:../third-party/jogamp \
-Dcom.amd.aparapi.executionMode=$1 \
-Dbodies=$2 \
-Dheight=600 \
-Dwidth=600 \
-classpath ../third-party/jogamp/jogl-all.jar:../third-party/jogamp/gluegen-rt.jar:../../com.amd.aparapi/dist/aparapi.jar:nbody.jar \
com.amd.aparapi.examples.nbody.Local
java \
-Djava.library.path=../../com.amd.aparapi.jni/dist:../third-party/jogamp \
-Dcom.amd.aparapi.executionMode=$1 \
-Dbodies=$2 \
-Dheight=600 \
-Dwidth=600 \
-classpath ../third-party/jogamp/jogl-all.jar:../third-party/jogamp/gluegen-rt.jar:../../com.amd.aparapi/dist/aparapi.jar:nbody.jar \
com.amd.aparapi.examples.nbody.Stars
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment