Commit Graph

22 Commits

Author SHA1 Message Date
Latif Khalifa
0ff6bee445 Consistent line endings 2012-07-13 08:10:36 +02:00
dahlia
ac96c20f87 set sphereMode property when meshing prims with PrimMesher
Signed-off-by: Latif Khalifa <latifer@streamgrid.net>
2012-07-13 08:07:05 +02:00
Latif Khalifa
186abe72ee Removed comments suggesting planar texture mapping was not supported
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3570 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-29 12:08:13 +00:00
Latif Khalifa
a85c7a5c89 Fixed planar projection
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3567 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-28 14:40:56 +00:00
Latif Khalifa
764c8bdb45 [INTERFACE CHANGE] Implement transforming for Planar textures via Meshmerizer
Patch by: Revolution Smythe

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3565 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-28 10:17:30 +00:00
Latif Khalifa
1cd3ef1fa6 Sculpt properties already decode mirror and inverted for us.
Fixes inverted and mirrored sculpts rendering

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3558 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-17 09:11:52 +00:00
Latif Khalifa
6ee5ce1b51 Added method to MeshmerizerR which creates Face mesh out of (terrain) heightmap.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3552 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-01 09:43:24 +00:00
Latif Khalifa
7ee86514ac Optimize creating mesh from sculpt bitmaps. Using new PrimMesher api since it already generates index of vertices.
Thanks to Dahlia Trimble for the hint.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3551 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-01 00:45:09 +00:00
Latif Khalifa
12c2f9d880 LIBOMV-915: Reduce the number of vertices generated by GenerateFacetedSculptMesh()
Patch by Robin Cornelius

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3550 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-25 21:55:54 +00:00
John Hurliman
b85883d746 * Added GenerateSimpleMesh() support to MeshmerizerR renderer
* Changed MeshmerizerR to conform to the IRendering interface by always returning unscaled meshes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3430 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-18 21:20:58 +00:00
John Hurliman
8aa48e9ff6 * Removed "Meshmerizer" rendering plugin, "MeshmerizerR" (that uses PrimMesher.dll) has officially replaced it
* Added sculpted prim support to the IRendering interface
* Removed the rarely (if ever) used Vertex.Binormal field, made the Vertex struct layout explicit so it can be fed directly to OGRE/OpenGL/XNA/etc

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3423 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-16 17:59:01 +00:00
Latif Khalifa
acc521bcdb Fixed V coord flippage, patch by Dahlia
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3280 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-15 10:42:29 +00:00
Latif Khalifa
b594f260c6 LIBOMV-687: new Meshmerizer which does prim faces and sculpties by Robert Adams
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3276 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 13:09:24 +00:00
John Hurliman
9b99b33045 Speeding up Meshmerizer by marking the AngleList angle arrays as static readonly
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2541 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 02:24:48 +00:00
John Hurliman
8106fccdd2 * Changed Primitive.TextureEntry.ToBytes() to GetBytes() to follow naming conventions
* Added Primitive.TreeSpecies and Primitive.ScratchPad
* Converted Primitive.SoundFlags to the new SoundFlags enum
* Added a Utils.BytesToString() overload that accepts index and count parameters
* Added Utils.FloatToUInt16()
[Simian]
* Lots of changes in Simian to use the new unified ISceneProvider.ObjectAddOrUpdate() function
* Update flags are checked to determine the minimum sized packet that needs to be sent out for an update. ImprovedTerseObjectUpdate is working, and started work on ObjectUpdateCached (updates using this will currently not send)
* Adding three new variables to SimulationObject to store attachment-related state

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2478 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-10 01:54:45 +00:00
John Hurliman
3ad7551a4a * Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
af97cb2d48 * Fixed [LIBOMV-370], problem with Prebuild generation for WinForms projects
* Removing more scaling code from Meshmerizer plugin
* Removed dead GUITestClient project

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2285 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 17:19:29 +00:00
John Hurliman
046a778b09 Applying [LIBOMV-395] from Jeff Ames to comment out dead code and fix lots of compiler warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2284 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 16:48:44 +00:00
John Hurliman
3e5fcb7fab * Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions
* Started on inventory persistence for Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 22:34:38 +00:00
John Hurliman
4b357f6aea Adding attribution notice to OpenSim and dahlia for Meshmerizer. Code is also tested and working (ship it!)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2263 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 03:49:06 +00:00
John Hurliman
4943dc79ec Cleaning up Meshmerizer plugin by removing unused code and switching files around. This code is all originally authored by dahlia
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2262 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 03:37:15 +00:00
John Hurliman
a5340fc533 Initial commit of OpenMetaverse.Rendering.Meshmerizer. Currently gives broken results, needs more investigation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2261 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 01:22:54 +00:00