• Welcome to PiBoSo Official Forum. Please login or sign up.
 
August 27, 2025, 05:12:12 PM

News:

GP Bikes beta21c available! :)


tool for creating camera files?

Started by Vini, November 09, 2015, 08:39:24 PM

Previous topic - Next topic

Vini

Quote from: Hawk on November 10, 2015, 11:38:44 PM
Quote from: vin97 on November 10, 2015, 11:21:05 PM
Thanks for that.

Quote from: Hawk on November 10, 2015, 11:10:59 PMthen click at the place you want to place your camera.
The problem I have with that is that clicking somewhere in front of you in 3D space is not very accurate.
I would like to go/fly to a specific position, look in a certain direction and then simply hit one key to save this as a new camera.
Do you know if this is possible?

Your right it's not very accurate. Being able to look down from above with ability to zoom into the position and then place the camera with a mouse click would've been a better way to do it, then all you'd have to do is adjust the Y(height) co-ordinate to get the correct height placement of the camera.

The way I place my camera is to just place it approximately were I want it in 3D space and then adjust the x,y,z, co-ords in the camera editor window of Camera control in TrackED. Just round the co-ord numbers off for easier adjustment and then only adjust by maybe .2, .3, or .4 each time or your camera will fly out of view. You do get the hang of it after a while and it's not such a pain to do.  :)
I think you can also use the co-ords from the main TrackED screen too to manually edit the camera placement co-ords through loading the .tsc file into notepad, but I personally prefer to use the camera control editor in TrackED.  :)

Hawk.
Wait, do you mean it's possible to get your current coordinates displayed on the screen when flying through the track?
That would be enough for me.
Or if you could change the the three camera coordinates (manually) via the mouse wheel with the camera doing those movements directly (without pressing ENTER :D).

I guess you get used to it but stuff like this is always slightly demotivating for me.

Hawk

Quote from: vin97 on November 11, 2015, 12:07:47 AM

Wait, do you mean it's possible to get your current coordinates displayed on the screen when flying through the track?
That would be enough for me.
Or if you could change the the three camera coordinates (manually) via the mouse wheel with the camera doing those movements directly (without pressing ENTER :D).

I guess you get used to it but stuff like this is always slightly demotivating for me.

If you look in the bottom right corner of tracked, it shows your mouse position as x,z co-ords. If you position your mouse at the place you want to place your camera and then make a note of those x,z co-ords, you can then input those co-ords(x,z) into the camera editor x,z field boxes and then all you'd have to do is specify the y co-ord for your camera height(10 for 10 feet high for example). That's if you find that an easier way to do it?  :)

I'm sure after Piboso has sorted GPB to version 1.0 he will then be able to concentrate on creating more intuitive UI's for his modding tools(programmers are always the worst judges of good UI interfaces)..... Until then we just have to learn to use them best way we can.  ;)

The good thing is that TrackED does work.  ;D

Hawk.

Vini

ok, fair enough

but i am too stupid to find the coordinates lol



Hawk

You are in Camera Control mode within TrackED there in the pic above.

You need to be in TrackED(were you can see the track map from above). When your in TrackED, zoom out so that you can see the whole track and then zoom in to the position you want to place your camera. Now position your mouse were you want your camera placed and read the x,z co-ords from the bottom right side of the screen(I think they are red in colour if I remember rightly). Make a note of those co-ords, but make sure your mouse position doesn't move while you note down the co-ords or the co-ords will change with your mouse movement.

Once you have recorded the co-ords, only then go into Camera Control, create your camera set(if you have not already done so). Right click on camera set and select edit. click on the normal button(that is for setting a "Normal" camera). Now click on the main screen showing the track in virtual 3D space to place your camera(you should see a yellow ball appear). Now right click your Yellow camera ball and select edit. You should see at the top of the camera edit box 3 co-ord field boxes representing from left to right respectively the X,Y,Z co-ords of the camera position in virtual space. Now enter your recorded co-ords in there respective x,z co-ord field boxes and click the okay button. The yellow camera ball will have probably disappeared because it has moved to those new co-ords you have just entered. Now select the new "Camera" you have just created from the camera control window and right click on it and select "Locate". That will automatically take you to your new cameras position and you should see the yellow camera ball again. Now right click on that yellow camera ball and select edit. Now you can enter or adjust the camera settings.

I know that sounds like a lot of instructions, but it's not. You'll soon get the hang of it and be able to do these things without having to reference any instructional procedures.  ;)

Hawk.

Vini

ah ok got it



thank you very much for explaining that tool to me, hawk!


are you currently working on any camera files?
....just to know which ones i maybe shouldn't start right now :D

Hawk

Quote from: vin97 on November 12, 2015, 10:45:51 PM
ah ok got it



thank you very much for explaining that tool to me, hawk!


are you currently working on any camera files?
....just to know which ones i maybe shouldn't start right now :D

No probs mate... Glad to help if I can.  ;)

Just to let you know that you need to get permissions from track authors before putting a camera set into their tracks..... Which track are you thinking of doing a replay camera set for?

I have permissions for a lot of tracks but not all, so I might be able to help with permissions on some tracks. ;)

Hawk.

Vini

i was thinking of COTA and I would like to change some cameras on already existing camera tracks but that would be mostly for myself.


of course i will ask before publishing anything.

janaucarre

you have permission for all my track to edit cameras,  i don't like to do it,  so many of mine are only static camera for having it to not cause a crash when replays launched. gogogo

HornetMaX

I think it's fair to ask the track author permission if one want to replace the track's cameras in the TrackMod maintained by Hawk.
If you just want to create a camera file ad publish here I don't think you need the author permission: each user can decide to use them or not (no data mismatch on camera files).

Vini

November 14, 2015, 09:54:21 PM #24 Last Edit: November 14, 2015, 10:05:42 PM by vin97
Quote from: Hawk on November 14, 2015, 09:17:53 PM
Quote from: vin97 on November 14, 2015, 07:58:19 PM
Started a brands hatch camset, not a fan of castle comb, sorry :D

Just to let you know: That is one of the tracks I won't be able to update the track in the Track Downloads database without permissions from Track Author Noss69(NC).

Hawk.
Oh ok.

Anyway, have you figured out how to do arch cameras or do you know which track currently uses one so that I can analyze it?

Hawk

Quote from: vin97 on November 14, 2015, 09:54:21 PM
Quote from: Hawk on November 14, 2015, 09:17:53 PM
Quote from: vin97 on November 14, 2015, 07:58:19 PM
Started a brands hatch camset, not a fan of castle comb, sorry :D

Just to let you know: That is one of the tracks I won't be able to update the track in the Track Downloads database without permissions from Track Author Noss69(NC).

Hawk.
Oh ok.

Anyway, have you figured out how to do arch cameras or do you know which track currently uses one so that I can analyze it?

Not tried that function myself.... I believe it was introduced 2 TrackED updates ago... only done one camera set since then so not really had the chance to play with it.
I presume it's to follow a rider through a corner at the same angle all the time instead of the camera turning as the rider runs through the shot? But not sure on that at all; you'll have to play around with it. If you find out then let me know please mate.  ;) 8)

Hawk.

janaucarre

Hi,
is that what you're talking about?
watch the replay from 1.41 to 1.46
https://mega.nz/#!hpdXBYDY!HAt4r9DF5nEbqqa4pjr-2dk_CGIgvYpUX6zMb9z3YRI
download and put it in Documents\PiBoSo\GP Bikes\replays

Vini

yes, that is what I meant.
thanks

from the jerez camera file:
camera6
{
type = 3
pos = -436.964996, -1.500000, 198.606995
fov = 70.000000
rot = 274.828644, 3.576192
center = -417.010010, -1.500000, 208.220993
pos2 = -397.273010, -1.500000, 218.276001
limit
{
enable = 1
start = 2466.000000
end = 2555.000000
}
autozoom
{
enable = 1
reference = 0.300000
min = 70.000000
max = 70.000000
}

Vini

so am I doing something wrong or is the autozoom (autofocus on the bike) not working with 'path' and 'arc' cameras?

HornetMaX

Never tried all this stuff, but in the above autozoom section, min and max are equal. Sounds strange no ?