Daniel Rivas Perpen

perpen

About Me

専門知識
Hobbyist
INDUSTRY
Film/TV

Connect

LOCATION
United States
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Building fromNDC function for OpenCL 2020年12月20日18:21

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!

Image Not Found

Outside in normals 2020年5月6日12:59

Oh man, thanks a lot!

Outside in normals 2020年5月5日20:56

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!