Results 1 to 4 of 4

Thread: rotate

  1. #1

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    rotate

    how do I rotate a 2d graphic in VB? I've gotten answers using direct 3d etc... but I don't know how to use directX!!!
    Last edited by alkatran; May 7th, 2002 at 12:46 PM.
    Don't pay attention to this signature, it's contradictory.

  2. #2
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    alright you could have used the searchengine since this has been asked (and answered) many times...
    but here we go

    one elegant way would be to use Direct3d and just move around a polygone with a texture on it (the fastest way)
    or another one would be the also pretty fast way David Brebner has on his page www.ur.co.nz (I believe the turorials name is 24bit rotation)
    Sanity is a full time job

    Puh das war harter Stoff!

  3. #3
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Quite a while ago on Planet Source Code someone submitted a DLL that did loads of complex Image functions, like Alpha blending, masking, rotating, etc, but I can't remember the URI for it It was in the VB section, and he wrote the DLL in C++ so it was really fast

  4. #4
    Fanatic Member petrus's Avatar
    Join Date
    May 2002
    Location
    pBytes[sizeof(pBytes)/2]
    Posts
    553

    I have one thing

    Here you got, but be aware, its not TESTED!
    You need DirectX8 for it...
    Attached Files Attached Files
    ICQ: 128716725

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width