Detail prop shapes and sway

Discussion in 'Implemented' started by Varbles, Feb 9, 2012.

Thread Status:
Not open for further replies.
  1. Varbles

    Varbles Simply Maptastic. Staff Member

    Messages:
    2,093
    Likes Received:
    26
    Trophy Points:
    0
    Shapes and sway for detail props is already available in the sdk source code, and it's an extremely simple task to enable them, apparently. It would be nice to be able to use this functionality to make more interesting and better looking detail props for materials.
    Info can be found here: https://developer.valvesoftware.com/wiki/Detail_prop#Shapes

    It'd be cool if we could do a few more advanced things in the future with detail props too, such as erasing ones underneath buildings and turrets.
     
  2. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    we can make ghost rocking horses?
    Pictures that move??? (hands that wave)
     
  3. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    [​IMG]Warning: Shapes place more load on the GPU, while sway places more load on the CPU. Use both as sparingly as possible. (The Dear Esther team have developed GPU-accelerated sway which is faster and more realistic, but their code is unreleased.)

    Hmm..
     
  4. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    gpu should be fine, so at least shapes are an option ...
     
  5. Varbles

    Varbles Simply Maptastic. Staff Member

    Messages:
    2,093
    Likes Received:
    26
    Trophy Points:
    0
    "Excessive use" of detail sprites/props boils down to two things: the density and the fade distance. Assuming the mapper understands a few basic things I'm sure shapes and sway will not have any noticeable performance effect. I believe you can disable them for dx<9 cards, too.
     
  6. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    isnt dx9 mandatory now anyway?
     
  7. Varbles

    Varbles Simply Maptastic. Staff Member

    Messages:
    2,093
    Likes Received:
    26
    Trophy Points:
    0
    hopefully it is
     
  8. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    I've activated these shape thingies for the next RC
     
Thread Status:
Not open for further replies.

Share This Page