Jump to content

View more

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Serious sam portal effect

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
6 replies to this topic

#1 Xetrov   Members   

116
Like
Likes
Like

Posted 25 June 2001 - 12:37 AM

If you''ve played Serious Sam, chances are you''ve seen the portal/teleporter thingy. All I want to know, is how in the hell do they do that? Its basically a box, which, when you look at it, you can see the destination.... Well, its difficult to explain. but a damn cool effect. I want it!

#2 Xetrov   Members   

116
Like
Likes
Like

Posted 25 June 2001 - 12:38 AM

Shiteski!!!!

Sorry about that! (posting 3 times)

Stoooopid browser

#3 Null and Void   Members   

1087
Like
Likes
Like

Posted 25 June 2001 - 12:53 AM

Unreal and UT use this effect as well. I''m not sure about Serious Sam, but both Unreal''s use portal engines. One of the good things about portal engines is that you can have special effects at places where portals connect (or any of their edges in general). Things like reflection and seeing into another area.

I can''t really explain how portal engines work (they can be pretty complex), but I''m sure you can find an explanation somewhere. BTW: You can delete your duplicate posts.

[Resist Windows XP''s Invasive Production Activation Technology!]

#4 AIRmichael   Members   

136
Like
Likes
Like

Posted 27 June 2001 - 12:38 AM

The basic idea is to "not draw" a part of the world you cant see. That can be done with some calculations .

#5 Xetrov   Members   

116
Like
Likes
Like

Posted 27 June 2001 - 03:11 AM

Geez, that sounds scary & complicated....

#6 Ingenu   Members   

1576
Like
Likes
Like

Posted 27 June 2001 - 03:40 AM

It isn''t that hard.
Read this tutorial to see how it works, a bit old but still true :

http://www.flipcode.com/portal/

(Portal Engine tutorial)

-* So many things to do, so little time to spend. *-


#7 Obelix   Members   

122
Like
Likes
Like

Posted 27 June 2001 - 08:56 PM

The easy and fast way would be to make a texture with an image of the destination. This can also be extended to show dynamic changes (movements) in the destination area. Set the camera in this area and render to the backbuffer then can this buffer be copied to the texture.

Another way to limit the drawing area is by using the stencil buffer. Like you do for other things like reflections. The teleporter could be in any shape.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.