This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Is bit blitting needed and how is it performed? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Is bit blitting needed and how is it performed?" Watch "Is bit blitting needed and how is it performed?" New topic
Author

Is bit blitting needed and how is it performed?

Ivan Slavka
Greenhorn

Joined: Feb 06, 2012
Posts: 11
Hi guys,

today I was reading about isometric and hexagonal maps for games( Isometric and Hexagonal maps ). Well personally I'm interested in hexagonal maps, but both of them had something similar. It is said, I quote: "Since both Iso and Hex tiles are contained in overlapping rectangles, you MUST USE BITMASKS!", well I don't understand why use bitmasks when I can create *.png image with transparency?

And another thing if this bit masking is really needed, how do I perform bit blitting in java, what methods or which class should I use?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Is bit blitting needed and how is it performed?
 
Similar Threads
Java endian and bit order and signed and unsigned and python and more confusion than I can deal with
Suggestion Required on packaging POJOs/DTOs with Web Service projects
Google demo doesn't work after changing the key of the its source
Beginner question about bit conversion
Kevin Bacon