houdini 17.5.173
The Backplate checkbox doesn't works as expexted.
When it is ON - input texture is appear but environment geometry represents as sphere, not as flat image.
May be I doing somthig wrong but it is seems as bug.
Also I tryed modify subnet of rendertarget - no success.
Could you check attached scene?
upd. so it seems like everything work correct. But placing flat texture on background reaching by diffirent way. How?
upd.2 SOLVED
1. from here viewtopic.php?f=21&t=65575
2. create *.txt with
- Code: Select all
shader CameraMap_env(
output point uvw = 0)
{
vector p = transform("camera", I);
float fov;
int res[2];
getattribute("camera:fov", fov);
getattribute("camera:resolution", res);
uvw[0] = 0.5 + 0.5 * p[0] / p[2] / tan(fov / 2) ;
uvw[1] = 0.5 - 0.5 * p[1] / p[2] / tan(fov / 2) * res[0] / res[1];
3. Go to octane render target (right click > allow edit content) and create PROJECTION OSL node
4. Load *.txt
5. Feed all interested Texture Imager nodes trough projection port - in Camera_Environment group for example