Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dan's stuff too

  • Loading branch information...
commit 6f5c55df362bc71e84c5cd2fc48a55d48d1536d9 2 parents 6449e56 + 6b0c37a
@willpots willpots authored
View
1,636,617 MYTEST/plaque.msh
1,636,617 additions, 0 deletions not shown
View
BIN  MYTEST/plaque.msh.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
17 MYTEST/thinker.xml
@@ -52,45 +52,56 @@
<shader name="green" type="Lambertian">
<diffuseColor>0.2 1 0.2</diffuseColor>
</shader>
+
<!-- Thinker Guy -->
-<!-- <surface type="Group">
+ <surface type="Group">
<rotate>80 -110 190</rotate>
<surface type="Mesh">
<shader ref="redglazed"/>
<data>thinker.msh</data>
</surface>
+<<<<<<< HEAD
</surface> -->
+=======
+ </surface>
+
+>>>>>>> 6b0c37a0d213864f2b7e2184e7a9f4d9ae929742
<!-- Floor -->
<surface type="Box">
<minpt>-200 -100 -200</minpt>
<maxpt>200 -90 200</maxpt>
<shader ref="whitewall"/>
</surface>
+
<!-- Left Wall -->
<surface type="Box">
<minpt>-210 -100 -200</minpt>
<maxpt>-200 200 200</maxpt>
<shader ref="white"/>
</surface>
+
<!-- Back Wall -->
<surface type="Box">
<minpt>-200 -100 -210</minpt>
<maxpt>200 200 -200</maxpt>
<shader ref="white"/>
</surface>
+
<!-- Right Wall -->
<surface type="Box">
<minpt>200 -100 -200</minpt>
<maxpt>210 200 200</maxpt>
<shader ref="white"/>
</surface>
+
<!-- <surface type="Sphere">
<shader ref="green" />
<radius>50</radius>
<center>0 0 0</center>
- </surface>
- --> <!-- Lights -->
+ </surface> -->
+
+ <!-- Lights -->
<light>
<position>200 200 200</position>
<intensity>.7 .7 .7</intensity>
View
6 MshGen.java
@@ -40,11 +40,11 @@ public MshGen(String string) throws FileNotFoundException{
public MshGen(){
try {
- new MshGen("/home/dtrauner/Download/thinker_complete.obj");
+ new MshGen("/home/dtrauner/Download/plaque.obj");
} catch (FileNotFoundException e) {
e.printStackTrace();
}
- fFile = new File("/home/dtrauner/Download/thinker_complete.obj");
+ fFile = new File("/home/dtrauner/Download/plaque.obj");
}
public final void processLineByLine() throws FileNotFoundException {
@@ -121,7 +121,7 @@ else if (mode == Mode.VERTICES){
protected void writeToFile(){
FileWriter fstream;
try {
- fstream = new FileWriter("/home/dtrauner/Download/thinker_complete.msh");
+ fstream = new FileWriter("/home/dtrauner/Download/plaque.msh");
BufferedWriter out = new BufferedWriter(fstream);
out.write(num_v+"\n");
out.write(num_f+"\n");
Please sign in to comment.
Something went wrong with that request. Please try again.