1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to create Sky in 3D games

Discussion in 'Game programming' started by danyald, Dec 6, 2010.

  1. danyald

    danyald New Member

    Joined:
    Aug 2, 2010
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    0
    Home Page:
    I am going to build a 3d racing game but i failed to make sky. Can anyone tell me that how can i create sky in game
    Please tell me some methods or tricks for creating sky.
    Also can anyone give me example program which is compile-able so that i can easily understand
     
  2. livinmanavalan

    livinmanavalan Banned

    Joined:
    Dec 6, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Why cant you use the blue color background as sky?
     
  3. mialuzzatto

    mialuzzatto New Member

    Joined:
    Aug 5, 2015
    Messages:
    122
    Likes Received:
    4
    Trophy Points:
    0
    Occupation:
    Work at https://www.idevelopersquare.com
    Location:
    Waltham, MA, USA
    Home Page:
    Hello,

    In order to render the skysphere, we will create a new rendering class similar to the one used to render the fish, but modified to allow the model to render without an armature structure in place. First, create a new class file by right clicking on your project, selecting 'Add'/'New Item' and selecting 'Class'. Change the class and file name to 'GenericModelRenderer'.
     

Share This Page