bepeg4d wrote:Hi bertritude.
till 3.07-R2, you need to use this XPresso and a Visible Environment node:
viewtopic.php?f=87&t=63808from 3.08, you can use the Calus's OSL script insted in the Projection node of the ImageTexture used in the Visible Environment node:
Screen Shot 2018-05-14 at 10.32.53.jpg
cameraEnvProjOSL.zip
ciao Beppe
Hello Beppe !
This is a great feature, and i was looking for ways to do this the whole day until i found this topic.
The only thing i'd like to add is that to be accurate with the dof values and results, it would be fantastic if some lines of code into the OSL, or some box to enter some value somewhere, could let us adjust the virtual distance of the backplate from the camera ( without changing its aspect ratio ) .... Because the subject pictured inside of the backplate isn't necessarily the same as the infinite distance used for this "environment texture" object.
>> this is important, to have an accurate dof result, a more or less correct distance from the subject to the camera used, and in relation to the objects in the scene. Then, the bokeh result would be adjustable with a lot more accuracy.
How could we do that please ? Thank you !