question

Scott Crawfored avatar image
Scott Crawfored asked ·

c4d camera projection on volume breaking

Hi Im having some trouble with camera projection on volumes.


I am using a camera projected ramp to control the falloff of a noise displacement.


There is a camera named projector being used in the projection node and everything looks fine through that camera. However when I create a render camera and move it around it is as though the ramp is being reprojected through whatever camera I am rendering through. If i use the same setup on a non volume in the same scene it works as expected, so it seems it could be a bug with volumes??


I included some screenshots and the file below. As you can see when the object is placed on the right side of the screen it falls apart even though it is being rendered by a different camera than the one doing the projection.

head.zip



Going a little crazy trying to troubleshoot this so thought I would post here. Any help appreciated.

volumes
head2.jpg (103.6 KiB)
head3.jpg (90.3 KiB)
head4.jpg (98.6 KiB)
head.zip (645.2 KiB)
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Scott Crawfored avatar image
Scott Crawfored answered ·

Heres a simpler scene with the same issue. Just projecting the ramp into volume scatter color this time so feedback is faster. The projection always switches to whatever camera im rendering from regardless of whats specified in the projection node.


head2.zip


head2.zip (462.4 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Scott Crawfored avatar image
Scott Crawfored answered ·

Yea i realized the tutorial I was watching had an incorrect way of using the camera projection node. Thanks for the help

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

Looking at your scene it seems like you misuse the camera projection shader. Instead of connection the camera_projection to the ramp, you have to connect the ramp to the camera_projection Projection Color. Like here: https://docs.arnoldrenderer.com/download/attachments/39715156/image2017-4-11%2013%3A35%3A38.png?version=1&modificationDate=1491910540000&api=v2

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

Thanks for the repro! It either seems like a bug or a limitation of the camera projection shader regarding volumes. We're taking a look.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.