Page 1 of 3
.:: Indigo 0.9T5 and Exit Portal -- second part
Posted: Mon Aug 13, 2007 9:40 pm
by tizxx
Look at this image,
If I have a room with 2 or more aperture I must fill it with Exit portal...
The SUN is masked out by exit portal?
Posted: Mon Aug 13, 2007 9:44 pm
by suvakas
Yes, you have to cover all openings with ep. from where you want the sun to get in. Rays are traced only towards and from exit portal. That's from where the speed-up comes from.
[edit]
Exit portal is telling Indigo from where the sun should get into the room. Then it doesn't have to shoot rays to places where are no openings.
Posted: Mon Aug 13, 2007 9:49 pm
by tizxx
Ok, suvakas, and Ono
when I turned off bidirectional I can see the sun,
but out-side the window with exit portal on
I can't see out-side the room...
look this image...
Posted: Mon Aug 13, 2007 9:57 pm
by suvakas
Hmm..now that is interesting.
Ono?
Posted: Mon Aug 13, 2007 10:10 pm
by OnoSendai
It does indeed look like a bug, will have a look at it soon.
Posted: Mon Aug 13, 2007 10:19 pm
by tizxx
I post the scene so we can test it...
Posted: Tue Aug 14, 2007 4:07 am
by Kram1032
oh, aha...
I never tried Exitportals without BiDir xD
very interesting...
so, then, they work different, than I thought....
Anyway, wouldn't it have been better, to have
.:: Indigo 0.9T5 and Exit Portal
NOT scattered into parts?
Everything should be in ONE thread...
Posted: Tue Aug 14, 2007 7:40 pm
by mrCarnivore
So is there acutally a speedup when using exit portals without bidir in comparison with a scene without exit portals and without bidir?
Posted: Tue Aug 14, 2007 9:23 pm
by OnoSendai
Regarding the first image, Suvakas is correct.
When using exit portals, all openings to the environment need to be covered, if there are any gaps, they will show up as blackness.
Regarding the second image, actually it's not a bug (obviously in retrospect)
The plane outside the room is not visible thru the exit portal, because geometry isn't visible through exit portals, but just the environment (skylight in this case)
Posted: Tue Aug 14, 2007 11:04 pm
by suvakas
OnoSendai wrote:Regarding the second image, actually it's not a bug (obviously in retrospect)
The plane outside the room is not visible thru the exit portal, because geometry isn't visible through exit portals, but just the environment (skylight in this case)
Ok. But why isn't the opening without exit portal black as on bidir rendering? To me it seems like rays are traced like there is no exit portal present in the scene.
Posted: Tue Aug 14, 2007 11:31 pm
by OnoSendai
It doesn't really matter, you're in the realm of undefined behaviour anyway.
Posted: Wed Aug 15, 2007 12:56 am
by Kram1032
aha...
so, you simply didn't define that? xD
Posted: Wed Aug 15, 2007 1:00 am
by OnoSendai
Undefined behaviour means you're doing something you shouldn't be doing, so anything can happen; it's not my problem

Posted: Wed Aug 15, 2007 1:02 am
by Kram1032
"you shouldn't use exitportals WITH.."
or
"...WITHOUT" Bidir?
Posted: Wed Aug 15, 2007 1:08 am
by tizxx
Ok. Nicholas. don't worry.
Thank you for your answer.