Author Topic: Animated 3ds object  (Read 978 times)

Offline kupiecu

  • byte
  • *
  • Posts: 9
    • View Profile
Animated 3ds object
« on: November 27, 2013, 03:18:52 pm »
Sorry, my english is low lovel.
Hello, so what i want to do? I want adding to my scene a animation snow/rain effect. I working with "3ds max" and particle flow. Whatever, I generate a animated 3ds model file (*.3DS). When i open it in 3ds max it's working great. So i try load this file to my project. (load "static" 3ds work great). It's compile but no start.

My logout sometimes stop in this place

Code: [Select]
11-27 08:55:16.616: I/jPCT-AE(747): Processing object from 3DS-file: BakedPar38
11-27 08:55:16.636: I/jPCT-AE(747): Object 'BakedPar38_jPCT69' created using 1 polygons and 3 vertices.
11-27 08:55:16.636: I/jPCT-AE(747): Processing object from 3DS-file: BakedPar39
11-27 08:55:16.636: I/jPCT-AE(747): Object 'BakedPar39_jPCT70' created using 1 polygons and 3 vertices.
11-27 08:55:16.636: I/jPCT-AE(747): Processing object from 3DS-file: BakedPar40
11-27 08:55:16.648: I/jPCT-AE(747): Name in hierarchy found: BakedParti

here is my logout:
http://pastebin.com/4n2b7Hh0

I see that in example animated 3ds load frame by frame, but i don't know where i have a frame in my 3ds file. I have one animated file. My 3ds file have about 80kb size (this is only 40 animated triangle).

Please help me

Whatever, is antoher way to good snow/rain effect?
« Last Edit: November 27, 2013, 03:24:30 pm by kupiecu »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12111
    • View Profile
    • http://www.jpct.net
Re: Animated 3ds object
« Reply #1 on: November 27, 2013, 08:58:29 pm »
The 3ds loader loads mesh data and some additional stuff like transparency. It doesn't handle any kind of key frame animations or animations based on times transformations. You could try to create that kind of effect as a kind of 2d overlay by blitting either individual drops/flakes of by blitting and moving some weather effect texture around. I did this for a rain effect once and it looked ok (visible in low quality in this old video of mine: http://www.youtube.com/watch?v=myfOM4n07kc&list=UUv6HqxBkDAcubS87yA_ToEw#t=145).