LibreMetaverse.Rendering.MeshFoundry 3.2.0

Prefix Reserved
dotnet add package LibreMetaverse.Rendering.MeshFoundry --version 3.2.0
                    
NuGet\Install-Package LibreMetaverse.Rendering.MeshFoundry -Version 3.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibreMetaverse.Rendering.MeshFoundry" Version="3.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibreMetaverse.Rendering.MeshFoundry" Version="3.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LibreMetaverse.Rendering.MeshFoundry" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LibreMetaverse.Rendering.MeshFoundry --version 3.2.0
                    
#r "nuget: LibreMetaverse.Rendering.MeshFoundry, 3.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LibreMetaverse.Rendering.MeshFoundry@3.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LibreMetaverse.Rendering.MeshFoundry&version=3.2.0
                    
Install as a Cake Addin
#tool nuget:?package=LibreMetaverse.Rendering.MeshFoundry&version=3.2.0
                    
Install as a Cake Tool
▗▖   ▄ ▗▖    ▄▄▄ ▗▞▀▚▖▗▖  ▗▖▗▞▀▚▖   ■  ▗▞▀▜▌▄   ▄ ▗▞▀▚▖ ▄▄▄ ▄▄▄ ▗▞▀▚▖
▐▌   ▄ ▐▌   █    ▐▛▀▀▘▐▛▚▞▜▌▐▛▀▀▘▗▄▟▙▄▖▝▚▄▟▌█   █ ▐▛▀▀▘█   ▀▄▄  ▐▛▀▀▘
▐▌   █ ▐▛▀▚▖█    ▝▚▄▄▖▐▌  ▐▌▝▚▄▄▖  ▐▌        ▀▄▀  ▝▚▄▄▖█   ▄▄▄▀ ▝▚▄▄▖
▐▙▄▄▖█ ▐▙▄▞▘          ▐▌  ▐▌       ▐▌                                
                                   ▐▌                                

LibreMetaverse.Rendering.MeshFoundry

The full renderer: it turns Second Life prims, sculpts and mesh assets into renderable geometry, face by face, with the normals, skin weights and texture coordinates a modern renderer expects. It implements the IRendering interface from LibreMetaverse.Assets, so you can swap it for another renderer without touching the rest of your code.

  Archiving · Utilities · Voice.Vivox · Voice.WebRTC
      │  built on the client
  LibreMetaverse   the client: login, managers, inventory
      │
  Transport        UDP socket, reliable circuit, throttle
      │
  Protocol         packets and capability messages
      │
  Assets           the offline data model
      ├── ModelFormats · [Rendering.MeshFoundry] · Rendering.Simple
      │
  StructuredData · Imaging.Abstractions
      │
  Types            UUID, vectors, quaternions, colors

  on their own: PrimMesher · Imaging.Skia · RLV · LslTools

A name in brackets is this package. Packages use the ones beneath them; the Depends on section below is exact.

What is in it

MeshFoundry, an IRendering:

  • GenerateFacetedMesh and GenerateFacetedSculptMesh build a mesh split by face, ready to texture, from a prim or a sculpt.
  • GenerateFacetedMeshMesh builds one from the bytes of a mesh asset, decoding the viewer's normals, the skin weights and joint data of rigged meshes, and the second texture-coordinate set and normalized scale that PBR materials use.
  • GenerateSimpleMesh builds the overall shape with no material split, with or without normals (GenerateSimpleMeshWithNormals).
  • MeshSubMeshAsConvexHulls reads the physics hulls out of a mesh asset, and TerrainMesh makes a mesh from a heightfield.
  • TransformTexCoords applies a face's texture repeat, offset and rotation.

Example

using LibreMetaverse.Rendering;

IRendering renderer = new MeshFoundry();
FacetedMesh? mesh = renderer.GenerateFacetedMesh(prim, DetailLevel.High);
Console.WriteLine($"{mesh?.Faces.Count} faces");

Use it when

You are drawing or exporting objects and want correct geometry, rigged meshes and PBR coordinates. For prim geometry without the Primitive and asset layers, use LibreMetaverse.PrimMesher directly. LibreMetaverse.Rendering.Simple is only a stand-in.

Depends on

LibreMetaverse.Assets, LibreMetaverse.StructuredData, LibreMetaverse.Types, LibreMetaverse.Imaging.Abstractions and LibreMetaverse.PrimMesher. It targets .NET Standard 2.1, .NET Framework 4.8.1, and .NET 8, 9 and 10.

Install

dotnet add package LibreMetaverse.Rendering.MeshFoundry

More

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.0 102 10/13/2026
3.1.8 98 10/6/2026
3.1.7 96 10/4/2026
3.1.6 1,158 9/14/2026
3.1.5 361 9/3/2026
3.1.4 116 8/26/2026
3.1.3 560 7/24/2026
3.1.2 122 7/21/2026
3.1.1 233 7/14/2026
3.1.0 173 7/11/2026
3.0.4 197 7/9/2026
3.0.3 302 7/3/2026
3.0.2 134 6/29/2026
3.0.1 144 6/27/2026
3.0.0 269 6/23/2026
2.6.10 131 6/20/2026
2.6.9 140 6/8/2026
2.6.8 133 6/7/2026
2.6.7 171 5/14/2026
2.6.6 135 4/12/2026