Render scene into the cubemap, Create Panorama view and Fisheye lens effect with Aspose.3D for .NET 17.8

Share on FacebookTweet about this on TwitterShare on LinkedIn


Aspose.3D for .NET logo
We are pleased to announce the availability of new version 17.8 of Aspose.3D for .NET API. The new version 17.8 of the API has been released with the support of rendering a scene into the cubemap with six faces and save all faces into the supported image format. Developers can create a Panorama view and render a Fisheye lens effect on 3D scene, and then save that view into the supported image formats. We have enhanced the API usage by incorporating new features and regular bug fixes.

Render 3D scene into the cubemap with six faces

With the help of Aspose.3D for .NET API, developers can load 3D models, create six square views in an order that all joined together to form a cube. These six views then form a cubemap which is used to make 3D background sceneries and fillers. Every rendering in 3D graphics has two elements, the scene and the camera. The renderer then renders the scene relative to the camera. In following help topic, we have created a Camera and two Light objects to capture the cubemap: Render a scene into the cubemap with six faces

Render Panorama view of 3D scene

A panorama is a wide-angle view which helps in taking a virtual tour of 3D scenes. With the help of Aspose.3D for .NET API, developers can create panoramas and save into the supported image format. The following help topic narrates how to create a spherical (equirectangular) panorama: Render a Panorama view of 3D scene

Create Fisheye lens effect on 3D scene

A fisheye lens is an ultra wide-angle lens that produces strong visual distortion intended to create a wide panoramic image. With the help of Aspose.3D for .NET API, developers can create a fisheye lens effect on 3D scene, and then save in the supported image format. The following help topic narrates how to create a fisheye lens effect, and then save in the image format: Create a Fisheye lens effect on 3D scene and save in an image

Public .NET 3D API Changes

The following API changes in the new version are also worth noticing:

  • Load, Save and ToBitmap methods from ITextureUnit class have been obsoleted. 
  • Aspose.ThreeD.Render.CubeFace enum has been added. It helps to access data as per the face of the cubemap.
  • Aspose.ThreeD.Render.CubeFaceData class has been added. It describes cubemap data per face like file name or bitmap.
  • Aspose.ThreeD.Render.ITextureCubemap interface has been added. It retrieves the cubemap texture.
  • Aspose.ThreeD.Render.ITexture1D interface has been added. It represents a 1D texture object.
  • Aspose.ThreeD.Render.ITexture2D interface has been added. It represents a 2D texture object.
  • CreateRenderTexture, CreateCubeRenderTexture and CreateTextureUnit methods have been added to Aspose.ThreeD.Render.RenderFactory class. All these methods help in rendering textures.
  • Execute method to Aspose.ThreeD.Render.Renderer class has been added.
  • Normalize and Cross methods to Aspose.ThreeD.Utilities.FVector3 struct have been added. These are the two primitive operations of vectors.

Aspose.3D for .NET Resources

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

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.