Delphi 3D Engine Question

Posted on 2007-10-16
Last Modified: 2011-09-20
Hi all,

I recently downloaded TrueVistion3D Engine 6.5 but there's no documentation yet.

I need to know how to load a skybox using delphi.

I've searched their forum but there's not much for delphi and 6.5 version so I was wondering if someone here knew how to do this.


Question by:ST3VO
    LVL 5

    Accepted Solution

    Here's how it's done:


     Atmos: TTVAtmosphere;


    Then you just do this:

        TexFactory.LoadTexture('.\sky\front.jpg', 'SkyBoxFront', -1, -1, TV_COLORKEY_NO, false),
        TexFactory.LoadTexture('.\sky\back.jpg', 'SkyboxBack', -1, -1, TV_COLORKEY_NO, false),
        TexFactory.LoadTexture('.\sky\left.jpg', 'SkyboxLeft', -1, -1, TV_COLORKEY_NO, false),
        TexFactory.LoadTexture('.\sky\right.jpg', 'SkyboxRight', -1, -1, TV_COLORKEY_NO, false),
        TexFactory.LoadTexture('.\sky\top.jpg', 'SkyboxTop', -1, -1, TV_COLORKEY_NO, false),
        TexFactory.LoadTexture('.\sky\bottom.jpg', 'SkyboxBottom', -1, -1, TV_COLORKEY_NO, false));

        //Enable the Atmosphere

    Don't forget to create it the object:

    atmos := TTVAtmosphere.Create(self);

    If you need more help just let me know.


    Author Comment

    Perfect!!! Thanks a million :o)


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now