diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-09 00:10:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-09 02:15:17 +0300 |
commit | e45ebec335f4b13835bce2c21aeb4ecd8726a02a (patch) | |
tree | 35fe268c57572f3de7283fccc8c51004517675dd /source/blender/makesdna | |
parent | 974c0cc7b68da305a21c551c4298e38940e301ad (diff) |
Probes: Add more parameters.
Add Min Max for box, and distance for sphere falloff.
Same for parallax.
Add clip distances.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_probe_types.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_probe_types.h b/source/blender/makesdna/DNA_probe_types.h index 0ade10282f6..451acdca06e 100644 --- a/source/blender/makesdna/DNA_probe_types.h +++ b/source/blender/makesdna/DNA_probe_types.h @@ -48,19 +48,27 @@ typedef struct Probe { char display; /* Probe visual appearance in the viewport */ char parallax; /* Parallax type */ - float dist; /* Influence radius or distance */ + float distinf; /* Influence Radius */ + float mininf[3]; /* Influence Bound Box */ + float maxinf[3]; + float falloff; /* Influence falloff */ - float pad; - struct Object *parallax_ob; /* Object to use as a parallax volume */ + float distpar; /* Parallax Radius */ + float minpar[3]; /* Parallax Bound Box */ + float maxpar[3]; + + float clipsta, clipend; + + struct Object *parallax_ob; /* Object to use as a parallax origin */ struct Image *image; /* Image to use on as lighting data */ } Probe; /* Probe->type */ enum { - PROBE_CAPTURE = 0, + PROBE_CUBE = 0, PROBE_PLANAR = 1, - PROBE_CUSTOM = 2, + PROBE_IMAGE = 2, }; /* Probe->display */ |