DirectDraw Overlays
Does anyone have a working example (code) of a DirectDraw overlay? Like something moving on the screen. I have been trying to find an example of DirectDraw overlaying usage and was unable to. Thank you. ...
Does anyone have a working example (code) of a DirectDraw overlay? Like something moving on the screen. I have been trying to find an example of DirectDraw overlaying usage and was unable to. Thank you. ...
Hi All, I've managed to create a simple mandelbrot explorer using Open Gl, and the CGFX SDK provided by NVidia. It works well, but is currently float based, and therefore doesn't have much "depth" -- As the distance from the lowest complex number to the largest becomes smaller, the precision is lost, and the resultant image is "pixelate...
System.Drawing.Graphics.DrawImage pastes one image on another. But I couldn't find a transparency option. I have already drawn everything I want in the image, I only want to make it translucent (alpha-transparency) ...
HI, I have placed a graphic inside my report in SQL Server Reporting Services 2008. My only problem is that the natural behavior of the graphic is to have fixed width and heights, no matter how many items you have inside your graphic. Sometimes I have as few as 5 to 8 items in my Y axis, but sometimes I have some 20 or 25. What happens i...
I've been given a free choice of final project for my software development course, I'm quite interested in attempting a distributed programming task, My initial thought was to create a simple photon scattering renderer but I don't think I'd get far past rendering platonic solids and metaballs. Any suggestions, or interesting areas I mig...
It took me >1 day and I still haven't figured out why. I'm using Ubuntu 9.10, trying to make a simple OpenGL to work in c++. whenever I used GLUT_SINGLE parameter, it gives me a full black screen. I had to click mouse randomly on that screen in order to get out. This is so much annoying. Possibly a bug. Can anybody help? Here is the ...
hi, I'm trying to write an application where I want to add different pictures on a Jpanel. Everything works fine except for the JPG format which displays very bad quality images. This is how I do the drawing : class draw extends Canvas { Dimension canvasSize = new Dimension(400, 400); String fileName; public void paint(...
Hello, everyone! I can't find a good reference about color-modifying functions (such as contrast, brightness, gamma, ...). (Is there a more exact term for what I mean?) Would appreciate a tutorial with example pictures and implementation algorithms. Thank you! EDIT: Platform and language is not so important. I'm interested in pure m...
Hi everybody! I want to know if it is possible to use OpenGl ES on Xilinx to developp a 3D application. thanks! ...
I know this isn't very relevant to programming, but I need to know how a convolution matrix works for a PHP GD function. I've searched a lot on Google, but can't find anything that explains it well. ...
The Processing project website has an example of implementing a 3D textured sphere with rotational capabilities. I'm trying to understand the code, but I'm having trouble comprehending many of the code blocks since I don't have a background in graphics. Any higher-level explanation of what each block is trying to accomplish, perhaps re...
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 ? ...
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 how to use some ColorFilters and made a cool effect with ColorMatrixColorFilter. Now I hav...
I'm looking for alternatives to the Love2D graphics/game library which ideally would support the following: Easy primitive rendering (e.g. points, lines, 2d polygons) Ability to load and draw images basic text rendering (though something more full-featured would be nice) Do any others exist? ...
What's the best way to draw shapes interactively at run time using Delphi? I need to be able to select, drag and resize the shapes. This will be used to mark up existing images and documents. This looks like a good starting point, but I'm wondering if there's a more complete library (preferably free) available that will save some time...
In WPF, it is very easy to make resizable graphics/artwork. You simply create a DrawingBrush and use it as the fill for a Rectangle or a Shape. Or, you can simply use a VisualBrush that refers to Canvas with Shapes/Paths on it. In Silverlight, though, there isn't a DrawingBrush and there isn't a VisualBrush. So, how does one best create...
I have a custom C# user-control where I would like to draw a circle behind a textbox anchored to the centered bottom of the control. I'm drawing the circle like: protected override void OnResize(EventArgs e) { this.gp= new GraphicsPath(); this.gp.AddEllipse(0,0,width,height); //this is the width and height of the control this....
Given 2 java AffineTransform items, how can I interpolate between them. I need the image on screen to slowly move from the position/rotation/scale with one matrix applied, to the other. Preferably this should be reasonably efficient since it's running every time a game draws. My current (really hacky) solution is to getTranslate() from...
I'm trying to make a maze game in Java. The Explorer class represents the user, and the DrawableExplorer is the code that graphically represents the user. DrawableExplorer implements the Drawable interface which contains: import java.awt.Graphics; public abstract interface Drawable { public abstract void draw(Graphic...
The luminence of pixels on a computer screen is not usually linearly related to the digital RGB triplet values of a pixel. The nonlinear response of early CRTs required a compensating nonlinear encoding and we continue to use such encodings today. Usually we produce images on a computer screen and consume them there as well, so it all ...