misc_portal_camera upside down....

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

misc_portal_camera upside down....

Post by Foo »

I should know how to fix this, I'm sure I've fixed it before.

I've got a portal surface on a south wall linked to a portal camera pointing north, and the view through the teleporter comes out upside down. I think this is because of the direction of the surface in relation to the camera (opposite), but I do not recall the method of correcting it.

Help mucho appreciated. I trawled the manuals and google and came up with squat :(
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post by 4days »

have you set 'roll' or angle to anything? have you tried playing with spawnflags?

i should remember the same thing for the same reason but can't.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Spawnflag is set to 4 for a static camera. My understanding is:
1 = fast
2 = slow
4 = static
But it's not documented that I can see. Either way, 4 sucessfully makes the portal static. Turning it off doesn't alter the upside downiness :D

More fiddling reveals that whether I set the angle of the camera with a target_position or just with the ANGLE keyword, neither makes a difference :(
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post by 4days »

pretty sure 'roll' does something as well. try roll=0 or roll=180
d3mol!t!on
Posts: 284
Joined: Thu Feb 16, 2006 3:48 pm

Post by d3mol!t!on »

Try flipping the portal texture 180 degrees with the surface inspector. I doubt the image has any dependence on the portal shader, but because I don't know, it's worth a try.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

4days wrote:pretty sure 'roll' does something as well. try roll=0 or roll=180
You're a king among men.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
Post Reply