Game Development Community

Portal Code

by Bill Vee · 08/16/2007 (6:26 pm) · 2 comments

Portal test 3.

Someone please take this code and fix it.
I am so close its not funny. The basic problem is the reference object is not where the portal reflects.
It seems to be off about 90 degrees and 100 units away from where the reference object is and at some angles the portal seems to cuts the scene up and sometimes it produces a lot of artifacts.

Like I said before the portalblock is basically the waterblock with less than 20 lines of modified code.
I think this could be of great value to many people.

All I ask is for someone to look at my code , figure out what I dorked up , fix it and post it as a resource.

#1
08/16/2007 (8:52 pm)
Seems like you screwed up the backbuffer by fiddling around with the cameraQuery transforms, perhaps?

Why don't you post this in the forums instead? And where is the code you want people to check out? Seems pointless to ask people to fix it when they can't see any.
#2
08/16/2007 (9:06 pm)
Whoops I thought I did post to forum............. think I will cut back on my dosage a little.

The forum link