It is currently Wed Apr 24, 2024 10:28 pm


Atlis Texture not working with meshes - Runtime Error 5105

Any thing to do with Tree It, post and read about it here.
  • Author
  • Message

DiegoRas

  • Posts: 5
  • Joined: Thu May 07, 2020 9:06 pm

Atlis Texture not working with meshes - Runtime Error 5105

PostSat May 09, 2020 2:18 am

Hi there!
I just want to report a bug I found.
When you add a mesh component to the tree the Atlis Texture feature cannot be opened and prompt an Runtime Error 5105.

treeit-error-atlis.jpg
Runtime Error 2105 - Memblock position outside range at line 2118
treeit-error-atlis.jpg (10.35 KiB) Viewed 6603 times


I have tried with the default Cross Section.x, with the t-pot.x and custom meshes (like knot and lumps).

With Cross section the Atlis window opens but it doesn't load the texture used on the mesh.
With t-pot and others custom meshes the Atlis gives the error and doesn't open.

How to reproduce:
1. Open a new tree.
2. Load the default t-pot.x from mesh tab.
3. Click on Atlis texture button.

Atlis texture is an amazing feature that can optimize the model a lot.
It would be great if it could work with meshes also.

Thank you so much for Tree it.
I loved the tool.

DiegoRas

  • Posts: 5
  • Joined: Thu May 07, 2020 9:06 pm

Re: Atlis Texture not working with meshes - Runtime Error 51

PostTue May 12, 2020 11:28 pm

Well, I don't know if it helps, but I've found a workaround to make it works.
It needs a little knowledge about DirectX models structure that you can find easily on the web.
When I save a .x file from Blender it gives the following structure:

-Header
-Matrix
-Mesh
---MeshNormals
---MeshTextureCoords
---MeshMaterialList
-----Material (Declared inside the block)

I removed the matrix and moved the material declarion out of Mesh block and then it worked.
So, I had this structure:

-Header
-Material
-Mesh
---MeshNormals
---MeshTextureCoords
---MeshMaterialList

And I noticed it supports only 1 material per mesh.
But this way I could use the custom mesh (.x) with Atlis Texture without any issue.

I hope it can help other users.

Return to Tree It



cron