williamhhf wrote:CTZn, here is the photo i try to show you, im not good to explain, can u help me to check is that any wrong from the setting?
This looks to me like you have the faces in sketchup pointing the wrong way, ie the normals are reversed. The 'front' face of the exit portal should be pointing into the scene. Easy way to tell which way faces are pointing in sketchup is to go into 'styles' and change the face back colour to something really bright like a mad pink or something. That way its really obvious if you have faces pointing the wrong way. The default pale blue can be misleading.
I ran through some test scenes trying to recreate your problem - the only one that looks like yours is if the face forming the exit portal is facing the wrong way. If you have the environment set to SUN & SKY then light still enters through the portal, albeit in a slightly odd way. If you then set the environment to and Environment Map like you have done, notice it renders black. I had to add a light in to show the issue.
EXIT PORTAL, Sun & Sky, normals facing wrong way
EXIT PORTAL, HDRI, normals facing wrong way
To make it clearer:
In styles I have made my back faces pink. If they're facing into the room on the exit portal this is BAD!
If all is white (or whatever colour your front faces are set to), then this is GOOD!
Just for interest here are some more which show the behaviour of exit portals in different conditions:
1) NO EXIT PORTAL
2)
EXIT PORTAL ADDED
3)
NO EXIT PORTAL - Sun & sky setting, note the lady stood outside is visible.
4)
NO EXIT PORTAL - HDRi setting, note the lady stood outside is visible
]
Worth noting that exit portals mean any geometry outside is not rendered and hence does not show up:
5)
EXIT PORTAL ADDED - Sun & sky, note the lady is now not visible.
6)
EXIT PORTAL ADDED - HDRi, lady is not visible. The HDRi details are seen, but no geometry outside the exit portal.
Its also important to make sure you create the exit portal correctly. Easiest way to make one in Sketchup is to simply draw a line across one edge of your opening - this will fill in the opening with a face. Note that you can't just turn this face into an exit portal, this is IMPORTANT! This is what happens if you edit the active mesh before you have made it a component:
7)
FACE NOT MADE COMPONENT
To avoid this, ensure your face is pointing the right way, ie that you can see the front face (not the coloured back one), then press G to open the component dialogue box - make the face a component. The IMPORTANT STEP here! Make sure that you
DOUBLE CLICK on the component to edit it before you right click and select 'active mesh' and then tick the 'exit portal' check box.
If you don't double click into the component before you edit the active mesh then this is what happens:
8 )
EXIT PORTAL NOT CORRECTLY SET
So yeah, triple check the orientation of your exit portal face. Hope that helps anyway