Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Rendering Game tokens like in Card Dungeon?

  1. #11
    very nice idea and nice graphics, thanks, i suggest also the possibility to scale the m15 model so it is very thin, such as adding:
    TBGL_Scale 0.01, 1, 1
    before:
    tbgl_m15DrawModel 1
    in example TBGL_AnimatedCubes.tbasic inside the thinbasic folder
    so it appears as flat and very funny. this is if there is no 2D shapes available.
    but i guess there should be some care in texturing else it may flicker.
    at the beginning of that Cubes.m15 model in the TBGL_AnimatedCubes example there is:
    VERTEXNUM,64
    TEXLIST,kp4_LedKonzistentni.bmp
    so can we texture it with TEXLIST,kp4_LedKonzistentni.png . or this feature not available yet.
    thanks Petr for all your efforts.

  2. #12
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,138
    Rep Power
    733
    Hi Primo,

    I will make SmartTexture.tbasicu part of m15 solution, but before that I need to solve a few more important problems in the solution.
    But yes, it should make it possible to use BMP/TGA/JPG/PNG for textures

    Mike! Thanks! Very nice monsterito The unit is called smartTexture.tbasicu, and you can download it from here: https://github.com/petrSchreiber/SmartTexture/releases/
    (as described in dedicated forum post: http://www.thinbasic.com/community/s...exture-loading).
    Image on second side should not be a problem at all, if you won't crack it in the meantime, I will check once I have a free evening.
    Last edited by Petr Schreiber; 29-03-2016 at 06:53.
    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. #13
    Thanks Petr,

    its a cyclops from a game I am working on. Btw. I got the backside rendering the image too. Like you said, very easy... once you know how :-) Thanks for the initial code and smart texture module.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. TBGL module from Petr Schreiber BimBom - card game
    By ReneMiner in forum TBGL Scripts and Projects
    Replies: 4
    Last Post: 13-04-2014, 22:44
  2. TBGL module from Petr Schreiber Argument - card game
    By ReneMiner in forum TBGL Scripts and Projects
    Replies: 1
    Last Post: 08-04-2014, 18:39
  3. Article: Beyond TBGL: Offscreen rendering, why and how?
    By Petr Schreiber in forum vBCms Comments
    Replies: 14
    Last Post: 18-02-2013, 20:12
  4. how to control rendering contrast
    By Eggman in forum TBGL General
    Replies: 7
    Last Post: 17-01-2010, 09:49
  5. Next thinBasic: how numeric tokens are stored internally
    By ErosOlmi in forum thinBasic vaporware
    Replies: 14
    Last Post: 12-07-2008, 16: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
  •