Hi,
I have been using the NuGet package Aspose.3D .Net for a purpose of converting FBX file to OBJ and following your example and implementing it by modifying the Aspose.3D.Examples.CSharp.DocumentToStream as follows:
namespace CSharp.Loading_Saving
{
class DocumentToStream
{
public static void Run()
{
// The path to the documents directory.
string MyDir = RunExamples.GetDataDir();
string fromFile = MyDir + “Airbrush.fbx”;
// Load a 3D document into Aspose.3D
Scene scene = new Scene(fromFile);
scene.Save(MyDir + “Package.obj”, FileFormat.WavefrontOBJ);
Console.WriteLine("\nConverted 3D document to stream successfully.");
}
}
}
I do succeed in creating the file, I generated OBJ,STL, 3DS, though all of them end up 1KB size files, which is not realistic in my opinion considering the .fbx file is 7MB
What am I missing not implementing correctly?