Jump to content


Photo

Model Manipulation using U3d


  • Please log in to reply
12 replies to this topic

#1 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 04 June 2012 - 09:26 PM

I read but am unclear what command line will add a model animation. I tried AddFrame in U3d with an event that would call the action but nothing happened. I know my events work but I just don't get the command line needed to change the frame of my model. It is a 3ds model with several frames.
Thanks for any help. pac1
  • 0

#2 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 04 June 2012 - 11:51 PM

put frame+=1 in the Begin Step Event
  • 0

#3 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 06 June 2012 - 08:29 AM

Unfortunately I have to use seperate models for the animation. I have a sprite moving in the map invisible in the 3d world. In my call event the alternate model should load but it does not happen. I loaded this code in the Create and the Begin Step event of the model.

var frame;
frame = grow.x;
if frame < 32 {
file = 'models/w.3DS'}

if frame > 31 {
file = 'models/w2.3DS'}

Would be nice if I could find an inexpensive program that would export all the frames of a model but still looking. Thanks for any help and appreciate your ideas. pac1
  • 0

#4 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 06 June 2012 - 04:29 PM

you have to call LoadMesh()

you should also preload the mesh with PreloadMesh("filename") in object control

you would have to add some variables to make sure it does not load the mesh each frame

Edited by PoniesForPeace, 06 June 2012 - 04:31 PM.

  • 1

#5 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 12 June 2012 - 04:55 AM

I just can't get what event to call to animate to a new frame. If U3d sold a book like the Gamemaker Apprentice, would be so nice to have! Thanks for your patience, just slow at this part of the learning. pac1
  • 0

#6 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 12 June 2012 - 11:21 AM

I just can't get what event to call to animate to a new frame. If U3d sold a book like the Gamemaker Apprentice, would be so nice to have! Thanks for your patience, just slow at this part of the learning. pac1

you put it in the step event, there is no script for it, the variable frame controls it. optionally you can put frame=-1 in the create event but its not as reliable as putting frame+=1 in the Step event
  • 0

#7 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 13 June 2012 - 04:58 AM

The code would work but it is my program that won't export multiple frames of a model. Will look around for one that can. Thanks for any ideas or modeling programs that can take a 3ds model and add frames to it.
  • 0

#8 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 13 June 2012 - 04:17 PM

Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.
  • 0

#9 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 16 June 2012 - 12:11 AM

I'm trying to import it as a wavefront.obj. I model using Ulead Cool3D which is real easy but wont export multiple frames. If I could figure how to import a different frame of the model into each frame of Animator that would be awesome. Still foggy on Milkshape if there is a way to do it with that. Thanks for any info. pac1

Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.


  • 0

#10 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 16 June 2012 - 04:32 PM

I'm trying to import it as a wavefront.obj. I model using Ulead Cool3D which is real easy but wont export multiple frames. If I could figure how to import a different frame of the model into each frame of Animator that would be awesome. Still foggy on Milkshape if there is a way to do it with that. Thanks for any info. pac1


Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.

u3d does not support wavefront .objs, and im not even sure if wavefront .objs support animation or not.
  • 0

#11 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 16 June 2012 - 11:42 PM

I did try to import a 3ds model which imported fine but my program wont import frames of the 3ds model. Any programs that can group frames of a model?

I'm trying to import it as a wavefront.obj. I model using Ulead Cool3D which is real easy but wont export multiple frames. If I could figure how to import a different frame of the model into each frame of Animator that would be awesome. Still foggy on Milkshape if there is a way to do it with that. Thanks for any info. pac1


Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.


  • 0

#12 PoniesForPeace

PoniesForPeace

    puzzling

  • GMC Member
  • 493 posts
  • Version:GM:Studio

Posted 17 June 2012 - 01:21 AM

I did try to import a 3ds model which imported fine but my program wont import frames of the 3ds model. Any programs that can group frames of a model?


I'm trying to import it as a wavefront.obj. I model using Ulead Cool3D which is real easy but wont export multiple frames. If I could figure how to import a different frame of the model into each frame of Animator that would be awesome. Still foggy on Milkshape if there is a way to do it with that. Thanks for any info. pac1


Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.

what exactly is your end purpose?
  • 0

#13 pac1jpsnet

pac1jpsnet

    GMC Member

  • GMC Member
  • 32 posts

Posted 26 June 2012 - 04:38 AM

I want to find a way of exporting several frames of my model and calling those frames in the Step Event. The problem is I cannot find a program that allows me to take multiple frames of a 3ds object and prefer not to get spendy with more expensive programs that might allow this. I might just be best to try to take the 3ds and import it into animator and just learn to attach the bones and create animation that way as a cheaper alternative. I know if I just keep experimenting with it I will get the hang of it but which there just was a nice paperback book with examples that are easy to follow. Guess will just keep tinkering. Thanks for any ideas and new info you may come across.
pac1



I'm trying to import it as a wavefront.obj. I model using Ulead Cool3D which is real easy but wont export multiple frames. If I could figure how to import a different frame of the model into each frame of Animator that would be awesome. Still foggy on Milkshape if there is a way to do it with that. Thanks for any info. pac1

Are you trying to convert a 3ds into md2? If not, some good animation programs are Milkshape, Blender, and anim8or.



what exactly is your end purpose?
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users