Solved

Horizontally flipped sprite

Posted on 2004-09-13
5
696 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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