General Category > Anim8or v1.0 Discussion Forum

Continuous Crashes on UV Maps

(1/2) > >>

Hi Guys,

Anim8or 1.0, v3.0

Thanks in advance for any tips here. I have a high end anatomical model of teeth and gums, exported from Blender in .obj format with the UV maps included in JPG format. I'm experiencing continuous crashing once the texture maps are assigned in materials in Anim8or. I've been using the model without maps for quite some time and never had a freeze or issue, but once I started assigning the UV maps, started getting constant crashes. I'm using Ambient, Diffuse, Specular, Normal and Environmental maps on each tooth, each object sharing the one "Teeth" material. The UV maps are showing on the model correctly and the Art Ray render looks good, however I'm experiencing random crashes, a lot. I went back to square one and imported just one object and went step by step and assigned UV maps one at a time. The crashing absolutely starts once I load the UV maps and assign to the object. I've done the usual bug eliminations, restarting, shutting down other programs, trying different versions of 1.0 release, poking around with different user settings in Anim8or, checked the JPG images, etc.

Now, there are big maps being assigned at 4096 x 4096 and some others are 2048 x 2048 and I suspect this is the culprit. The environmental map is a box map I created myself at 1180x1180. Here are the crash events in order of frequency:

navigating and selecting a JPG when assigning a map in the Material Editor
attempting to swap out one map for another map in Material Editor (this action causes a freeze 100 percent of time)
rotating an object in the scene editor
rendering image from scene editor
manipulating objects in object mode
Anim8or crashes on startup (continues to do so w/start in previous OFF)

Any recommendations on improving the stability that does not involve redoing the UV maps? I need to keep the original texture maps at 4096 as there are multiple meshes to each JPG and resolution would suffer with smaller map.

Asus G551JW Laptop
Windows 10 with auto updates on
Intel i7, 2.6 Ghz 4 core
16 Gb RAM
Nvidia GeForce GTX 960M 2047MB
1TB Cyclone SSD internal, w/ system software and programs
1TB 7200 HD internal, scratch and storage
External USB Drive, backup

I can't tell from just your (good) description, but I suspect that it's a bug in Anim8or that's due to the large number of textures being used on the same material(s), maybe in combination with their sizes.

I have a few questions:

1. How many different complex materials are you using in the same model?
2. In the entire project?
3. Are you using GLSL shaders (See the menu command View->Preferences in the "Shading" box)?
4. Can you make a simple project with just a single sphere that's assigned one of the complex materials and send that to me? Does it crash in the same way? I don't need the texture files at this point but I want to step through my code where the materials are being handled.

Assuming that you don't have ambient and diffuse locked, I think that there are some issues with more than 4 textures.

Hi Steve, thanks for popping in on this.

0. Diffuse and Ambient not locked
0. note: the .an8 would not load at all, tried 5 times, loaded next attempt only on restart of Windows.
1. ambient, diffuse, specular, emissive, normal, environmental maps are being used for teeth.
2. 12 maps in total are noted (teeth and gum) in the TEXTURE SELECTOR window as there are more for the gums. Metal braces need only environment map.
3. I'm using GLSL shaders
4. see attachments and PM - will try sphere alone

OK I found one problem: I'm querying the wrong value for the max number of textures supported. You are using 5 textures but part of my code is limiting it to 4 and, as you've seen, it doesn't render properly.

So until I can get this fixed, you need to limit your materials to a max of 4 textures.

For the nerds out there, I'm using GL_MAX_TEXTURE_UNITS which is for older OpenGL 1.3 uses. For GLSL shaders I need to use GL_MAX_TEXTURE_IMAGE_UNITS, among other things.

(That's one bright white tooth material :) )


[0] Message Index

[#] Next page

Go to full version