Converteer USD naar HTML via C#
Exporteer USD en andere 3D bestanden met .NET Framework, .NET Core en Mono
Exporteer USD Scene als HTML met C#
- Laad USD bestand met een constructor van Tafereel klas2. Bel Scène.Opslaan methode
- Geef de naam van het uitvoerbestand door met de extensie .html als eerste parameter
- Geef veldwaarde ‘HTML5’ op van Bestandsformaat klas
3D Formaatconversie API for .NET
Installeer vanaf de opdrachtregel als nuget install Aspose.3d
of via Package Manager Console van Visual Studio met Install-Package Aspose.3D
.
kunt ook het offline MSI-installatieprogramma of DLL’s in een ZIP-bestand downloaden van downloads .
C# Code voor USD naar HTML conversie
// laad de USD in een object van Scene
var scene = new Aspose.ThreeD.Scene("template.usd");
// sla USD op als een HTML
scene.Save("output.html", Aspose.ThreeD.FileFormat.HTML5);
Other Conversion Options
USD What is USD File Format?
A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation.
Read MoreHTML What is HTML File Format?
Known as language of the web, HTML has evolved with requirements of new information requirements to be displayed as part of web pages. The latest variant is known as HTML 5 that gives a lot of flexibility for working with the language. HTML pages are either received from server, where these are hosted, or can be loaded from local system as well. Each HTML page is made up of HTML elements such as forms, text, images, animations, links, etc. These elements are represented by tags and several others where each tag has start and end. It can also embed applications written in scripting languages such as JavaScript and Style Sheets (CSS) for overall layout representation.
Read More