- Messages
- 544
- Country
Hi Arno,
I wanted to reduce the number of drawcalls using only one texture instead of individual textures of each tree before. So I merged all trees together in a single object with many textures and tried to reduce the number of textures with the drawcall optimizer of MCX (latest development release from today).
Although the process seems to work, I get an error message when predicting the resulting drawcalls. Here it is:
If you need more informations or files to reproduce the error, please let me know. The result of the conversion process (3ds-file) was correct and could be imported in Gmax again to separate the trees at the end but the window of MCX shows the yellow red cross (well known in the starting times with MCX).
Jörg
I wanted to reduce the number of drawcalls using only one texture instead of individual textures of each tree before. So I merged all trees together in a single object with many textures and tried to reduce the number of textures with the drawcall optimizer of MCX (latest development release from today).
Although the process seems to work, I get an error message when predicting the resulting drawcalls. Here it is:
Code:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ASToFra.ObjectModel3D.Vector3d.op_Addition(Vector3d v1, Vector3d v2)
bei ASToFra.ObjectModel3D.CrashTree.GetBoundingBoxTotal()
bei ASToFra.ObjectModel3D.CrashTree.GetCrashBoxes()
bei ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderCrashTree(CrashTree crash)
bei ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderScene(Int32 clientWidth, Int32 clientHeight)
bei ASToFra.ObjectRenderer.Renderer3DHandlerType.Paint(Object sender, PaintEventArgs e)
bei CSGL12.CSGL12Control.OnPaint(PaintEventArgs e)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
ModelConverterXLaunch
Assembly-Version: 1.0.0.0.
Win32-Version: 1.4.0.0.
CodeBase: file:///C:/FS_Design/Model_Converter_X/ModelConverterX.exe.
----------------------------------------
ASToFra.Utils
Assembly-Version: 1.0.0.0.
Win32-Version: 1.4.0.0.
If you need more informations or files to reproduce the error, please let me know. The result of the conversion process (3ds-file) was correct and could be imported in Gmax again to separate the trees at the end but the window of MCX shows the yellow red cross (well known in the starting times with MCX).
Jörg