3 Replies - 3717 Views - Last Post: 29 November 2011 - 02:40 PM Rate Topic: -----

#1 heyoman1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 64
  • View blog
  • Posts: 735
  • Joined: 30-November 09

uses of trigonometry in graphics programming

Posted 28 November 2011 - 08:46 PM

I need to write an essay for my math class on the uses of trigonometry in a career field. I decided to write about the use of trigonometry in graphics programming, since this is the field I'm interested in, and also because it incorporated a lot of other math subjects too.

I took an Honors Level Trigonometry class last year, and learned about different formulas, for example, a steadily decreasing rate of something, triangles, graph functions, identities, statistics, series, etc. Well, how is this used in the field of graphic programming? Most of this stuff seemed useless when I learned it, but I'm probably way off.

Is This A Good Question/Topic? 0
  • +

Replies To: uses of trigonometry in graphics programming

#2 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 1011
  • View blog
  • Posts: 4,215
  • Joined: 14-February 08

Re: uses of trigonometry in graphics programming

Posted 29 November 2011 - 03:00 AM

Trigonometry is used a lot in game development, from calculating the distance/angle between two objects to calculating the appropriate trajectory after a collision.

If you want to be more graphics specific then it's used in lighting calculations to determine the amount of light using the cosine of the angle between the normal and the light direction. It is used in bump mapping when calculating the angles between the eye vector, normal and light direction. In fact the more I think about it the more I realise it's used everywhere!

You already mentioned one possible use in the steadily decreasing rate of something, this could be used in a lot of different ways.
Was This Post Helpful? 0
  • +
  • -

#3 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 1
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: uses of trigonometry in graphics programming

Posted 29 November 2011 - 02:38 PM

You should also look into game physics and address how trigonometry overlaps between graphics and physics in games, addressing their similarities and differences in application. You could look into rigid-body physics, as well as animation physics. That'll be an interesting and inspiring thing to write up about.
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10807
  • View blog
  • Posts: 40,285
  • Joined: 27-December 08

Re: uses of trigonometry in graphics programming

Posted 29 November 2011 - 02:40 PM

I have a good tutorial on 2D Collisions that is relevant here.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1