Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
S3D : the devil's triangle
#5
(05-06-2024, 07:56 AM)johnno56 Wrote: Quick question(s): Can S3D handle animated models? If so, how is that done? Just curious...

It's just a quick answer(s)
  Big Grin Big Grin Big Grin

   
click image to zoom in

Code:
model = S3D_LoadMesh("assets/funchum/funchum.obj", 3, -3, 3, false)

' Add two frames.
S3D_LoadMeshFrame(model, "assets/funchum/funchum_walk_1.obj", 3, -3, 3)
S3D_LoadMeshFrame(model, "assets/funchum/funchum_walk_2.obj", 3, -3, 3)

' Blend to frames of the mesh.
S3D_BlendMesh(model, anim.frame0, anim.frame1, anim.blend)
Please refer to  ex5_adding_mesh_frames.n7  

For further details, Marcus has better explanation regarding frame by frame animation for sure.
Reply


Messages In This Thread
S3D : the devil's triangle - by 1micha.elok - 05-05-2024, 02:12 PM
RE: S3D : the devil's triangle - by Marcus - 05-05-2024, 03:01 PM
RE: S3D : the devil's triangle - by 1micha.elok - 05-06-2024, 01:34 AM
RE: S3D : the devil's triangle - by johnno56 - 05-06-2024, 07:56 AM
RE: S3D : the devil's triangle - by 1micha.elok - 05-06-2024, 08:45 AM
RE: S3D : the devil's triangle - by Marcus - 05-06-2024, 02:18 PM
RE: S3D : the devil's triangle - by johnno56 - 05-06-2024, 08:09 PM
RE: S3D : the devil's triangle - by 1micha.elok - 05-07-2024, 07:44 AM
RE: S3D : the devil's triangle - by Marcus - 05-07-2024, 07:19 PM
RE: S3D : the devil's triangle - by 1micha.elok - 05-08-2024, 07:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)