1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The member Kam is making HIVE coasters. Take a look. For every coaster you buy, Hive gets $1.
    Dismiss Notice
  3. Buy it, use it, break it, fix it, trash it, change it, mail - upgrade it. Join (Optionally) Paired Techtree Contest #11 - Techno Magic now!
    Dismiss Notice
  4. Dismiss Notice
  5. Hero Contest #8 is up and running! This time it's a joint contest between artists and coders. Go here for team matchmaking.
    Dismiss Notice
  6. The ninth Concept Art Contest has launched. Enter now!
    Dismiss Notice
  7. Our first StarCraft contest, The Galaxy Terraining Contest #1 - World Wonders has started. Enter to show off your Galaxy Editor skills and win a custom rank icon among other things.
    Dismiss Notice
  8. Ever wanted to get your sets ready for fast texturing while still having fun? Now it is possible with our newest Mini-Texturing Contest.
    The Skeleton Units need your dire help!
    Dismiss Notice

Choppy gameplay

Discussion in 'Graveyard' started by Cobrajet127, Nov 6, 2011.

  1. Cobrajet127

    Cobrajet127
    Joined:
    Mar 23, 2010
    Messages:
    46
    I'm trying out another FPS and it is VERY choppy...
    Is there some sort of war to add a fog of war- with out the map itself being blacked out.
    There is a system that the game Halo Reach uses. It takes away detail from everything that is far away.
    World of Warcraft uses a certain unique fog of war that accomplishes the same thing.
    Skip to 1:59 in the youtube video http://www.youtube.com/watch?v=joNPrnY4K_4


    Any ideas that might help?
     
    Last edited: Nov 6, 2011
  2. Dr Super Good

    Dr Super Good
    Joined:
    Jan 18, 2005
    Messages:
    21,322
    Both of these are games designed for huge distance viewing thus their graphic engines handle it more efficiently. SC2 is designed for RTS viewing so you will never be able to get the performance in long distance views that other games have.

    The good news is that SC2 does include camera clipping. Just set the clipping distance for the camera you are using to something reasonable (like 10 or 20) and you should be fine.
     
  3. Cobrajet127

    Cobrajet127
    Joined:
    Mar 23, 2010
    Messages:
    46
    Where do I find this? In triggers?
     
  4. Dr Super Good

    Dr Super Good
    Joined:
    Jan 18, 2005
    Messages:
    21,322
    Code (Text):

    const int c_cameraValueNearClip         = 1;
    const int c_cameraValueFarClip          = 2;
    const int c_cameraValueShadowClip       = 3;

    native void         CameraInfoSetValue (camerainfo c, int type, fixed value);
    native fixed        CameraInfoGetValue (camerainfo c, int type);
     
    Like all cameras, this is logically done via galaxy script. This script can be generated via GUI or via camera objects set in the editor if you do not wish to write the script directly.

    I mentio near clip so you do not get confused. Near clip is the opposite of far clip and clips stuff infront of the camera. It should not be modiified as it prevents wierd visual artifacts if the camera ever mixes with geometry.

    Far clip and shadow clip govern the maximum distance from the camera which the appropiate content will be rendered. Smaller values boost performance. If values are too small the cutoff will become easilly noticable (the world will start to look like a early PS1/N64 game).
     
  5. Rispetto

    Rispetto
    Joined:
    Jul 1, 2009
    Messages:
    1,078
    Gogo retro games?