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
So far I have been using ACES in Blender for about 4 or 5 weeks. It has worked very well so far, aside from one problem (this has been a problem ever since I started using ACES, but hasn't really bothered me too much until now). Whenever I import a .obj file, it is usually accompanied by a .mtl file as well. If I delete the .mtl file, the model imports just fine. Interestingly, the only models this error occurs with are .obj models from Roblox Studio. When the model is accompanied by a .mtl file, it causes these errors:
The error prevents the obj (even the vertices) from being imported at all. However, if I delete the .obj's .mtl file, the model imports. (Albeit without textures) If I take a different model, one from somewhere else besides Roblox, the model imports just fine with the .mtl file, and textures are applied. I think what is happening is that the .mtl file (which I know for a fact from importing them before I used ACES contains an alpha texture) is attempting to apply a texture (presumably the alpha texture) with the "non-color" profile, which ACES does not contain. This prevents Blender from creating materials, which it apparently does before importing vertices. From this, I can infer that the other .obj files I have imported do not contain alpha textures. (The alpha textures in the Roblox models are extremely annoying, because (before I used ACES) I would have to remove the alpha texture every single time I imported avatar models, as the alpha textures made the entire avatar slightly transparent; I have no clue why Roblox even puts them into the file, as they aren't used in Roblox Studio). Hoping to remove the alpha texture from the .mtl file, I decided to open it up in Notepad. Thankfully, it was not a bunch of gibberish like I was afraid of, though it was much smaller than I thought it would be. These are the contents of the .mtl file:
newmtl Toshyyyy1Mtl
Material Color
Ka 1 1 1
Kd 1 1 1
Ks 0.0627451 0.0627451 0.0627451
d 1
Ns 0
map_Ka Toshyyyy1Tex.png
map_Kd Toshyyyy1Tex.png
map_d Toshyyyy1Tex.png
Toshyyyy1Tex.png is an image file automatically generated whenever saving the avatar in Roblox Studio. At first, I could not figure which of the 'map' lines corresponded to the alpha texture, but after looking at the segment of the error report
context_material_name, img_data, line, 'D')
I figured out that map_d Toshyyyy1Tex was the "alpha" line. I deleted the line, saved the .mtl file, and was then able to import the model with the modified .mtl file successfully with textures. I got the job done, but I realized that it would be a problem next time I imported a .obj file with an alpha texture. How can I prevent this from happening in the future so that I don't have to manually change the .mtl file every time I want to import a model that contains an alpha texture? Thank you for all of your hard work. ACES makes my renders look SO much better. Have a great day!
The text was updated successfully, but these errors were encountered:
So far I have been using ACES in Blender for about 4 or 5 weeks. It has worked very well so far, aside from one problem (this has been a problem ever since I started using ACES, but hasn't really bothered me too much until now). Whenever I import a .obj file, it is usually accompanied by a .mtl file as well. If I delete the .mtl file, the model imports just fine. Interestingly, the only models this error occurs with are .obj models from Roblox Studio. When the model is accompanied by a .mtl file, it causes these errors:
The error prevents the obj (even the vertices) from being imported at all. However, if I delete the .obj's .mtl file, the model imports. (Albeit without textures) If I take a different model, one from somewhere else besides Roblox, the model imports just fine with the .mtl file, and textures are applied. I think what is happening is that the .mtl file (which I know for a fact from importing them before I used ACES contains an alpha texture) is attempting to apply a texture (presumably the alpha texture) with the "non-color" profile, which ACES does not contain. This prevents Blender from creating materials, which it apparently does before importing vertices. From this, I can infer that the other .obj files I have imported do not contain alpha textures. (The alpha textures in the Roblox models are extremely annoying, because (before I used ACES) I would have to remove the alpha texture every single time I imported avatar models, as the alpha textures made the entire avatar slightly transparent; I have no clue why Roblox even puts them into the file, as they aren't used in Roblox Studio). Hoping to remove the alpha texture from the .mtl file, I decided to open it up in Notepad. Thankfully, it was not a bunch of gibberish like I was afraid of, though it was much smaller than I thought it would be. These are the contents of the .mtl file:
Toshyyyy1Tex.png is an image file automatically generated whenever saving the avatar in Roblox Studio. At first, I could not figure which of the 'map' lines corresponded to the alpha texture, but after looking at the segment of the error report
I figured out that
map_d Toshyyyy1Tex
was the "alpha" line. I deleted the line, saved the .mtl file, and was then able to import the model with the modified .mtl file successfully with textures. I got the job done, but I realized that it would be a problem next time I imported a .obj file with an alpha texture. How can I prevent this from happening in the future so that I don't have to manually change the .mtl file every time I want to import a model that contains an alpha texture? Thank you for all of your hard work. ACES makes my renders look SO much better. Have a great day!The text was updated successfully, but these errors were encountered: