Page 1 of 1

Vector displacement from Height Map values ?

Posted: Thu Jun 23, 2022 3:08 am
by Creative_Sheep
How can I load height data into Standalone then take this data and use specific values from this as to control the direction and amount of a vector displacement ?

Re: Vector displacement from Height Map values ?

Posted: Thu Jun 30, 2022 6:10 pm
by jobigoud
Can you clarify what you want to do with an example?
You can take the height map and plug it into an OSL shader. The OSL shader can read the height values and produce a displacement vector based on the height. Is this what you want to do?

Re: Vector displacement from Height Map values ?

Posted: Sat Jul 02, 2022 10:48 am
by Creative_Sheep
jobigoud wrote:Can you clarify what you want to do with an example?
You can take the height map and plug it into an OSL shader. The OSL shader can read the height values and produce a displacement vector based on the height. Is this what you want to do?
What you described is what I want to do. Take a value from the height map, then use that value to create a vector displacement vector. In other words, if I have a height map and in that height map is this arbitrary value of 0.45347; I want that value as a vector displacement value so that when rendered or combined with the height map that specific value is converted to a vector displacement value and renders as a vector displacement with the height map.