Solved

Horizontally flipped sprite

Posted on 2004-09-13
5
685 Views
Last Modified: 2013-12-08
How do i blit a horizontally flipped sprite in managed directX?  An answer in unmanaged directx would help too.
0
Comment
Question by:davidastle
  • 2
5 Comments
 
LVL 3

Expert Comment

by:str_ek
ID: 12052779
http://blogs.msdn.com/tmiller/archive/2004/02/05/68347.aspx

and find "flip"

and i agree. as far as i know there is no eazy way to simply blit a flipped sprite ... the way is by haveing it as a poly you texture and swap texture coords.. (like a billborad), but it takes some extra brain damage to make it that way ( hey.. wher is that old cool ddraw7 ;))
0
 
LVL 2

Author Comment

by:davidastle
ID: 12059400
Yah, i wrote my own flip fnction that returns a flipped texture.  Bah!  There is no better way?  grr!
0
 
LVL 3

Accepted Solution

by:
str_ek earned 500 total points
ID: 12065361
afak no....  but once again i anvocate to forget blitting, and simply draw a textured poly :) it's eazier to maintain(well sometimes, with not muchobjects to trace alfa nad hence not wide deapth differences between layers, so there wont be glithes) and if you take planing in your own hands it works just fine... the only prob is to find/calulate te exact correct projection matrix, so it look flat;)
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question