Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Materials Reference lost after using "Mesh Parameters" dialog box  (Read 11385 times)

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile

In Object Editor, if a textured mesh is double-clicked to bring up the "Mesh Parameters" dialog box, when the "OK" button is clicked, the mesh loses references to its materials.  The UV coordinates are not lost, but the mesh's face references to individual materials are lost.

I first noticed this in Build 1086 and it persists in Build 1088.

A close look at the an8 file before and after shows that the "materiallist" has had the materials removed (leaving only the {" -- default --"}. Further, in the "faces" section, individual references to the materials are set to zero.  The materials are still in the object, just no longer associated with the mesh.

Thank you for continuing development on Anim8or.  I have been using it continuously since 2007.

I am especially looking forward to more ASL development.

Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #1 on: April 26, 2014, 01:06:59 pm »

Sounds like something that needs fixing :-) But I'm having trouble reproducing the problem. Are you using a complex material of just a simple diffuse color? Are there multiple materials? What, if anything, do you do besides double click to open the dialog and then click on "OK"?

Also, are there any particular things that you'd like to see in ASL?
Logged

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #2 on: April 26, 2014, 01:18:05 pm »

Steve,
   I have attached an an8 file and a texture jpg.  Once the file is opened, simply double clicking the mesh (battery model) to open the "Mesh Properties" dialog, then clicking "OK" will clear the materials.  I get the same results whether I alter any of the properties or not.

As far as ASL is concerned, I am still testing the newest capabilities.  If you don't mind, I will reserve my ASL wish list for another post so I can put my thoughts together as clearly as possible.

Thank you so much!
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #3 on: April 26, 2014, 04:38:36 pm »

Thanks, I can reproduce the problem with your example. The ones I make don't show the problem even when I try to mimic your model. I hope to have this fixed shortly.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #4 on: April 26, 2014, 05:45:54 pm »

Fixed: #098-009 - Materials disappear after viewing properties dialog.

Here's a copy for you to test if you like. There are some other changes that haven't been fully implemented or tested yet so this is not for general use. It's build 1089* dated April 26, 2014, with the "*" to indicate that some new parts aren't fully tested: http://www.anim8or.com/download/preview/files/animcl1089.zip
Logged

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #5 on: April 26, 2014, 05:57:48 pm »

Thank you, Steve.  It seems to have cleared the bug.
Logged