You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Assimp Libs v4.1.0, but I also tried v3.3.1 and 3.3.2.
I can't export a scene. I also tried to import an scene and export it withut tuching it.
But It doesn't work.
Here a code that I have tested and failed:
Dim mdl As Scene = Nothing
Dim ac As New AssimpContext
Dim channelIndicies As New Dictionary(Of Material, Integer)
ac.SetConfig(New Configs.NormalSmoothingAngleConfig(66.0F))
mdl = ac.ImportFile(fileName, PostProcessPreset.TargetRealTimeMaximumQuality Or PostProcessSteps.Triangulate)
Dim formatID As String = ""
Dim myExt As String = Path.GetExtension(fileName).ToLower.Substring(1)
For Each efd As ExportFormatDescription In ac.GetSupportedExportFormats
If myExt = efd.FileExtension Then
formatID = efd.FormatId
Exit For
End If
Next
ac.ExportFile(mdl, fileName, formatID, PostProcessPreset.TargetRealTimeMaximumQuality)
What I do wrong? Or is that a bug?
Please help me!
The text was updated successfully, but these errors were encountered:
I am using Assimp Libs v4.1.0, but I also tried v3.3.1 and 3.3.2.
I can't export a scene. I also tried to import an scene and export it withut tuching it.
But It doesn't work.
Here a code that I have tested and failed:
What I do wrong? Or is that a bug?
Please help me!
The text was updated successfully, but these errors were encountered: