Sceneviewer:

* Enabled prim rendering (oops)
* Added linear taper support
* Slowed down the FPS counter, and disabled it by default. Press '2' to enable/disable it
libsecondlife:
* Improved the accuracy of PrimObject quantize/dequantize functions
* Switched PrimObject.Taper* to use PathScale* instead of the deprecated PathTaper*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@506 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2006-11-05 09:18:14 +00:00
parent 1c76ea281f
commit f6c570b39c
7 changed files with 106 additions and 74 deletions

View File

@@ -180,7 +180,13 @@ namespace IA_TestAsyncImage
public void RunMe()
{
File.WriteAllBytes(filename, JasperWrapper.jasper_decode_j2c_to_tiff(j2cdata));
byte[] bytes = JasperWrapper.jasper_decode_j2c_to_tiff(j2cdata);
FileStream file = new FileStream(filename, FileMode.Create);
BinaryWriter writer = new BinaryWriter(file);
writer.Write(bytes);
writer.Close();
file.Close();
}
}
}