Enhanced texture-transparency and retrieval of Entity bounding box with Aspose.3D for .NET 18.3 API

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn


Aspose.3D for .NET logo
We are pleased to announce the availability of new version 18.3.0 of Aspose.3D for .NET API. The new version 18.3 of the API has been released with the support of retrieving the bounding box of entities in 3D model. Developers can find improvement on applying transparency to the materials as well as the compatibility support among 3D formats with new APIs. The recent version 18.3 also covers enhancements and regular bug fixes. We recommend our clients to incorporate the latest upgrade of Aspose.3D for .NET API to take benefit of improved functionality and bug fixes.

Apply texture-transparency with per-pixel alpha channel

With the help of Aspose.3D for .NET API, developers can apply material using per-pixel alpha channel defined in the diffuse/albedo texture. In order to achieve this, we have added Alpha and AlphaSource members. These members make it compatible with texture-transparency in 3D formats like U3D/FBX and these are also supported in Aspose.3D API renderer, since LambertMaterial, PhongMaterial and PbrMaterial classes have transparency factor.
C#

// define a box node with alpha channel defined in albedo texture:
var node = new Node()
{
Material = new PbrMaterial()
{
AlbedoTexture = new Texture()
{
AlphaSource = AlphaSource.PixelAlpha,
Alpha = 1,
FileName = "window.tga"
}
},
Entity = new Box()
};

Retrieve bounding box of 3D Entities

With the recent version 18.3 of Aspose.3D for .NET API, developers can retrieve a bounding box of 3D entities. The GetBoundingBox method has been added to the base Entity class:
C#

var box = new Box();
BoundingBox bbox = box.GetBoundingBox();
Console.WriteLine(bbox);

Aspose.3D for .NET Resources

The following resources will help you work with Aspose.3D for .NET:

  • Home page for Aspose.3D for .NET API
  • Aspose.3D product family forum – Post your technical questions, queries and any other problem you faced while running Aspose.3D APIs.
  • Aspose.3D for .NET online documentation – help documentation and API reference documents.
  • Enable Blog Subscription – Do not limit yourself, you can keep yourself updated with the latest news on Aspose.3D APIs, new features, fixes and other API related topics by subscribing to Aspose.3D blog.
  • Aspose.3D for .NET Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
  • Install Aspose.3D NuGet package – We publish each version of Aspose.3D for .NET API as a NuGet package on the NuGet gallery and recommend our clients upgrade old version to the latest one.
  • Release Notes – For details on API fixes, please check Release Notes having a complete list of the new features.

We hope you will enjoy this new release that save time and huge efforts for related files manipulation. The API is quite simple and can easily be used in any application.


To keep up with our news, you can follow us on Twitter or follow our Facebook page.

Leave a Reply