Results 1 to 10 of 10

Thread: Animations in TopDown

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Animations in TopDown

    Hi,

    animations in TopDown3D are quite important topic.
    Using AVI we will have terrific visuals but also double work with characters, using TBGL internal functions on other side smaller size but lot of extra coding

    To give you idea of TBGL animating capabilities please see my brief tutorial.

    You can download script and see how it runs as well as krytons cinema version

    Note - Best viewed in room without windows / at night, else it is little bit too darky.


    Bye,
    Petr

    P.S. It is older sample but I did not waned to let it lie on harddisk, especially because of krytons remix
    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

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Animations in TopDown

    Terrific example Petr.
    I suggest all to visit Petr forum and download the example.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Animations in TopDown

    Very nice example. For mechanical models very good.

  4. #4
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Animations in TopDown

    For meshes, where the limbs are initialy connected, you will see gabs between the faces depending on the angle of the corresponding limbs. I think that it has something to do with how you store the vertex position for each face seperate. Looking at the setup of a model file, I think you do.

    Like I mentioned before that this is redundant data storage, it also gives you a big problem for animation of meshes with a continues skin. Maybe I' wrong, I don't know the insides of TBGL that well (actually nothing of it)

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Animations in TopDown

    Hi Mike,

    Using this layer definition it is simply per block, so gaps appear, I know it.
    But if you define the bones using boxes ( one vertice can be in multiple bones ) no gaps appear.

    To see it please see attached script, the guy is hole less
    Only problem is how to get which vertices are controlled by which bone, if it would be possible to rig character in for example Blender ( as you suggested on messenger ) and then pass it ... we would be done
    I would just add TBGL_DefBoneAddVertex or something like that.


    Bye,
    Petr

    P.S. You are right about redundancy in some cases :-[, but on other side it gives more freedom on vertex color for example
    P.P.S. I know my animation makes people wonder if the guy does have some health problems
    Attached Files Attached Files
    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

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Animations in TopDown

    Evere now and than you come out with such a present.
    I cannot imagine how many scripts you have already created
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Animations in TopDown

    Great I will have to study the code so I can see how bones work in this. Looks great!

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Animations in TopDown


    thanks
    Trick is in overlaping the bounding boxes.

    Bye,
    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

  9. #9
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Animations in TopDown

    Quote Originally Posted by Psch

    thanks
    Trick is in overlaping the bounding boxes.

    Bye,
    Petr

    Of course they have to

  10. #10
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: Animations in TopDown

    AMAZING!! And such nice demos too besides the abilities shown!!
    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

Similar Threads

  1. Story telling, animations
    By Petr Schreiber in forum Game general
    Replies: 11
    Last Post: 08-03-2007, 22:47

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
  •