Results 1 to 3 of 3

Thread: Comments and other keys

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

    Comments and other keys

    Hi Petr,

    as I'm working on a B3d -> M15 converter I have a few questions:

    1) Can comments in the M15 file appear at anyline, as long they start at the beginning of a line? If yes, would this disturb thinEdge?

    2) If I add new keys to a M15 file, like below, would that distrub thinEdge or the normal loading routines of TBGL?

    BONE,3,Joint3,2,2.840265,0.152216,0.000000,0.000000,0.000000,0.000000
    
    This question are more based on curiousity as I plan to have separate files for the bone->Vertex definition and also the animation keys. This way animation could easily be shared as long as the bone structure is the same.

    Michael

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

    Re: Comments and other keys

    Hi Mike,

    #1 Yes, you can add it at any line, except first thinEdge and TBGL loader should not be disturbed at all, they take care of POLY,... lines and few others. If the line does not match, it is skipped. Better to insert comments aftwer "//" or similar special character.

    Dark side is that if you load such a "tuned" file and save in thinEdge, this extra information will get lost.

    #2 Again, no problem. When we arrange this, I can widen the M15 specs and update the specification PDF. What do the parameters mean?


    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

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

    Re: Comments and other keys

    Right now it means

    BoneID, BoneName, ParentID, xpos, ypos, zpos, xrot, yrot, zrot.

    But it isn't carved in stone.

Similar Threads

  1. /* Comments */
    By Charles Pegge in forum O2h Compiler
    Replies: 0
    Last Post: 21-07-2009, 13:17

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
  •