Results 1 to 3 of 3

Thread: Faking 3D with SetWorldTransform - No DirectX

  1. #1

    Thread Starter
    Fanatic Member technorobbo's Avatar
    Join Date
    Dec 2008
    Location
    Chicago
    Posts
    864

    Faking 3D with SetWorldTransform - No DirectX

    Here's a code snippet that lets you rotate an image in 3 axes.
    Most internet articles that never explain how to fully control an individual axis, I thought that this was vital in making these GDI commands useful.
    Attached Files Attached Files
    Last edited by technorobbo; Mar 21st, 2009 at 07:56 PM.
    Have Fun,

    TR
    _____________________________
    Check out my Alpha DogFighter2D Game Demo and Source code. Direct Download:http://home.comcast.net/~technorobbo/Alpha.zip or Read about it in the forum:http://www.vbforums.com/showthread.php?t=551700. Now in 3D!!! http://home.comcast.net/~technorobbo/AlPha3D.zip or read about it in the forum: http://www.vbforums.com/showthread.php?goto=newpost&t=552560 and IChessChat3D internet chess game

  2. #2
    Junior Member
    Join Date
    Aug 2015
    Posts
    31

    Re: Faking 3D with SetWorldTransform - No DirectX

    excellent job ... i know this post is old ... but it suits me a lot for my studies ... a question is it possible to correct the knurling in the image when applying angles?
    Thanks

  3. #3
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Faking 3D with SetWorldTransform - No DirectX

    technorobbo hasn't posted in this forum since late 2009, just FYI

    I doubt you'll be able to get rid of the jaggies using GDI BitBlt and StretchBlt in this context, short of creating your own rendering routines. With GDI+, world transformations with bicubic rendering is doable.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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