Hello,
I'm wondering if anyone knows how to create texture projections from camera. Onto existing USD asset. I have some scorch marks that I need to project, but can't find anything in the docs on how to do this with Karma and MaterialX.
Any suggestions?
regards
stefan
Texture Projections from camera
1571 5 2- StefanA
- Member
- 51 posts
- Joined: Oct. 2019
- Offline
- Scribbler
- Member
- 11 posts
- Joined: April 2017
- Offline
I've been trying to get this to work recently.
I've figured out the camera frustum projection using regular MaterialX nodes, and it's working in a UE5 material, so I'm < fairly > sure it'll work here, too.
Requires feeding in the camera vectors (FWD, RIGHT, UP), which I haven't figured out how to do automatically from a camera in the scene. This might make the workflow pretty irritating.
.hip of my current progress is attached if it helps
I've figured out the camera frustum projection using regular MaterialX nodes, and it's working in a UE5 material, so I'm < fairly > sure it'll work here, too.
Requires feeding in the camera vectors (FWD, RIGHT, UP), which I haven't figured out how to do automatically from a camera in the scene. This might make the workflow pretty irritating.
.hip of my current progress is attached if it helps
- jsmack
- Member
- 7658 posts
- Joined: Sept. 2011
- Online
- StefanA
- Member
- 51 posts
- Joined: Oct. 2019
- Offline
- jsmack
- Member
- 7658 posts
- Joined: Sept. 2011
- Online
StefanA
Thank you! It works, though a bit hacky. I hope that h20 will come with a node ( or combo of nodes ) which this is implemented.
all the best!
stefan
19.5 is when they added it. I made a mistake in my setup when using a camera projection that I thought was a bug. The space needs to be specified as space_name:ndc for a perspective camera projection.
- tamte
- Member
- 8446 posts
- Joined: July 2007
- Online
-
- Quick Links