Questions tagged [graphics]

Graphics are visual presentations. Questions using this tag should also be tagged with the appropriate language and graphics subsystem in use. For more general graphics questions, consider Computer Graphics Stack Exchange (computergraphics.stackexchange.com).

Graphics

The tag should be assigned to questions about constructing, displaying and manipulating visual presentations. Questions should also be tagged with the appropriate language and graphics subsystem in use. For more general graphics questions, consider Computer Graphics Stackexchange.

While historically there were two parallel developments of vector and raster (bitmap) systems, modern systems all implement the raster model at the hardware layer but may use extensive applications of vector graphics techniques at higher levels. The entire chain through the various levels to go from model to picture on screen is known as the pipeline.

The Borland Graphics Interface (graphics.h) has its own tag:

Examples

Construction:

  • How to turn raw data into a bitmap?
  • How to generate a chart, how to draw using vectors?
  • How to load a .3ds file and display the model?

Displaying

  • How to display a large bitmap scaled down?
  • How to use an image as a texture for a control?
  • How to ray-trace voxel data?

Manipulating

  • How to modify images using common effects such as filters?
  • How to create animations?

Counterexamples

  • How to draw using a paint program? --> too basic, not programming related
  • How to take a picture when there is not enough light? --> see Photography
  • How to scan a pencil drawing? --> software tools, see SuperUser
  • What graphics card should I buy? --> shopping questions are off-topic on most SE sites

Resources

Free Graphics Programming Books

20510 questions
6
votes
1 answer

Libgdx multiple screens

Thanks to the help I got with my other problems on this forum, I managed to advance my project, but yet another obstacle appears in my way. I am having trouble implementing multiple Screens in libgdx for java. I would like to know how can I…
Andrew
  • 1,109
  • 1
  • 15
  • 27
6
votes
2 answers

Combine a lot (~1000-2000) of Jpeg images into one

I'm using the following code right now, and it works for ~300 images, but I have to merge more than one thousand. private static void CombineThumbStripImages(string[] imageFiles) { int index = 0; using (var result = new Bitmap(192 *…
Tamás Varga
  • 635
  • 5
  • 17
6
votes
2 answers

Changing the alpha values in R{graphics} while the colour argument is used

I'm so used to doing this in ggplot2 that I'm having a very hard time figuring out how to specify alpha values using R base graphics, while the col= argument in plot() is used for assigning a colour type to a categorical variable. Using the iris…
user3389288
  • 992
  • 9
  • 30
6
votes
2 answers

Gnuplot: Use fit in log scale

I need to make a linear approximation. However it needs to be in a log scale. Here is my gnuplot script: f(x)= a*x+b fit f(x) "d0.dat" via a,b set logscale x set logscale y plot "d0.dat" with points lt rgb "#ff0000" title "Points", \ f(x) with lines…
Rafael Castro
  • 579
  • 5
  • 14
6
votes
2 answers

QT - best painting "canvas" for different purposes

I'm programming my bachelor's thesis application and there will be three different types of drawings. I need to render/draw/paint fractal structures made by: Iterated function systems (draw line or simple path, make copy of the drawing (or part of…
Honza
  • 939
  • 2
  • 11
  • 28
6
votes
2 answers

How to make gradient border of an image using java?

How can I make an image border as gradient. I googled a lot, but didn't find correct suggestion. Any one can help me... Any suggestion please...
6
votes
2 answers

What is tile based deferred rendering and what is its advantage?

I read this concept here. But I did not get this part: "The key advantage to a deferred renderer is that it accesses memory very efficiently. Partitioning rendering into tiles allows the GPU to more effectively cache the pixel values from the…
debonair
  • 2,505
  • 4
  • 33
  • 73
6
votes
3 answers

Reverse Java Graphics2D scaled and rotated coordinates

I use Graphics2D in Java to scale and rotate the picture I draw. I now want to be able to tell what the original coordinates were when I click on a certain point in the picture. So given the rotated and scaled coordinates I want to calculate the…
Peter Örneholm
  • 2,838
  • 20
  • 24
6
votes
2 answers

Skia and Android Paint drawing objects and their use or documentation

Does anyone know of good documentation for the Skia drawing library used by Android? The main Canvas object has hardly any state, so I'm thinking especially of the objects you can embed into the Paint object. I've worked out by trial and error…
Brian
  • 8,454
  • 5
  • 27
  • 30
6
votes
2 answers

non-blocking SwapBuffers() with VSync=on

I am looking for a portable way to make a non-blocking SwapBuffers() even if VSync is activated. In other words, is it possible to to be notified by an event or to know the delay until the next VSync ?
Franck Freiburger
  • 26,310
  • 20
  • 70
  • 95
6
votes
2 answers

Change button's background alpha without changing the text alpha value in Android?

I have a button with an image background and text. The background alpha should be 0.7 and the text alpha should be 1.0.
Alon Levanon
  • 691
  • 5
  • 18
6
votes
2 answers

Windows Form "Hole"

How would I go about creating a dynamic "hole" in a windows form through which the user could see the actual desktop instead of the form? Right now I've created a translucent form on top of the entire screen and I'm looking to see through that…
cam
  • 8,725
  • 18
  • 57
  • 81
6
votes
5 answers

Qt plotting application

Currently I'm trying to develop some simple plot prototype and I'm struggling with some kind of white/empty sheet syndrome. I'm back to Qt after 2 years, so I feel quite retarded. My application should: plot and manage custom layers of data plot on…
bua
  • 4,761
  • 1
  • 26
  • 32
6
votes
3 answers

Polygon vertices as UV coordinates

I am working on a 3D renderer in Java using the Graphics class, It is now capable of drawing any shape with coloured faces, however I was wondering if it was possible to texture the faces? I have seen a lot of people creating software renderers in…
Lee Fogg
  • 775
  • 6
  • 22
6
votes
5 answers

How to check for convexity of a 3d mesh?

Is there a fast way to do this? Searching online shows convexity of functions or single polygons. But I need the ability to check this for the whole model. An object can have convex faces but can be concave as a whole like a torus.
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
1 2 3
99
100