Boş bir 3D belgesi oluşturun
Contents
[
Hide
]
Boş bir 3D sahne oluşturun ve desteklenen 3D formatında kaydedin
Aspose.3D for Java API sıfırdan 3D sahne oluşturma desteği var ve daha sonra desteklenen 3D formatında kaydedin.
Boş bir 3D sahne oluşturma
Aspose ile 3D sahne oluşturmak için lütfen bu adımları izleyin. 3D for Java API:
- Create bir örnekSahne class that represents 3D scene.
- Çağırarak 3D belgesi oluşturunKaydetYöntemiSahneSınıf örneği.
Boş bir 3D sahne oluşturma: programlama örnekleri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The path to the documents directory. | |
String MyDir = RunExamples.getDataDir(); | |
MyDir = MyDir + "document.fbx"; | |
// Create an object of the Scene class | |
Scene scene = new Scene(); | |
// Save 3D scene document | |
scene.save(MyDir, FileFormat.FBX7500ASCII); |