Questions tagged [pixel-graphics]
33 questions
19
votes
2 answers
What is Tessellation in computer graphics
In recent games I have noticed something called Tessellation, Turning the thing ON destroys my frame rate.
I have noticed that it when turned on it looks like Anti - Aliasing.
Can someone give me further information on what exactly the GPU does.
Anarach
- 293
- 1
- 2
- 6
13
votes
2 answers
Fast antialiased line drawing
Bresenham's line algorithm is a way of drawing straight lines using only fast integer operations (addition, subtraction, and multiplication by 2). However, it generates aliased lines. Is there a similarly fast way to draw antialiased lines?
Mark
- 1,572
- 15
- 21
9
votes
3 answers
How does a computer upscale 1024x768 resolution to 1920x1080?
Without there being black bars I mean. 1080 isn't any multiple of 768 so is there some sort of data loss?
V0ight
- 91
- 2
7
votes
1 answer
Why does checkerboard pattern on a computer screen appear with a yellowish tint?
This question was originally asked on Physics, then moved to Cognitive Sciences.
Consider the following image:
You might want to display the image in a new page, in case it gets resized for mobile displays.
On the top half, there is a pixel-sized…
IS4
- 173
- 1
- 4
6
votes
1 answer
Anti-aliasing - Controlling colour density of pixel that comes within the "rectangle" surrounding my line
I am currently a beginner when it comes to anti-aliasing. I have read some notes online that how anti-aliasing works is that you first draw the line using an algorithm such as Bresenham's algorithm. Then you modify it to include anti-aliasing.
Now,…
Belphegor
- 163
- 3
5
votes
2 answers
Get screen size and then resize image accordingly
I'm a programmer working in Java and I'm not sure if this is the right place to ask this kind of question, here it goes:
In my program, I need to show an image (.jpeg .png etc.) based on the screen size, this image is used to compare to real size…
4673_j
- 151
- 3
5
votes
1 answer
Do GPU performance improve when rendering at native or half resolution, compared to fixed scaling?
This might be an odd question, but I was wondering if you could improve GPU performance with games, comparatively, when using doubles/halves of the native resolution, instead of an odd ratio of that.
Lets compare the situation with a metaphor first.…
Sander Schaeffer
- 151
- 4
4
votes
2 answers
Difference in pixels between different monitors' sizes
If I have an image of x/y resolution and display it on a monitor, does this mean that between a 15-inch monitor and a 42-inch, the same amount of pixels (x/y) will be displayed, only that each pixel will be of different size?
In relation to my…
FLUSHER
- 141
- 3
4
votes
1 answer
library / tool for implementing algorithms
I'm new to graphics and want to implement algorithms like dda,scan-line, clipping,etc. I'm confused which library to use. OpenGl, graphics in turbo c,or any other. Please suggest.
The_Coder
- 143
- 4
3
votes
1 answer
What is this technique called and how can I reproduce it algorithmically?
I don't know the name of this technique, but the idea is to adjust the density and location of identical dots or small objects in order to produce a gray tone image or even a suggestion of three dimensionality. It's better to use these two images…
uhoh
- 330
- 1
- 12
3
votes
1 answer
human visual: relation of Distance and DPI
I was told that human's visual sharpness is 60 pixels per degree. As such, pixel per inch is approximately given by:
PPI = 1/ (Distance * tg((1/60*pi/180) )
Is this formula fully correct? (I saw similar, but slightly different versions). How is…
Tina J
- 229
- 1
- 9
3
votes
1 answer
vertical or horizontal line test
I have a line segment defined by two coordinate values and I need to check if the line segment is parallel to the x-axis or y-axis. I believe that it is not that difficult to find. When it comes to test for parallelism against x-axis, we just need…
sajis997
- 1,209
- 1
- 9
- 13
2
votes
3 answers
How does the Painter's Algorithm handle transparency?
I was wondering if anyone could explain how the Painter's algorithm would handle transparent objects? Can the Painter's algorithm handle transparency?
AC007
- 23
- 4
2
votes
1 answer
Calculate set of rectangles covering pixel diffs?
I'd like to develop a system for web animation similar to animated gifs, like this one. I capture a series of screenshots at fixed time intervals, and then I'd like to animate them. I can trivially calculate the pixels which have changed from one…
Colin
- 121
- 2
2
votes
1 answer