Results 1 to 6 of 6

Thread: Warehouse 3D comments

Threaded View

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

    Warehouse 3D comments

    Excellent Simone!,

    just one idea - I guess the palettes are standardized shapes, all same looking.
    So maybe you could create display list of palette and use that, instead of box.

    This will have tiny impact on performance on good NVIDIA and ATi cards, but Intels could be happier with display lists, even with such a simple object.

    If you define list as:
    TBGL_NewList %lCubo
     TBGL_Box 1, 1, 1
    TBGL_EndList
    
    ... so without any specific color/texture, you can then still post process it via TBGL_EntitySetColor to make each box look differently.

    I attach code for you here.
    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

Similar Threads

  1. Warehouse 3D: sources
    By Simone in forum Project: 3D Warehouse
    Replies: 2
    Last Post: 28-01-2009, 10:03

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
  •