Page 1 of 1

Portals

Posted: Thu Mar 24, 2011 12:35 pm
by anbueche
In this semester's PPS course I got the ticket of portals
Here I'd like to publish my notes and thoughts coming up during the work.
Please feel free to contribute your ideas, thoughts, comments etc...

Re: Portals

Posted: Thu Mar 24, 2011 1:35 pm
by anbueche
so far:
  • - there are end points and links
    - an end point has a position in space and is represented by a billboard
    - a link connects to endpoints in one way
    - a link has a certain effect(sound, graphic) during transportation (particles after instant relocation, jetstream...)
    - each link accepts certain types of objects and denies others (Pawns, Projectiles ...)
    - a link can be active or inactive
    - a link might connect two levels
    - on mouseover an end point could show a text ("to the pirates", "you came from here")

    a xml definition might look like this:

    Code: Select all

    <portals>
    	<portalendpoint id="1" pos="x,y,z" material="portal.material" />
    	<portalendpoint id="2" pos="x,y,z" material="portal.material" />
    	<portallink from="1" to="2" acceptedtypes="Pawn,Projectile,Rocket" effect="default" active="true"/>
    	<portallink from="2" to="1" acceptedtypes="Pawn" effect="jetstream" active="true">
    </portals>

Re: Portals

Posted: Thu Mar 31, 2011 11:33 am
by anbueche
my desired schedule

17.03 Choose the projects, start planning
24.03 write basic code framework
31.03 continue code writing
07.04 1st review
14.04 start design
21.04 continue design
28.04 easter holiday
05.05 2nd review
12.05 test, add additional features
19.05 finish and test everything
26.05 presentation

Re: Portals

Posted: Thu Apr 28, 2011 9:42 am
by beni
How is the project going here? I already heard some good reviews from other developers. Are you on schedule? These portals seem to be something rather neat. I'm also interested how you can make them connection points to other levels.

Re: Portals

Posted: Fri Apr 29, 2011 12:37 pm
by 1337
Do you make use of the Ogre plugin "Portal Connected Zone SceneManager"?

Re: Portals

Posted: Fri Apr 29, 2011 6:59 pm
by x3n
1337 wrote:Do you make use of the Ogre plugin "Portal Connected Zone SceneManager"?
I don't think that would help here since the PCZ scene manager connects two zones and not two points in the same scene (you would have to separate space into rooms (zones) to create portals, thats not really nice) - unless I misunderstand the concept of the scene manager.

Re: Portals

Posted: Fri Apr 29, 2011 8:35 pm
by 1337
Oh, I have no idea how the PCZ Manager actually works. I only suggested it for its name. So thanks for the explanations.