Author Topic: Water particle to come out of bottle, need help  (Read 1392 times)

Offline subhalakshmi27

  • byte
  • *
  • Posts: 21
    • View Profile
Water particle to come out of bottle, need help
« on: August 14, 2012, 05:06:49 pm »
Hi All,
I have a water bottle to be animated. When user shakes the bottle water should come out from the water bottle. I got the mesh and skeleton file for the water bottle, but I am not sure how to get the water coming out of the bottle.

My graphic designer in addition to bottle.mesh and bottle.skeleton has given me bottle.material file and water.particle.xml file. I am not sure how to use the files along with bones.

Link for water.particle.xml file for your reference,

https://docs.google.com/open?id=0B2uZizkynuR0M29GZTBoOHdpeUU

Please help me in this regard.

Regards,
Subha

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1966
    • View Profile
    • http://www.aptalkarga.com
Re: Water particle to come out of bottle, need help
« Reply #1 on: August 14, 2012, 06:41:27 pm »
I'm writing from phone so I can't reach your file at the moment. possibly that particle file is some Ogre3d specific thing an its not supported. materials files are also not supported.

bones only supports pose and skin animations from Ogre3d

Offline subhalakshmi27

  • byte
  • *
  • Posts: 21
    • View Profile
Re: Water particle to come out of bottle, need help
« Reply #2 on: August 15, 2012, 04:01:24 pm »
Hi Raft,

Thanks for the reply.

How to achieve this effect in JPCT? What format should I go for?

Regards,
Subha

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1966
    • View Profile
    • http://www.aptalkarga.com
Re: Water particle to come out of bottle, need help
« Reply #3 on: August 15, 2012, 06:37:24 pm »
I guess you can achieve that effect with a simple particle system. Egon has implemented one in advanced sample