Results 1 to 8 of 8

Thread: Bone deformation and entities

  1. #1

    Bone deformation and entities

    Hi Petr,

    how can I do different bone animation of 2 entities, that where created from the same M15 model?

    Michael

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Bone deformation and entities

    Hi Mike,

    bones were created in pre-entity times. That means - using classic way, it was possible to do TBGL_ResetBones / setup animation /TBGL_ApplyBones for each game object. Using entities this complicates a bit - you would have to create multiple
    "scenes", and execute them separately

    I am even thinking of creating entity of type "bone", to handle this problem ???


    I am sorry,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3

    Re: Bone deformation and entities

    That's ok. But we definately need a solution for this.

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Bone deformation and entities

    I know,

    but I would need more time, "quick fix" would not be solution.
    In B3D the animation is evaluated on the fly from bone rotations, or using keyframe interpolation?


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #5

    Re: Bone deformation and entities

    Each bone as keyframes for position, scale and rotation. Inbetween they get interpolated between the last key and the next key. Take your time.

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Bone deformation and entities

    So file stores setup of bones at each time, but not the precalculated keyframes ( of vertex positions )?

    Thanks for information!,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  7. #7

    Re: Bone deformation and entities

    No precalculated postions of vertices. Just the bone info is stored with position, scale and Rotation for n-keyframes.

    Give me a few more days, as I have the converter done allready. But I wanna pack this into a gui. Also I would like to automate the horizontal flipping and file format conversion of the textures. After that I will work on the playback routines. A litte blackhole for me is the playback regarding the FPS. I have keyframes at certain framenumbers. I have an FPS base for the animation. Some models use 60 FPS, some 24, etc.. So I have to read up and experiment on how I can replay the animation with this info. One thing I know is that I will use linear interpolation.

  8. #8
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: Bone deformation and entities

    Sounds like some cool magic is around the corner!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •