Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 03:03:44 am
Xith3D CommunityProjectsYour Projects (Moderator: 'n ddrylliog)Implement "portal" with xith3d
Pages: [1]
Print
Author Topic: Implement "portal" with xith3d  (Read 2456 times)
cele
Just dropped in

Offline Offline

Posts: 12


View Profile
« on: 27. January 2008, 07:32:18 pm »

hi everybody.

Do you know "portal"?
It's a unique new game.
If you use NVIDIA, you can play trial version for free.
The link is http://www.steampowered.com/nvidia/

The system of portal is very interesting!
I try to implement the warp system with xith3d but...
I can't come up with any good idea.

If you make a game or warp system like portal, how do you implement that?
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 27. January 2008, 08:30:03 pm »

Well, even if I have an NVIDIA card, I don't have time to boot to windows and try it out. And I definitely won't install Steam.

Could you please post a screenshot of the warp system in effect?

Marvin
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #2 on: 27. January 2008, 11:30:45 pm »

http://youtube.com/watch?v=TluRVBhmf8w
Logged

Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 28. January 2008, 02:52:56 pm »

So the "warp" effect, you're talking about is simply the see-through-a-wall effect, isn't it? I would suggest to do this as follows:

Render the scene to a texture, that you want to see through the wall. Then project this texture onto the wall.

Another solution would be to use the stencil buffer.

Please have look at the RenderToTextureTest, ProjectiveTextureTest and StencilTest for reference.

Marvin
Logged
cele
Just dropped in

Offline Offline

Posts: 12


View Profile
« Reply #4 on: 28. January 2008, 06:54:23 pm »

well, that's part of it.
i refer them.
additionally, I want to know how to transfer
between current scene and another through a wall.

thanks for your reply.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #5 on: 28. January 2008, 07:47:32 pm »

additionally, I want to know how to transfer
between current scene and another through a wall.

Well, if the user hits a portal, you would simply need to change the player's position to the transportation target's location.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic