Bones - Skeletal and Pose Animations for jPCT/jPCT-AE > Bones

How to set texture to object material

<< < (2/3) > >>

raft:

--- Quote ---i tried to set the texture by Animated3D index instead of name, seems work.

--- Code: ---animatedGroup.get(0).setTexture("head");
animatedGroup.get(1).setTexture("headTop");
animatedGroup.get(2).setTexture("head");
...

--- End code ---

--- End quote ---
nice :)


--- Quote ---
--- Quote ---video not appearing part may also related to a thread synchronization issue. in particular if you dont consume a video frame new update never arrives (as far as I remember)

--- End quote ---

?? you are answering my qestion? :)

--- End quote ---
nope, sorry, wrong thread, have no idea how this happened :D

jaychang0917:
raft, I found that the imported model is not rendered correctly. If the geometry contains multiple elements, it seems only render the first element. Do you have any idea?

raft:
which pipeline are you using, Collada or Ogre3D?

are you sure it's exported correctly?

jaychang0917:

--- Quote from: raft on April 11, 2017, 10:10:29 am ---which pipeline are you using, Collada or Ogre3D?

are you sure it's exported correctly?

--- End quote ---

I am using Collada.

I found that the model is rendered correctly using the ProceduralAnimationBonesSample, is it the jpct-ae problem?

raft:
interesting, might be jpct-ae

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version