Jump to content


Photo

MD2 with game maker


  • Please log in to reply
27 replies to this topic

#21 Enewwss

Enewwss

    GMC Member

  • New Member
  • 26 posts

Posted 10 August 2010 - 10:18 PM

Now the object is turning on "the" z axis not its own z axis.
  • 0

#22 orange451

orange451

    GMC Member

  • GMC Member
  • 995 posts
  • Version:GM8

Posted 10 August 2010 - 10:21 PM

Now the object is turning on "the" z axis not its own z axis.


Can I see your source?
  • 0

#23 Enewwss

Enewwss

    GMC Member

  • New Member
  • 26 posts

Posted 10 August 2010 - 10:33 PM

Im sending it on personal message...
  • 0

#24 Zeond Games

Zeond Games

    Tactical Recon Developer

  • GMC Member
  • 114 posts
  • Version:GM8

Posted 11 August 2010 - 03:10 PM

Wow what happened to the people that use u3d which can use raw .md2 models with animtion, also it can use .an8 .3ds and .x models try it out.
  • 0

#25 link3000

link3000

    Link3000

  • GMC Member
  • 1129 posts
  • Version:GM8

Posted 11 August 2010 - 05:14 PM

Zeond, stop spamming. This forum is for the discussion of native 3D in Game Maker, not the promotion of external 3D DLLs. D3D can be pretty impressive if you can work with it correctly.
  • 0

#26 iceshield

iceshield

    GMC Member

  • GMC Member
  • 393 posts

Posted 17 August 2010 - 10:18 AM

this is exactly what I wanted . just a simple 3d animated object loader without any extra dlls
good work orange
I will start making a 3d game now :) . but first I need to look over some d3d tutorials ...

about the rotation , i think the rotation doesn't work well because the imported md2 character and the camera share the same object , but this is just an opinion from an unexperienced d3d coder
  • 0

#27 orange451

orange451

    GMC Member

  • GMC Member
  • 995 posts
  • Version:GM8

Posted 17 August 2010 - 05:32 PM

d3d_transform_set_identity()
d3d_transform_set_scaling(-1,1,1)
 d3d_transform_add_rotation_z(direction)
d3d_transform_add_translation(x,y,z)
d3d_model_draw(internalFrame[mframe],0,0,0,background_get_texture(background0))
d3d_transform_set_scaling(1,1,1)
d3d_transform_set_identity()


Before, I accidentally put the rotation after translating the object. This code should work.
  • 0

#28 orange451

orange451

    GMC Member

  • GMC Member
  • 995 posts
  • Version:GM8

Posted 10 September 2010 - 09:50 AM

I'm just going to bump this thread. Nothing useful has been added, but I feel people should see this! (and no one travels to the 4th page)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users