Results 1 to 4 of 4

Thread: Article: Entity data signature

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

    Article: Entity data signature

    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
    If all Entity ID's are system/scene wide unique why we need a signature ID also ?

    Joshy

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732
    Quote Originally Posted by D.J.Peters View Post
    If all Entity ID's are system/scene wide unique why we need a signature ID also ?

    Joshy
    We don't need them, but we can use them. It is good way to sign multiple entities - in one scene, you can have:
    %eOrange, %eApple, %eBanana, %eCarrot, %ePotato

    The %eOrange, %eApple, %eBanana have different entitiy IDs, but you could supply them the same signatureID, which would represent "fruit".
    The %eCarrot, %ePotato have different entitiy IDs, but you could supply them the same signatureID, which would represent "vegetable".

    The signature can be used for filtering out entities, which have something in common.
    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

  4. #4
    Thank you Petr for this good description.

    Now it makes sence for me.

    Joshy

Similar Threads

  1. New article on TBGL website covering entity data signing
    By Petr Schreiber in forum TBGL module by Petr Schreiber
    Replies: 4
    Last Post: 11-07-2010, 08:53
  2. New article on TBGL website covering function slot entity
    By Petr Schreiber in forum TBGL module by Petr Schreiber
    Replies: 4
    Last Post: 01-06-2010, 16:04

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
  •