Backplate issue SOLVED

Forums: Backplate issue SOLVED
Houdini Integrated Plugin

Moderator: juanjgon

Backplate issue SOLVED

Postby quadcat » Tue Jun 18, 2019 6:37 am

quadcat Tue Jun 18, 2019 6:37 am
octane 2018.1.3.0
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
(1.56 MiB) Downloaded 32 times
Licensed Customer
Licensed Customer
Posts: 2
Joined: Wed Aug 16, 2017 4:14 am

Re: Backplate issue SOLVED

Postby juanjgon » Tue Jun 18, 2019 4:05 pm

juanjgon Tue Jun 18, 2019 4:05 pm
Great! Yes, this is a nice example of how a simple OSL projection shader can help with this task. Thanks for sharing your solution.

Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
Octane Plugin Developer
Octane Plugin Developer
Posts: 7127
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Return to Houdini

Who is online

Users browsing this forum: No registered users and 4 guests

Wed Dec 11, 2019 8:04 pm [ UTC ]