question

Cg Xiao avatar image
Cg Xiao asked ·

htoa render camera background image problem

htoa粘贴相机背景,使不出来。 但玛雅粘贴相机背景地图容易呈现出来。

arnold5
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.

Frederic Servant avatar image
Frederic Servant answered ·

Hi Martin,

That's expected because the UVs only depend on the screen position. The easy workaround is to project the texture on actual geometry.

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.

Frederic Servant avatar image
Frederic Servant answered ·

Hi,

The native camera background image parameter is not supported at the moment, I've created this ticket to follow up.

You can however achieve the same effect with a background shader, attaching corresponding sample scene:


background.jpg (389.6 KiB)
backgroundhip.zip (46.8 KiB)
2 comments 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.

Thank you for your help.

0 Likes 0 · ·

Thank you for your help.

0 Likes 0 · ·
Greg Hughes avatar image
Greg Hughes answered ·

@Frederic Servant: Your method fails when you add an Arnold shader to the objects since the background image then shows through.

1 comment 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.

@ You mean the background shows through an object like glass? You can make the background not-visible to transmission rays

0 Likes 0 · ·
Frederic Servant avatar image
Frederic Servant answered ·

This is expected with a background shader as the UVs just depend on the screen position. A workaround is to use actual geometry with a camera projection shader.

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.

Martin Kindl avatar image
Martin Kindl answered ·

with sky and assigned texture

with your setup


01.jpg (379.9 KiB)
02.jpg (444.9 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.

Martin Kindl avatar image
Martin Kindl answered ·

Hi Fred. Im having problems with this setup. I have glass refractive thingy that is suppose to refract the BG image. Seems like the BG image might be partially in front of the refractive object? Is there option how to set where the BG image is in terms of depth to camera?

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.