PiBoSo Official Forum

GP Bikes => Archive => Racing => Moto3 Championship => Topic started by: LOOPATELI on February 06, 2015, 10:08:45 AM

Title: Who knows How to make Auto-Zoom Cameras?
Post by: LOOPATELI on February 06, 2015, 10:08:45 AM
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?
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: 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
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: Hawk on February 06, 2015, 03:57:58 PM
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.
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: LOOPATELI on February 06, 2015, 04:33:50 PM
Thanks so much guys!! I Will try it this night
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: LOOPATELI on February 07, 2015, 01:44:25 PM
It works perfect :D

Thanks so much guys
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: Hawk on February 07, 2015, 05:16:58 PM
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.
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: 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)
Title: Re: Who knows How to make Auto-Zoom Cameras?
Post by: Hawk on February 08, 2015, 12:49:47 AM
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.