Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / What does building portals mean?

Author
Message
Desecrated Studios
15
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 4th Jul 2011 06:06
When i test my game in the editor, it comes to the point of building portals, in which i have to wait like 10 minutes for it to pass that part. What does it mean, and why does it take so long?

Thanks!

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor
Gunbarrelguru
17
Years of Service
User Offline
Joined: 6th Jun 2009
Location:
Posted: 6th Jul 2011 22:30
Yeah, that is always the part that takes the longest for me as well. I'm really not sure, and it's cool that you asked becuase I've always wanted to know. Does it seem to you Exu that community members haven't been answering help questions alot recently? I've posted some threads with a couple of very important questions and I still can't get any answers after a couple days.

My best guess from looking at the program a while is that FPSC is figuring out level geometry and piecing together the areas the player can and cannot walk, but that's just a guess.
Sting
15
Years of Service
User Offline
Joined: 18th Jan 2011
Location:
Posted: 6th Jul 2011 22:56
A Portal is piecing together the 'level' or 'map' into viewable portals for the engine to pre-render to speed up the game.

Example:

8====================8============11======8

The = is a corridor, the 8's are doors and 11 is a crossroads. There will be a portal between 8 and 8, 8 and 11, 11 and 8.

When you are in the portal 8 and 8, it won't draw (or extensively draw) portal 11 and 8.

It kinda works on that premise, however there are multiple ways an engine can render and optimise 'portals' it's down to programmer preference. OpenGL engines can't really have 'portals' as it is supposed to be able to draw near enough the entire map from any given view (regardless of what is blocking the view). FPSC is in DX so rendering and portal building can be as contained as defined in the engine.

Want your games to look professional? Website! - Thread!
Gibba gobba
17
Years of Service
User Offline
Joined: 21st Dec 2008
Location: regret
Posted: 7th Jul 2011 00:11
Based on the test function, I assume that portals have to do with CGI rendering. I might be wrong though...

Hello one and all.......
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 7th Jul 2011 00:22
http://en.wikipedia.org/wiki/Portal_rendering



Support a charitable indie game project!
Desecrated Studios
15
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 7th Jul 2011 00:45
Thanks for the comments guys, we had a bad storm and my computer kind of died. I got it back up and running, but that's why i didn't respond earlier. But thanks again, anyone know how i might speed up that process?

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor
raymondlee306
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 7th Jul 2011 01:28
I don't think it can be sped up. Something just take longer on some machines. A map on my laptop tests in about 2 minutes, on my desk top the same map test in about 25 seconds. To see how they work make some rooms and run a test. While playing the test press the [] keys to turn wire frame on and off and you can see what is being rendered and what is not.
Desecrated Studios
15
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 7th Jul 2011 04:41
Thanks for the info Raymond!

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 7th Jul 2011 10:13
About the [] does anyone know what scancode/keystate they have, I have a swedish keyboard so I have to find the key with the same keystate...

Srry about my english im from sweeden
Desecrated Studios
15
Years of Service
User Offline
Joined: 16th Jan 2011
Location: Kirtona
Posted: 7th Jul 2011 12:54
I don't know sorry, have you tried google?

-Josh
Website is under construction
System Specs: AMD Phenom x3 2.2GHz, 4GB DDR2 RAM, 1TB HD, HD Radeon 5770 1GB, 22in Acer Monitor
Shooter4313
14
Years of Service
User Offline
Joined: 26th Sep 2011
Location: Latvia
Posted: 27th Sep 2011 15:00
Sometimes it builds portal 2 times?Why?

Login to post a reply

Server time is: 2026-07-01 10:46:23
Your offset time is: 2026-07-01 10:46:23