SideFX Houdini per pixel surface position and normals through whole scene
up vote
0
down vote
favorite
how can I get per pixel all surface positions and normals of the whole scene.
I don't want to stop at the first hitten surface. I need to get information about all object.
For example a cube is in front of the sphere. The camera position just shows the cube - the sphere gets at that camera position by the cube. My output of every pixel position of my camera rendered image data gives me information of the surface position in world space and the normal of the cube at the first hit. Then again for the other side of the cube. Then the two surfaces of the sphere.
How can that be achieved?
Thanks
shader scene surface normals houdini
add a comment |
up vote
0
down vote
favorite
how can I get per pixel all surface positions and normals of the whole scene.
I don't want to stop at the first hitten surface. I need to get information about all object.
For example a cube is in front of the sphere. The camera position just shows the cube - the sphere gets at that camera position by the cube. My output of every pixel position of my camera rendered image data gives me information of the surface position in world space and the normal of the cube at the first hit. Then again for the other side of the cube. Then the two surfaces of the sphere.
How can that be achieved?
Thanks
shader scene surface normals houdini
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
how can I get per pixel all surface positions and normals of the whole scene.
I don't want to stop at the first hitten surface. I need to get information about all object.
For example a cube is in front of the sphere. The camera position just shows the cube - the sphere gets at that camera position by the cube. My output of every pixel position of my camera rendered image data gives me information of the surface position in world space and the normal of the cube at the first hit. Then again for the other side of the cube. Then the two surfaces of the sphere.
How can that be achieved?
Thanks
shader scene surface normals houdini
how can I get per pixel all surface positions and normals of the whole scene.
I don't want to stop at the first hitten surface. I need to get information about all object.
For example a cube is in front of the sphere. The camera position just shows the cube - the sphere gets at that camera position by the cube. My output of every pixel position of my camera rendered image data gives me information of the surface position in world space and the normal of the cube at the first hit. Then again for the other side of the cube. Then the two surfaces of the sphere.
How can that be achieved?
Thanks
shader scene surface normals houdini
shader scene surface normals houdini
asked Nov 19 at 14:38
TheT
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
In Vex, you can use intersect_all to get all the intersections along a ray, and gather information about the surface, such as normals, using primuv.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
In Vex, you can use intersect_all to get all the intersections along a ray, and gather information about the surface, such as normals, using primuv.
add a comment |
up vote
0
down vote
accepted
In Vex, you can use intersect_all to get all the intersections along a ray, and gather information about the surface, such as normals, using primuv.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
In Vex, you can use intersect_all to get all the intersections along a ray, and gather information about the surface, such as normals, using primuv.
In Vex, you can use intersect_all to get all the intersections along a ray, and gather information about the surface, such as normals, using primuv.
answered Nov 26 at 22:39
Tim Harding
899
899
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53376920%2fsidefx-houdini-per-pixel-surface-position-and-normals-through-whole-scene%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown