原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2019-08-15 15:14:18.353|閱讀 243 次
概述:Aspose.3D for .Net更新至最新版v19.8,在Wavefront OBJ中添加點云支持,增強Aspose.3D的安全性審查,我們一起來看一看新功能詳解吧!
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Aspose.3D for .NET是功能豐富的游戲軟件和計算機輔助設(shè)計(CAD)API,用于處理3D文檔格式,無需任何3D建模和渲染軟件依賴。同時支持Discreet3DS,WavefrontOBJ,F(xiàn)BX(ASCII,二進制),STL(ASCII,二進制),Universal3D,Collada,glTF,GLB,PLY,DirectX,Google Draco文件格式等。開發(fā)人員可以輕松地創(chuàng)建,閱讀,轉(zhuǎn)換,修改和控制3D文檔格式的內(nèi)容。
Aspose.3D for .Net更新至最新版v19.8,在Wavefront OBJ中添加點云支持,增強Aspose.3D的安全性審查,我們一起來看一看新功能詳解吧!>>歡迎下載Aspose.3D for .NET v19.8體驗
key | 概述 | 類別 |
---|---|---|
THREEDNET-528 | 在Wavefront OBJ中添加點云支持 | 新功能 |
THREEDNET-531 | Aspose.3D的安全性審查 | 增強 |
THREEDNET-536 | DRC到STL轉(zhuǎn)換失敗 | Bug修復(fù) |
THREEDNET-537 | 將PLY轉(zhuǎn)換為GLB時出現(xiàn)問題 | Bug修復(fù) |
THREEDNET-539 | 大點云可能會生成不正確的數(shù)據(jù) | Bug修復(fù) |
////// Gets or sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false ///public bool PointCloud { get;set; }
用于生成obj格式的Sphere點云的示例代碼:
var scene = new Scene(new Sphere()); scene.Save(@"sphere.obj", new ObjSaveOptions() { PointCloud = true });
////// Create a polygon with 4 vertices(quad) //////Index of the first vertex///Index of the second vertex///Index of the third vertex///Index of the fourth vertexpublic void CreatePolygon(int v1, int v2, int v3, int v4); ////// Create a polygon with 3 vertices(triangle) //////Index of the first vertex///Index of the second vertex///Index of the third vertexpublic void CreatePolygon(int v1, int v2, int v3);
示例代碼:
Mesh mesh = new Mesh(); mesh.CreatePolygon(new int[] { 0, 1, 2 }); //The old CreatePolygon needs to create a temporary array for holding the face indices mesh.CreatePolygon(0, 1, 2); //The new overloads doesn't need extra allocation, and it's optimized internally.
新添加的方法 CreatePolygon 允許您創(chuàng)建三角形或四邊形而無需分配額外的內(nèi)存,它在內(nèi)部進行了高度優(yōu)化。
////// The JSON content of GLTF file is indented for human reading, default value is false ///public bool PrettyPrint { get; set; }
*Aspose.3D現(xiàn)已加入“8月省錢式嗨購”,滿額即送office 365正版授權(quán),想要購買Aspose.3D正版授權(quán)的朋友可了解詳情哦~
ASPOSE技術(shù)交流QQ群(642018183)已開通,各類資源及時分享,歡迎交流討論!
掃描關(guān)注“慧聚IT”微信公眾號,及時獲取更多產(chǎn)品最新動態(tài)及最新資訊
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn