Brothersoft.comWindows|Mac|Mobile|Games

|Message

Solve software problem quickly Share experience to help others Improve the ability of solving problem
I am using Direct3D to draw a tile map to the screen. Why can't get the edges to match properly?

09/05/2011 02:44 by ScottHamman

First answer posted by JavyTechGuy at 09/05/2011 02:44
Add Your Answer
10~1000 characters in length CAPTCHA:
1 Answers
  • JavyTechGuy
  • This is due to the algorithm used to determine what pixels to draw when rendering a triangle, which is determined by whether the center of each pixel is enclosed by the triangle.  The pixel centers lie on integer values, so if you are using integer coordinates to define a rectangle the sides will straddle pixels.
  • Was this answer helpful? 00 · 09/05/2011 02:44
Add Your Answer
10~1000 characters in length CAPTCHA:
Related Questions
Q:How to Extract TAR Files

A: Download and install the WinRAR file archiving software program. Although WinRAR specializes in RAR compression files, it can also extract f...(more)

Q:What Is the File Extension for Text Files?

A:Text files can have a variety of file extensions depending on their purpose or the exact formatting used within them, though by far the first ...(more)

Q:What Is the File Extension Rpc?

A: Archvision is a software company that specializes in the development of imaging software programs known as Image-Based Rendering. There...(more)

Q:How to Install a Backup Exec Agent on Solaris

A: Open a Terminal window or exit the Solaris Common Desktop Environment. Type "su" to log in as the root user. Type the following command ...(more)

Q:CPU-z says my CPU is running at 3541 mhz?

A:Just divide it by 1,000. 3541 MHz is 3.541 GHz. If you're getting a blue screen at 3.6, you'll either need to increase the voltage to the C...(more)

0 people are following

Ask a question now
Write a title for your question

DirectX 9.0c

DirectX is the multimedia system foundation for Windows operating systems.
Latest version:-
License:Freeware
OS:Windows Vista/2003/XP/2000
Total downloads:2,612,540
Rank:1 in Drivers
Download It

Share with friends

New features is coming

  • 1. Providing high-quality answers to be a verified Q&A expert
  • 2. Ask and answer questions to get Brothersoft credits

Added Successfully!

×

Are you sure to delete your answer?

NoYes

×

Are you sure to choose it as the best answer?

NoYes

×

Voted Successfully!

×

You can't vote for yourself

×

You can't choose your own answer

×