Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Car camera setup
02-17-2012, 03:12 PM
Post: #1
Car camera setup
To allow more control over the cameras I've moved the setup into car config. I've updated all cars to use the new syntax.

Code:
[camera.0]
name = foo         #required
type = mount      #required types: mount, chase, orbit, free
position = 0, 0, 0 #optional
lookat = 0, 1, 0   #optional used by mount only atm, determines view direction
stiffness = 0        #optional used by mount

The number of camera types could be reduced in the future, there is some not needed differentiation. Field of view could be added per camera, not sure if it is wanted?

The first six cameras are hard-wired in the gui, input handling. There is no such requirement in the code itself though.

Nightly build: In order to view links, you must have to reply to this thread.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)