Ooops
September 19, 2021, 16:00:03

Author Topic: 3d object animation  (Read 518 times)

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
3d object animation
« on: June 06, 2021, 11:46:40 »
I have made an insect as a 3d model and was wanting to animate it. To my surprise I find I need some additional software to do this . Looked at a few alternatives and not found what I was looking for . I've tried blender and don't really like it just seems too complicated . Any recommendations would be nice . Thanks for reading .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline bsisko

  • Full Member
  • ***
  • Posts: 125
Re: 3d object animation
« Reply #1 on: June 07, 2021, 02:15:23 »
Give blender a few more weeks.  It has a nice animation system.  Also, there is a MIT site where you can download for free .bvh files that contain poses and animation patterns for many creatures besides humans.  Unfortunately, I don't remember the site off-hand nor do I have the time to look up the site at the moment.
Prepare to be assimilated !  Resistance is futile!

https://www.youtube.com/channel/UCtF5_0dBPL5eSBerwlJCnPA

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #2 on: June 07, 2021, 08:58:44 »
Yes decided to give blender another shot . nearly there I think. looked at quite a few of these types of programs and did a full circle . intend to have a small animation ready in a day or two and we'll see what we see . I think blender is the way to go anyway as it's kind of the industry standard and will be worth getting to grips with.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #3 on: June 07, 2021, 20:31:28 »
I have figured out how to make my animation in Blender. I then export my .blend file as an .obj file . When I go into my files where I have stored it i have about 20 .mtl and .obj files . so this is where I'm at right now . Not sure how to play the animation in my app. am I ok to use .obj files or do I need to use something else. Any advice now would be appreciated . Does anybody know if blender can produce a uv map which I can use in my paint program a bmp or png file . If I can get this down I can get done with wings3d and lithunwrap. Thanks for reading.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline MikeHart

  • Hero Member
  • *****
  • Posts: 804
Re: 3d object animation
« Reply #4 on: June 08, 2021, 07:45:04 »
OBJ is a static 3d file format. It doesn't support animation. Read the manual of AGK to see which animated  3d file formats it supports. I think it should support .X maybe .MD2 . If Blender doesn't let you export to .X right away, looking the settings if there is a plug-in you can activate. If there isn't one, search the internet for them. They do exist.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #5 on: June 09, 2021, 14:01:01 »
Good afternoon I have the animation working fine now and am exporting the model as a .dae Collada file . But I find I cannot apply a texture or change it's color . I'm including a few lines of code so you can see the problem. If I use loadobjectwithchildren It will not apply the texture.

Code: [Select]
texture25=loadimage("Cube.png")
  Loadobjectwithchildren(18,"cuberotate.dae")
 
  //loadobject(18,"cuberotate.dae")
  setobjectimage(18,texture25,1)
  setobjectcolor(18,10,10,250,180)


I've tried different file types and I don't think that's the problem.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #6 on: June 09, 2021, 19:17:21 »
Hey guys it's sorted . You need to produce a texture for each frame . some kind person on the official AGK forum let me know.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline blinkok

  • Sr. Member
  • ****
  • Posts: 375
Re: 3d object animation
« Reply #7 on: June 09, 2021, 21:49:13 »
setobjectimage(18,texture25,0)

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #8 on: June 12, 2021, 10:14:13 »
I'm gonna try that bit of code with the 0 and see what gives . Thanks
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 779
  • Bonjour
Re: 3d object animation
« Reply #9 on: June 12, 2021, 10:19:23 »
No noticeable difference. But I bet you're correct and will be using 0 rather than 1 in the future .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal