PDA

View Full Version : editing camera views


Imagine
12 January 04, 18:00
I was playing whole day with editing camera views for watching replays and I still don't get it all-
so I need little help :D
A main reason why I'm doing this is that I like some camera views from Buk_Nekkid alternative cameras and some from Toni's camera views so I want to inegrate them with little modifications to original camera views but whole .txt file is little hard to understand for beginer :(
It would be best to have unlimited number of views but the game is limited to 10 views ;)

I'm allways playing from inside view so hood and bumper view are uselles for me so I want to replace that 2 views with something more usefull for watching replays but I'm unable to do that :smash:

Of the original views I would like to have that assigned to numbers 1,7,8,0-tv mode but on places where were those I don't like I would like to put some Toni's views like that what straight from the side but I would like it to be on bigger distance(not much) and that one which rotates around car and that helicopter view from behind but little closer to car and one exactly the same but rotating arround car...but I don't know which number is changing what so I need guide becouse I want to play with it... :D
one of the most confusing things I consider is number asigned to camera-for instance interior camera 9 is on kayboard at number 1 so thay are all mixed :confused:


Camera .txt

# Camera settings

Camera1LookAt = { 0.0, 1.0, 0.0 };
Camera1Position = { 0.0, 1.8, -4.3 };
Camera1Stiffness = 0.01;
Camera1Fov = 85.0; #76

Camera2LookAt = { 0.0, 0.4, 10.0 };
Camera2Position = { 0.0, 2.0, -5.1 };
Camera2Stiffness = 0.01;
Camera2Fov = 85.0;

Camera3LookAt = { 0.0, 1.0, 0.0 };
Camera3Position = { 0.0, 2.2, -5.7 };
Camera3Stiffness = 0.01;
Camera3Fov = 85.0;

Camera4LookAt = { 0.0, 1.5, 0.0 };
Camera4Position = { -1.0, 1.0, 3.5 };
Camera4Stiffness = 0.01;
Camera4Fov = 82.0;

Camera5LookAt = { -0.25, 1.0, 3.5 };
Camera5Position = { 1.5, 1.5, -4.3 };
Camera5Stiffness = 0.01;
Camera5Fov = 65.0;

Camera6LookAt = { 0.7, 0.0, -5.0 };
Camera6Position = { 1.2, 0.4, -0.0 };
Camera6Stiffness = 0.0001;
Camera6Fov = 65.0;

# Hood camera (lookat is relative to hoodlocation in car.ini)
Camera7LookAt = { 0.0, -0.1, 3.0 };
Camera7Position = { 3.0, 1.0, -6.0 };
Camera7Stiffness = 0.000001;
Camera7Fov = 90.0; #82

# Bumber camera
Camera8LookAt = { -0.25, 1.0, 0.15 };
Camera8Position = { -0.25, 1.1, 5.0 };
Camera8Stiffness = 0.01;
Camera8Fov = 90.0; #76

# Interior camera
Camera9LookAt = { 0.0, 1.0, 15.0 };
Camera9Position = { -0.25, 1.0, 0.15 };
Camera9Stiffness = 0.0;
Camera9Fov = 85.0; #76


little help please :smash: -what to change :confused:

Midi
12 January 04, 18:02
We posted same time :party:

Roger
12 January 04, 18:18
I will try.......and there may some errors in the answer as I have not done any checking.

First, you cannot add any TV views without adding cameras to the track file, these cameras are placed when the track is built.

As far as the numbers go...........

I think they are locations relative to the 0,0,0 axis of the car.

Camera1LookAt = { 0.0, 1.0, 0.0 };

I would assume that this is looking at an object as if the object were:

{ directly level to the x axis, 1M above ground, and directly level to the z axis}

This is the position the camera is LOOKING AT

Camera1Position = { 0.0, 1.8, -4.3 };

This must be where the camera is located relative to the car, so it is:

{in the middle of x, 1.8M above the axle line, 4.3M behind the centre of the car along the z axis}

This is the position the camera is LOOKING FROM

Camera1Stiffness = 0.01;

What it says - try it and see what happens. I assume that either 1.0 or 0.0 must be a very wobbly camera!


Camera1Fov = 85.0; #76

This is the camera lens, so if you want a "fish eye" view, set it to 22.00; and you will probably feel sick, also the car will seem to be further away when you follow it (I am guessing this is a chase camera).

So, if you set this camera to look at {0.00,0.00,0.00}; and located at {-5.00,0.00,0.00}; I think you will be looking directly at the side of the car from the centre and a few metres away to the side.

Or, if you set this camera to look at {0.00,0.00,3.00}; and located at {-5.00,0.00,0.00}; I think you will be looking at the front/side of the car from the centre and located few metres away to the side.

Make sense?

Imagine
12 January 04, 18:35
Thx,Roger :up: :wave:
i guess that this is (x,y,z)sistem :rolleyes:
y is height of a car
x is width of a car
z is a lenght of a car

but my main confusion is why i can't replace bumper and hood view with somthing else from Toni's views :smash:
and that numbers of cameras confuses me :( (cam 9-is inside view but at kayboard that is 1 :confused: :confused: )

Roger
12 January 04, 18:43
Thx,Roger :up: :wave:
i guess that this is (x,y,z)sistem :rolleyes:
y is height of a car
x is width of a car
z is a lenght of a car



Yes exactly as you say.

but my main confusion is why i can't replace bumper and hood view with somthing else from Toni's views :smash:
and that numbers of cameras confuses me :( (cam 9-is inside view but at kayboard that is 1 :confused: :confused: )

You should be able to substitute any of the locations with any camera (I think).

I have no idea why the camera/keyboard numbers don't match - wouldn't worry too much about that.

If you look at the co-ordinates of the cameras you can picture in your mind (imagine) where they are relative to the car, then it must be easy to figure out which camera is which from the keyboard.

Imagine
12 January 04, 18:50
You should be able to substitute any of the locations with any camera (I think). but i tried to do it and i can't replace it with something from toni's cameras :confused: maybe i'm dooing something wrong :banghead:

I have no idea why the camera/keyboard numbers don't match - wouldn't worry too much about that.

If you look at the co-ordinates of the cameras you can picture in your mind (imagine) where they are relative to the car, then it must be easy to figure out which camera is which from the keyboard. i'm only worried becouse i dont know what is what camera becouse incopatibillity of numbers :cry: so i dont know how /what camera to replace-i don't want to replace something what i like ;) :OMG:
...but i will try your advice :up: :trophy:

Imagine
13 January 04, 08:28
this is strange :smash: ...it seems that there is no way to replace bumper and hood views vith something else :sherlock: so i'm gonna play with editing exesting ones and if i can get something good i will let you know :twisted: ;) :D

and ofcourse if someone knows a solution for replace that 2 views-just tell me :o :blah:

Dan
13 January 04, 11:32
why would you want to replace the 2 views that most people drive with :confused:

Imagine
13 January 04, 13:29
why would you want to replace the 2 views that most people drive with :confused: becouse i'm not driving with it :D and i want to have 2 extra slots to fill cameras just for wotching replays......
i'm not gonna invent somthing new :OMG: -just fine tune existing cameras and release it for a constructive crittics :o ;)

...but at the end it seems that i'm gonna keep bumper and hood view :rolleyes:

gram
14 January 04, 04:22
I have changed one camera view which looks like this :). The best in this kind of angle is occuring when you are doing powerslide :).

http://ztc.deez-nuts.com/uploader/rallytrophy_2004-01-13_23-17-10-79.jpg

Imagine
14 January 04, 22:04
it's not that easy :o
i was working wholle day yestarday on that cameras and i didn't think of nothing speccial :D
but adleast i know what changes are dooing what :) ;)