Converter USD em HTML via C#
Exporte USD e outros 3D arquivos usando .NET Framework, .NET Core e Mono
Exportar cena USD como HTML com C#
- Carregue o arquivo USD usando um construtor de Cena aula2. Ligue Cena.Salvar método
- Passe o nome do arquivo de saída com a extensão .html como primeiro parâmetro
- Especifique o valor do campo
HTML5
de Formato de arquivo aula
3D Conversão de formato API for .NET
Instale a partir da linha de comando como nuget install Aspose.3d
ou via Package Manager Console do Visual Studio com Install-Package Aspose.3D
.
Como alternativa, obtenha o instalador MSI offline ou as DLLs em um arquivo ZIP de Transferências .
C# Código para conversão de USD em HTML
// carregue o USD em um objeto de Scene
var scene = new Aspose.ThreeD.Scene("template.usd");
// salve USD como um 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