Flubber bad by
Wizzbit
Description
#4 at Ambience 1998 raytrace gfx compo. Details
Submitted by: CONS
- Page loaded: 1328
- Rating: 1.5 (2 Votes)
Comments
CONS | 2011-06-30
This is not vertically flipped, your monitor is standing upside down!
Lanch | 2011-06-30
Vertically flipped pictures were a quite common problem with TARGA format... (*.TGA file extension)
CONS | 2011-06-30
look, i said vertically in the first place MAGIC!
beside that i would like to know more about it and what role tga plays.
regarding the picture: i find ir really overcolored.
beside that i would like to know more about it and what role tga plays.
regarding the picture: i find ir really overcolored.
Lanch | 2011-06-30
About the Targa vertical flip issue:
http://dmr.ath.cx/gfx/targa/
"int tga_is_top_to_bottom(const tga_image *tga);
Returns 1 if the Targa is stored in top-to-bottom order, or 0 if bottom-to-top order. By default, Targa images are stored in bottom-to-top order so that the positive y-axis points upwards as it usually does in mathematics."
A technical reason can be hinted here:
http://download.java.net/media/jogl/builds/archive/jsr-231-beta5/javadoc_public/com/sun/opengl/util/Screenshot.html
"readToBufferedImage
public static BufferedImage readToBufferedImage(int width,
int height)
throws GLException
Takes a screenshot of the current OpenGL drawable to a BufferedImage. Requires the OpenGL context for the desired drawable to be current. Note that the scanlines of the resulting image are flipped vertically in order to correctly match the OpenGL contents, which takes time and is therefore not as fast as the Targa screenshot function.
No alpha channel is read back with this variant.
Parameters:
width - the width of the current drawable
height - the height of the current drawable
Throws:
GLException - if an OpenGL context was not current or another OpenGL-related error occurred"
http://dmr.ath.cx/gfx/targa/
"int tga_is_top_to_bottom(const tga_image *tga);
Returns 1 if the Targa is stored in top-to-bottom order, or 0 if bottom-to-top order. By default, Targa images are stored in bottom-to-top order so that the positive y-axis points upwards as it usually does in mathematics."
A technical reason can be hinted here:
http://download.java.net/media/jogl/builds/archive/jsr-231-beta5/javadoc_public/com/sun/opengl/util/Screenshot.html
"readToBufferedImage
public static BufferedImage readToBufferedImage(int width,
int height)
throws GLException
Takes a screenshot of the current OpenGL drawable to a BufferedImage. Requires the OpenGL context for the desired drawable to be current. Note that the scanlines of the resulting image are flipped vertically in order to correctly match the OpenGL contents, which takes time and is therefore not as fast as the Targa screenshot function.
No alpha channel is read back with this variant.
Parameters:
width - the width of the current drawable
height - the height of the current drawable
Throws:
GLException - if an OpenGL context was not current or another OpenGL-related error occurred"
Anarkhya | 2011-06-30