Author Topic: Two Textures On Single-Part Model  (Read 5937 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Two Textures On Single-Part Model
« Reply #15 on: August 18, 2014, 03:38:49 pm »
But what I'm telling you is that reducing the texture has an effect. Have you ever written anything like the bellow screenshot?



And given what you just told me, I scaled the textures down to 256x256 and they look perfect. That's most of the problem for me, but I'd still prefer the option of using bigger textures. So what's the next test? :- )

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Two Textures On Single-Part Model
« Reply #16 on: August 18, 2014, 03:51:03 pm »
In that case, you might be applying the recreateTextureCoords() to the wrong or not to all objects. Make sure to apply it to all Object3D instances that are part of the loaded Bones object. However, build() actually includes a call to recreate...so if you load the model, assign the textures and then call build() on everything, it should work.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Two Textures On Single-Part Model
« Reply #17 on: August 18, 2014, 03:58:31 pm »
I was calling build(), then recreate...(), then setTexture(). So, having changed the order of the operations, it's working now, thank you. What about that unwrapper? Have you ever written something like that?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Two Textures On Single-Part Model
« Reply #18 on: August 18, 2014, 04:08:17 pm »
Have you ever written something like that?
Nope, never...