Questions tagged [camera]

Game worlds are viewed from a camera, which is the viewpoint from which the game world is observed from.

The camera is what dictates what is shown on the screen, whether or not it simulates the effect of a video camera. It can depict an invisible viewport of the world around the player character, or it could even be showing things as if from the perspective of a character.

Questions under the purview of this tag generally deal with camera positioning, movement, and special effects.

When designing a 3D game, you might also want to take into account when appropriate.

1206 questions
38
votes
6 answers

Realistic Camera/Screen Shake from Explosion

I'd like to shake the camera around a bit during an explosion, and I've tried a few different functions for rocking it around, and nothing seems to really give that 'wow, what a bang!' type feeling that I'm looking for. I've tried some arbitrary…
falstro
  • 1,328
  • 1
  • 9
  • 14
16
votes
6 answers

Creating my own kill cam

I plan on creating my own kill cam system for a sandbox tool set. After thinking about the mechanics of the kill cam itself, however, I'm quite lost. I'm trying to recreate the ones commonly seen in call of duty games that show, from the view of…
Freesnöw
  • 787
  • 9
  • 19
5
votes
3 answers

What does it mean to "strafe" the camera?

I'm looking at a tutorial in which both the terms camera moving and "strafing" are used. I looked onto dictionary.com and found: strafe verb (used with object) 1. to attack (ground troops or installations) by airplanes with machine-gun fire. …
andandandand
  • 383
  • 1
  • 7
  • 12
4
votes
1 answer

Rotation + Translate causes camera shakes

UPDATE: I have found that the delays happen when i press a key in the keyboard and move the mouse at the same time, how can i solve it? I checked it setting a constant speed to the camera(going forward) and disabled the interactions with the…
Haruko
  • 368
  • 1
  • 12
3
votes
2 answers

Restrict camera movements

I'm making a game with target (orbit camera). I want to limit camera movements when in room. So that camera don't go through walls when moving around target and along the ground. What are common approaches? Any good links with tutorials? I use…
Vitali Kotik
  • 297
  • 2
  • 4
2
votes
2 answers

Field of view settings for first person shooter

Are there any industry standards for setting the field of view (FOV) for FPS games or is it solely based on trial and error? Are there any guidelines for choosing the correct value?
2
votes
1 answer

Will performance suffer if I have a really large depth range but not very many objects?

I don't know where the impression came from, but somehow it got in my head that having too small a "near" and too large a "far" in your projection at the same time would impact performance. In general that seems to hold true if there are many…
Corey Ogburn
  • 1,135
  • 1
  • 10
  • 21
1
vote
2 answers

Continuous world and camera problem

I have this problem where I split my big world into chunks and I don't know how to draw it into my game camera's view. Each world chunk has its own coordinate system, so when object reaches border of one chunk and steps into another - coordinate…
1
vote
0 answers

Scale aware adaptive camera zooming

I would like to implement an interactive zoom on a 3d object with mouse wheel.A naive approach is simple where you just scale camera marix Z poistion or modify FOV.But I would like the zoom scaling to be aware to the scale of the object and adapt…
Michael IV
  • 347
  • 1
  • 3
  • 13
1
vote
0 answers

About the cameras in the original Metal Gear Solid for PSX

Since I first played MGS on the PSX I have been wondering about this. To my understanding, MGS loads the geometry of the 'room' where you are and lets you move through it by using semi-fixed cameras that can follow you to a certain degree until your…
J.A. Rubio
  • 73
  • 4
1
vote
0 answers

Follow camera for car object

I have a car object in my game that has a car location like any other object. It is able to steer with bicycle KInematics and even rotates while it drives from a car heading vector. Now I need the camera to follow the car. I put the camera position…
Terry
  • 11
  • 1
1
vote
2 answers

More natural camera movement

I have a camera that currently smoothly (ease in and out) linearly interpolates between two positions. The camera also moves in response to user input. While this movement is nice and smooth it does not feel natural. My goal is to add some sort of…
J.Doe
  • 289
  • 1
  • 9
1
vote
1 answer

Looking for online resources to understand game camera properties

What are some good online resources to understand game camera properties, such as fov, aspect-ratio and more?
wizztjh
  • 131
  • 5
0
votes
1 answer

How to realize a camera that is following the player

I want to create a simple space game, like Asteroids. Unlike Asteroids, the map is supposed to be larger than what the player can see: The grey part is what the player can see in the game window, to see the rest of the level he needs to move his…
0
votes
1 answer

When I press play in my scene, the camera turns in the opposite direction?

In my scene, I have my character facing a certain direction, with a camera attached. Now, when I press play, for some reason, the character immediately faces the other way. I've tried turning the model and camera to face the opposite way of that, to…
CraftyMaelyss
  • 197
  • 3
  • 12
1
2