# Vector displacement in SP3

**URL:** <https://forums.chaos.com/t/vector-displacement-in-sp3/20045>\
**Category:** General\
**Created:** [March 8, 2009, 7:58pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045 "2009-03-08T19:58:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [March 8, 2009, 7:58pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/1 "2009-03-08T19:58:35Z")

</div>

What is the reason the new vector displacement is not compatible with normal maps and vector displacement maps of modo.

After some test i think the system of rgb level of 0 = 0 displacement in all channels is best.

---

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [March 8, 2009, 8:30pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/2 "2009-03-08T20:30:00Z")

</div>

A good explanation of how Vector displ. works would be very useful.  
And the vray vector displ. bake material, please.

---

<div class="post-metadata">

**Author:** ![Da\_elf](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/da_elf/32/44038_2.png) [@Da\_elf](https://forums.chaos.com/u/Da_elf)\
**Post date:** [March 8, 2009, 11:32pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/3 "2009-03-08T23:32:06Z")

</div>

ok im probably wrong on what color does what. but it seems vector displacement looks at an RGB image and uses like green to tell if its positive or negative in Z. red for positive or negative in X and blue for positive or negative in Y. with all 3 in the center being mid grey as neither of any direction

---

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [March 9, 2009, 12:27am UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/4 "2009-03-09T00:27:33Z")

</div>

In my tests it seems like channel red is for X, green is for Y and blue for Z. And i think X and Y takes mid gray as zero value and Z takes black as zero. Is it right?

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [March 9, 2009, 9:36am UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/5 "2009-03-09T09:36:21Z")

</div>

> [@gagui](#):
>
> In my tests it seems like channel red is for X, green is for Y and blue for Z. And i think X and Y takes mid gray as zero value and Z takes black as zero. Is it right?

Red is for U direction, green is for V direction, blue is for the normal direction. The neutral value for red and green is 0.5, for blue - 0.0f (you can adjust this with the shift though).

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [March 9, 2009, 9:37am UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/6 "2009-03-09T09:37:18Z")

</div>

> [@gagui](#):
>
> After some test i think the system of rgb level of 0 = 0 displacement in all channels is best.

You need negative values. Many image file formats do not work with these.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![pg1](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pg1](https://forums.chaos.com/u/pg1)\
**Post date:** [March 12, 2009, 2:24pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/7 "2009-03-12T14:24:41Z")

</div>

for those who might have missed it this link was posted in another thread  
[http://www.etereaestudios.com/training\_img/relief\_maps/relief\_maps\_2.htm](http://www.etereaestudios.com/training%5C_img/relief%5C_maps/relief%5C_maps%5C_2.htm)  
and gives a pretty good explanation of vector displacement  
its in spanish

first time I opened this page it was translated to english, not sure how…  
think google did it

anyway has lots of pics

---

<div class="post-metadata">

**Author:** ![MasterBercon](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/masterbercon/32/25902_2.png) [@MasterBercon](https://forums.chaos.com/u/MasterBercon)\
**Post date:** [March 12, 2009, 7:35pm UTC](https://forums.chaos.com/t/vector-displacement-in-sp3/20045/8 "2009-03-12T19:35:39Z")

</div>

Well the bottom vector displacement images do show what you can do with it but that page also contains some incorrect information.

First, you don’t use Ambient Occlusion to render out Bumpmap, you use Z Depth and the results are pretty much identical to using Normal map.

Second, normal maps DO NOT contain Z information, they contain only “XY”, the direction of normal. If you add Z in it then its for Parallax/Offset mapping, kinda like fake displacement mapping.

Third, it should be made clear that Normal maps have NOTHING, absolutely NOTHING to do with Vector Displacement, they are totally useless with it. Both use colorful pictures but thats it.
