Daniel Rivas Perpen
perpen
About Me
EXPERTISE
Hobbyist
INDUSTRY
Film/TV
Connect
LOCATION
United States
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Building fromNDC function for OpenCL Dec. 20, 2020, 6:21 p.m.
Hi,
I am trying to recreate the fromNDC VEX function in OpenCL. I successfully did this with the toNDC function following Mario's tutorial [www.sidefx.com]
However, I cannot seem to get fromNDC to work. Basically I invert the multiplication of the 2 matrices (cam and perspective projection) and then multiply it by the vector4 of the NDC coordinates, assuming 0 to 1 normalization.
Attached a project file with 2 wranglers, one with the fromNDC VEX function working properly and the other with my non working attempt.
Thanks!
I am trying to recreate the fromNDC VEX function in OpenCL. I successfully did this with the toNDC function following Mario's tutorial [www.sidefx.com]
However, I cannot seem to get fromNDC to work. Basically I invert the multiplication of the 2 matrices (cam and perspective projection) and then multiply it by the vector4 of the NDC coordinates, assuming 0 to 1 normalization.
Attached a project file with 2 wranglers, one with the fromNDC VEX function working properly and the other with my non working attempt.
Thanks!
Image Not Found
Outside in normals May 6, 2020, 12:59 p.m.
Oh man, thanks a lot!
Outside in normals May 5, 2020, 8:56 p.m.
Hi,
I am trying to render the “inside” of a geometry in Unity. It all looks good in the HDA in Houdini (left) but then in Unity the normals seem inside out. Any idea where is the issue?
Thanks!
I am trying to render the “inside” of a geometry in Unity. It all looks good in the HDA in Houdini (left) but then in Unity the normals seem inside out. Any idea where is the issue?
Thanks!