Forums

Help › Forums

Post Your Best Replays Here!

Tue, Jan 23 2024 6:21 PM (3,474 replies)
  • Stanholio
    28 Posts
    Thu, Oct 7 2010 11:48 AM

    Ok...Here goes nothing or maybe something~!!!

     

    http://www.wgt.com/replay.aspx?ID=showReplay&JSON={%20%22GUID%22%20%3A%20%22b861863f-024d-4cf1-8da3-9cc4014cb3aa%22%2C%20%22Brand%22%20%3A%20%22undefined%22%20}

     

     

  • zagraniczniak
    1,984 Posts
    Thu, Oct 7 2010 11:56 AM

    YankeeJim:
    The wind never changes from the tee to the pin.

    Jim, that doesn't seem right, because the wind indicator will often shift around a bit while the player is waggling over the shot. Not a lot. What I don't know is whether the wind ever shifts or swirls between the time you hit your shot and the ball lands.

    PS. This all is a bit off-topic. As they say at the bar, take it outside.

  • CharlemagneRH
    1,054 Posts
    Thu, Oct 7 2010 12:02 PM

    YankeeJim:
    The wind never changes from the tee to the pin. The overview shows that. You're trying to factor random camera views into the mix. The wind is always 2mph going in the same direction.

    The wind never changes, but the camera angle does.   What happens if you are facing due north, and there is a due north tailwind, and then you hit it 50 yards to the left of the hole?  You will have to turn 90 degrees to the right, at which point that due north tailwind becomes a right-to-left wind.

    Similarly, if you launch the ball 50 yards over the pin, you will turn around, 180 degrees, at which point that due north tailwind becomes a headwind.

    YankeeJim:
    What I hear you saying, correct me if I'm wrong, is that shot calculations in the game (VEM, beast, deviation, whatever) aren't made until the shot comes to rest and the view is factored in.  No?

    No.

    The camera is moved, at which point the wind will be changed relative to the change in rotation of the camera, if needed (see above.)  From there, you take your shot... put in your aim marker/power/aim click input, and then WGT tacks on random deviations (VEM increases these deviations) on top of that input (e.g. it will add on another .5% of power and make it go 1 degree to the left, or any number of combinations of power/aim deviations), and then, from there, it will launch the ball.

    Once the ball is launched, it will continue to fly, wind constantly taking its effect on the velocity of the ball (a tailwind allowing the ball to retain its forward velocity, a headwind slowing the forward progress, and a sidewind creating left/right movement.)  If it is programmed correctly, this flight/wind code includes use of sin and cosine calculations using the difference in angle (or what are called switch/case statements in order to speed up calculation) between the ball's flight path and the wind's direction (e.g. 90 degree difference -> wind's impact on the ball's direction should be based upon sin(90), or 100%, and have only a small effect on its velocity; 45 degree difference -> wind's impact on ball direction should be based upon sin(45), or 70.7%, and its effect on ball velocity should be significant [based upon cosine, i.e. cos(45), which is once again 70.7%], 0 degree difference -> wind's impact on ball flight direction should be nonexistent, but impact on ball velocity should be severe)... maybe even some more, fancier stuff.  Flight will continue until a collision with the terrain is detected, at which point the degree and angle of bounce will be a function of terrain type (cart path = lots of bounce, fairway = quite a bit of bounce, rough = a bit of bounce, hard sand = a little bit of bounce, soft sand = hardly any bounce, water = no bounce), the ball's velocity, angle of flight, and the angle of that terrain at that specific location of impact.  From there, a couple more bounces, and then roll.

  • LordPercy
    58 Posts
    Thu, Oct 7 2010 12:27 PM

    http://www.wgt.com/gameclient.aspx?view=showReplay&JSON={%20%22GUID%22%20%3A%20%228ab0b0ac-7b97-40e0-a65f-9ded007b660c%22%2C%20%22Brand%22%20%3A%20%22undefined%22%20}

    Impossible position to save par when short and right in the rubbish at the 8th at Kiawah, but managed to get it close. Crazy shot.

  • YankeeJim
    25,827 Posts
    Thu, Oct 7 2010 12:46 PM

    CharlemagneRH:

    No.........................................  From there, a couple more bounces, and then roll.

    Heh-Think I'll stick to the incoherent version.  :-)

     

  • CharlemagneRH
    1,054 Posts
    Thu, Oct 7 2010 1:15 PM

    YankeeJim:

    CharlemagneRH:

    No.........................................  From there, a couple more bounces, and then roll.

    Heh-Think I'll stick to the incoherent version.  :-)

     

    I made a typo in there that made it hard to understand:

    e.g. 90 degree difference -> wind's impact on the ball's direction should be based upon sin(90) and have only a small effect on its velocity, or 100%, 45 degree difference

    The underlined text was added in an edit, but I put it in the wrong spot.  If this helps you to understand, great, if not, no biggie.

  • mohuyu
    891 Posts
    Thu, Oct 7 2010 1:56 PM
    Crazy shot on the par 5 second on Kiawah. Ball hits the first cut rough behind the weeds and bounces back 30 yards. http://www.wgt.com/gameclient.aspx?view=showReplay&JSON=%7B%20%22GUID%22%20%3A%20%223ee379f2-5149-46f6-9e00-9dfb0140bcfe%22%2C%20%22Brand%22%20%3A%20%22undefined%22%20%7D
  • CharlemagneRH
    1,054 Posts
    Thu, Oct 7 2010 5:09 PM
  • CMcCartney727
    1,417 Posts
    Thu, Oct 7 2010 9:38 PM

    Only because I hate this hole.. as I'm sure others do... plus it was in an RG.. got to -5 through 5, then WGT took over...

     

    http://www.wgt.com/replay.aspx?ID=6d48bd7d-54a1-4548-9e77-9e09003e9d52

  • nx8freegames
    1 Posts
    Fri, Oct 8 2010 3:05 AM

    great work..I too started practicing the shots..After few days I will become a good player.Till then enjoying free games over some online gaming sites.

RSS