Author Topic: Camera portal weird roll  (Read 2741 times)

Thomsen

  • Posts: 55
  • Turrets: +7/-1
Camera portal weird roll
« on: March 30, 2008, 03:11:46 pm »
Hi,

I'm working on a test map with some camera screens in it (not near each other, other sides of the map)
After some testing of shaders and parameters for the misc_portal_camera I finally have an almost normal camera view.

My camera rolls in a loop of about 4 seconds from like -5 to +5 degrees and back from the normal horizontal view
It's not one of the spawnflags of the camera, because it's not constantly rotating but going forward and back. (i have both of the flags off)

Also the wiki and the text in the entity window say that roll 0 is upside-down and 180 normal, but 0 is a 90 degrees left turn here, and 180 a right turn, so I put it to 270, that had put it like normal, but it's still like 'bobbing'

I have no idea what's causing it :/

If you want a .map or shader, i'll upload em.

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Camera portal weird roll
« Reply #1 on: March 30, 2008, 03:38:06 pm »
This is an old Q3A thing. I'm not sure if it's possible to turn this off without modifying the associated parts of the engine.

Thomsen

  • Posts: 55
  • Turrets: +7/-1
Re: Camera portal weird roll
« Reply #2 on: March 30, 2008, 04:19:39 pm »
So every tremulous map with a camera has this? I don't remember pulse has it..

EDIT: I checked it, in pulse the screens don't do that.
« Last Edit: March 31, 2008, 12:34:57 pm by Thomsen »

Thomsen

  • Posts: 55
  • Turrets: +7/-1
Re: Camera portal weird roll
« Reply #3 on: April 04, 2008, 04:28:40 pm »
*BUMP* Anyone? :(

Supertanker

  • Posts: 325
  • Turrets: +73/-45
Re: Camera portal weird roll
« Reply #4 on: April 05, 2008, 03:43:25 am »
Thomsen, add the key/value pair "spawnflags" "4" into the entity properties of the misc_portal_camera
It may be spawnflag '2' I don't recall at the moment.

You may need to tweak 'roll' to 180 as well.

That should work, and just make sure the camera isn't 'burried' in the geometry--the position of the entity is not exactly where the view will be.