How can I hide the Skydome light in the view port and still have it affect the render?

How can I hide the Skydome light in the view port and still have it affect the render?

lee_griggs
Autodesk Autodesk
45,531 Views
14 Replies
Message 1 of 15

How can I hide the Skydome light in the view port and still have it affect the render?

lee_griggs
Autodesk
Autodesk
 
Lee Griggs
Arnold rendering specialist
AUTODESK
0 Likes
Accepted solutions (1)
45,532 Views
14 Replies
Replies (14)
Message 2 of 15

lee_griggs
Autodesk
Autodesk

You can set the Sky Radius to 0 in the Viewport attributes of the Skydome light. An easier thing to do is add the following to a hotkey:

setAttr "aiSkyDomeLight1.skyRadius" 0;

As this is a frequently asked question we have provided both the question and answer in this thread.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 15

Michael_Todd
Alumni
Alumni

You can also not show lights in the VP.



Michael Todd

XGen Product Owner and Designer

0 Likes
Message 4 of 15

ece3k
Contributor
Contributor

This worked to hide the sky dome in the viewport but it still rendered for me in the renderer.

How do we see it in viewport but it doesn't visibly render as a background?

0 Likes
Message 5 of 15

lee_griggs
Autodesk
Autodesk

You can disable Camera Visibility.

Lee Griggs
Arnold rendering specialist
AUTODESK
0 Likes
Message 6 of 15

darioOrtisi
Collaborator
Collaborator

@Lee on the transform node of the Skydome. "Display" set LOD visibility to off(flag check off)

0 Likes
Message 7 of 15

Anonymous
Not applicable

It depends on what renderer you are using, I'm going got assume that you are using Arnold, select the skydome light and then in attributes section find the 'Arnold' section and set the 'Camera' scroll bar to 0. This will prevent Arnold form rendering your hdri in the view but it will still be used to light the view. Hope it helps : )

Message 8 of 15

l.croisez
Community Visitor
Community Visitor

Kevin je t'aime

0 Likes
Message 9 of 15

ahmed_awad
Not applicable

Change Value of Camera from 1 to 0


7909-1597746751381.png

Message 10 of 15

lee_griggs
Autodesk
Autodesk

That actually hides it in the render. Setting the sky_radius to 0, hides it in the viewport.

7931-1597747072697.png

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 11 of 15

a.mansour.vfxcomp
Explorer
Explorer
I had to sign up only to give you a thumb up

Thank you so much

0 Likes
Message 12 of 15

luisandro.garza
Enthusiast
Enthusiast
Accepted solution

under the light shape, under visibility turn the camera to 0 and the background won't render. 

Message 13 of 15

LeslieHe
Explorer
Explorer

Thanks, it worked.

Message 14 of 15

luisandro.garza
Enthusiast
Enthusiast

Glad to help.

0 Likes
Message 15 of 15

zoharl
Contributor
Contributor

display> object display> template

 

Edit: doesn't render..

0 Likes