Redshift Camera Focus Distance

   3000   0   0
User Avatar
Member
5 posts
Joined: Nov. 2016
Offline
Hi! I need some advice, please.
I animated a camera and want the focus distance to be independent from this animation. I technically got it to work with the help of the following tutorial: https://www.youtube.com/watch?v=aNcin7WwKPw [www.youtube.com]

Summary of that 3 minute tutorial:
1. Using add sop create a point
2. copy relative references of camera's transform to the point
3. create another point using the add node and merge the two points
4. create another add node after the merge and go to polygons, then by group. This will create a line between the first and second point.
5. create a measure sop and set type to perimeter
6. attribute promote and promote perimeter to detail
7. on cameras focus distance use the detail hscript expression, it should look like this: detail(“/obj/geo1/attribpromote1/”, “perimeter”,0)

As I scrub through the timeline, I see that it is technically working, because the Focus Distance of my camera varies.

The problem is, that I can not get it to work with Redshift. I pasted the expression into the Redshift Focus Distance and the Cameras own Focus Distance, but none of them works in the renderview. The Focus doesn't change in the renderview, but it changes in the field where i pasted the expression. My thought is, that maybe Redshift is not able to pick up the data from this expression?

Please excuse my bad english.
Greetings from Germany.
  • Quick Links