• Welcome to PiBoSo Official Forum. Please login or sign up.
 
January 24, 2021, 05:38:37 PM

News:

World Racing Series beta14 available! :)


Who knows How to make Auto-Zoom Cameras?

Started by LOOPATELI, February 06, 2015, 10:08:45 AM

Previous topic - Next topic

LOOPATELI

Please someone can help me on how to make auto-zoom cameras on A1 Ring, The current ones takes the bikes so far away.

Also if I change them, this make data mismatch?

Yohji

ex)

   camera0
   {
      type = 0
      pos = 17.460562, 4.326308, -28.437431
      fov = 45.000000
      rot = 0.000000
      limit
      {
         enable = 1
         start = 0.000000
         end = 300.000000
      }
      autozoom
      {
         enable = 1
         reference = 0.15
         min = 0.000000
         max = 60.000000
      }
   }


min and max is FOV

reference bigger to more zoom smaller is less zoom

no data mismatch

Hawk

Quote from: Yohji on February 06, 2015, 11:54:30 AM
ex)

   camera0
   {
      type = 0
      pos = 17.460562, 4.326308, -28.437431
      fov = 45.000000
      rot = 0.000000
      limit
      {
         enable = 1
         start = 0.000000
         end = 300.000000
      }
      autozoom
      {
         enable = 1
         reference = 0.15
         min = 0.000000
         max = 60.000000
      }
   }


min and max is FOV

reference bigger to more zoom smaller is less zoom

no data mismatch

If I'm correct(I think I am), I have highlighted in red, the code you just need to past for each code of the cameras you wish to have zoom enabled.

Any problems then just let me know and I'll do it for you. Just a little busy right now.  ;)

Hawk.

LOOPATELI

Thanks so much guys!! I Will try it this night

LOOPATELI


Hawk

Quote from: LOOPATELI on February 07, 2015, 01:44:25 PM
It works perfect :D

Thanks so much guys

Great! If you can let me have the new track camera file with this zoom update I will update the track in the Track Downloads database.....

Thanks Loopa!  ;D

Hawk.

LOOPATELI

https://www.dropbox.com/s/gv7xxeagbxfmzyn/A1%20Ring%20v2.1_NDS.tsc?dl=0

Here you got man, I added another TV camera with the same views but with zoom (called TV-Zoom)

Hawk

Quote from: LOOPATELI on February 07, 2015, 11:41:38 PM
https://www.dropbox.com/s/gv7xxeagbxfmzyn/A1%20Ring%20v2.1_NDS.tsc?dl=0

Here you got man, I added another TV camera with the same views but with zoom (called TV-Zoom)

Thanks Loopa!  ;)

Hawk.