lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

Upload: mohammad-waqas-moin-sheikh

Post on 01-Mar-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    1/16

    Project submitted by:

    Muhammad Waqas Moin Sheikh(15129145)

    Project Guides & Submitted to:

    Ms. Qzou

    Professor, De!. of "#$

    %#&' P*+"$ -S#& *P&

    BEIJING JIAOTONG UNIVERSITY

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    2/16

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    3/16

    #n!rodu/!ion !o oen

    '0ou! as/ue or if! o3er ride

    Desin #memen!a!ion

    "on/usion %u!ure S/oei0iorah6

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    4/16

    *en is an ai/a!ion roram in!erfa/e7hose s!ru/!ure is simiar !o !ha! of mos! modern'P#8s.

    #! suor!s !he sime !7o and !hreedimensiona rorams. #! aso suor!s !head3an/ed renderin !e/hniques.

    i0rar6

    *en -!ii!6 i0rar6 (-) *en -!ii!6 $ooki! (-$)

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    5/16

    Des/ri!ion

    $he 0ride ao7s !he 3ehi/es !o mo3e on i!.When a shi aroa/hes !he 0ride, a sina 7i

    0e i3en !o s!o !he mo3emen! of 3ehi/es o3er !he0ride.

    's soon as !he 3ehi/es s!o, !he /a0es s!ar! !o if!!he 0as/ues u 7i!h !he suor! of !7o !o7ers.

    &o7 !he shi !ra3es under !he 0ride 7i!hou! an6

    dis!ur0an/e and as soon as !he shi asses !he0ride area, !he /a0es 7i ease do7n !he0as/ues !o make !he 7a6 for road !ra:/.

    '0ou! as/ueride

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    6/16

    $he if! o3er 0ride 7hi/h erforms a !hesefun/!ions has 0een imemen!ed usin *en

    fun/!ions and /on!ains !he Menu o!ions and !he;e60oard in!erfa/e. #! has !he foo7in fea!ures

    and erforms !he foo7in fun/!ions.*en 0ased 0ride 7hi/h if!s i!s road7a6

    au!oma!i/a6 7hene3er a shi sais !o7ards i!.

    $he 0ride au!oma!i/a6 re!urns !o i!s norma

    osi!ion 7hen a shi sais under i!.' 3ehi/e (/ar or 0us) !ra3es o3er !he 0ride,

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    7/16

    *!her *!ions in/udes S$'$ 'M'$#*&,S$*P 'M'$#*& and

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    8/16

    >o7 !o Pa6

    un !he Proram.

    ih! /i/k on Mouse

    S!ar! 'nima!ion

    S!o 'nima!ion

    Qui!

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    9/16

    S!ar!

    Mouse fun/. or ke6fun/.

    #f( 0!n orke6) S!ar! 'nima!ion

    S!o 'nima!ion

    Qui! 'i/a!ion

    ?i!(@)A

    BB#>$

    BBCe8

    A

    Design and Implementation

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    10/16

    ein(num mode)A"oorfEi f dF($GP r,$GP ,$GP 0)AHer!e?f(in! ?/or,in! 6/or,in! z/or)A

    nd()A%ush()A"ear"oor(/amf r, /amf , /amf 0,

    /amf a)A"earMa!ri?Mode(enum Mode)u!#ni!Disa6Mode(unsined in! mode)Au!#ni!Windo7Posi!ion(in! ?, in! 6)Au!#ni!Windo7Size(in! 7id!h, in! heih!)A

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    11/16

    u!"rea!eWindo7(/har I!i!e)Au!Mainoo()A

    u!eshae%un/(3oid (Ifun/) (3oid))Au!Disa6%un/(3oid (Ifun/) (3oid))Au!Mouse%un/(m6Mouse)Au!;e60oard%un/(m6;e60oard)Au*r!ho2D(dou0e ef!, dou0e rih!,

    dou0e 0o!!om, dou0e !o)Au!Pos!edisa6()A$ransa!efEfdF($GP ?,$GP 6,$GP z)AHoid u!#ni!()A

    Hoid u!eshae%un/()Aor!ho()AHoid u!Mainoo()Au!Pos!edisa6()A

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    12/16

    Hoid sea()AHoid 0ride()AHoid 0oa!()AHoid /ar()A

    Hoid oe()AHoid Hie7or!()Hoid anima!e()AHoid main menu(in! /h)AHoid ke60oard(unsied /har ke6, in! 6)AHoid Disa6 (3oid)A#n! main(in! ar/, /harII ar3)ADisa61 ()A

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    13/16

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    14/16

    "*&"-S#*&

    's !he roram needs !o 0e run e3en on o7endma/hines !he /ode shoud 0e e:/ien! and o!ima7i!h !he minima redundan/ies.&eedess !o sa6, !he /omu!a!ion of aori!hmsshoud aso 0e ro0us! and fas!.#! is 0ui! assumin !ha! !he s!andard ou!u!de3i/e (moni!or) suor!s /oors.

    %-$- S"*PSounds of sea, 0oa!, 0us and 0ride mo3emen!/an 0e in/orora!ed.

    Suor! for diJeren! !6es of 3ehi/es a mo3insimu!aneous6 on 0ride.Suor! for ad3an/ed D reresen!a!ion of !heen!ire s/enario.Suor! for !ransaren/6 of a6ers andoriinai!6.

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    15/16

    i0iorah6

  • 7/26/2019 lift-over-bridge-presentation-15129145-comp-graphics-final-project.ppt

    16/16

    $>'&;

    G*-