Portal
How does the Portal gun work?
I mean it in a game aspect. Like how it creates them in the game. And why they can't pass trough portals but Half Life Bullets can.
Отредактировано DaRandomDude; 2 окт. 2017 г. в 18:14
< >
Сообщения 19 из 9
The physics of Portal is very hard to explain. They had to modify the Source engine's physics system to allow a certain weapon to be able to alter the environment. That's all I can explain.

Note: You can learn more by going on DEVELOPER COMMENTARY
You press the trigger and it create space distortions known as Portals, simple
Автор сообщения: Ikagura
You press the trigger and it create space distortions known as Portals, simple
That's not what i ment and yoou know that
Автор сообщения: IGC DaRandomDude
Автор сообщения: Ikagura
You press the trigger and it create space distortions known as Portals, simple
That's not what i ment and yoou know that
Just a small joke, anyway the portal are still a part of the wall in the game
It makes sense to me how it works, but what really fascinates me is the images inside the portals. How it can reflect 3d models dynamically like that.
What do you mean by "reflect"?
Автор сообщения: Hedy
It makes sense to me how it works, but what really fascinates me is the images inside the portals. How it can reflect 3d models dynamically like that.

Its a bit late but its called "Render to texture". There is placed a second camera which takes the sight of the portal and projects it on the portal texture on the wall. It works so simple because everything we see on our screen is 2D. But what I want to know is how the managed the physics.
Автор сообщения: DaNoah
Автор сообщения: Hedy
It makes sense to me how it works, but what really fascinates me is the images inside the portals. How it can reflect 3d models dynamically like that.

Its a bit late but its called "Render to texture". There is placed a second camera which takes the sight of the portal and projects it on the portal texture on the wall. It works so simple because everything we see on our screen is 2D. But what I want to know is how the managed the physics.
yeah im retarded, this ♥♥♥♥ has existed since half-life 2 I just forgot about it until after I posted it.
I have no idea of the physics behind the portal gun. however, i just discovered about oh, 2 minutes ago. that if you shoot a yellow and blue portal both on adjacent corners right next to each other, and then aim at the yellow corner, which is closest to the corner of the wall, and fire a blue portal, the game will freeze and crash :D dont do what i did haha!
< >
Сообщения 19 из 9
Показывать на странице: 1530 50

Дата создания: 2 окт. 2017 г. в 18:13
Сообщений: 9