Author Topic: setting IVertexController  (Read 6719 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: setting IVertexController
« Reply #15 on: March 16, 2010, 05:00:05 pm »
If multiple objects share one mesh, it means that they all play the same animation/use the same vertex controller. Is that, what you have in mind? By default, all will be treated as seperate instances as far as rendering on the GPU is concerced. However, if they share the same mesh, you can give Object3D.shareCompiledData() a try. Just ensure that the object you touch is the source object and that it's the first in the list. I'm not sure how this will work out, because i've never used it that way. It might work... ;)

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: setting IVertexController
« Reply #16 on: March 16, 2010, 05:04:02 pm »
yes, that's exactly what i thought, thanks..