graphics

What does a 3D Engine do for me?

I'm interested in developing an android application that will display a globe of some sort like Google Earth. I've never used opengl or have any experience with graphic programming so I'm here to learn some basics. Now, I know there are things like the Unity or Ogre that help facilitate graphics but what exactly do I gain from using the...

I am looking for an images generation library

Hi ! I want to write some games in ActionScript but I do not have any illustration skill. I am looking for a library that can help me generate simple but beautiful, colorful shapes I will then animate. Recently, I have stumbled upon such a library, written in C++ and newly ported to javascript, but I can't remember it anymore ! Somethin...

Ternary Raster Operations in Mac OS X and/or iOS?

I am looking to implement a mechanism that combines bitmaps together in a variety of complex ways, using ternary raster operations like you can in Windows. The idea is to be able to blt an image to a destination using any kind of combination of the source, brush, and destination pixels (source AND destination, source AND brush AND desti...

Newb: WPF custom graphic control - where to start

Hi All, Apologies if there is a thread for this already, I couldn't find one that I could get my teeth into. Anyway, I'm new to WPF and want to create a custom control that will be a sort of graphic control. The graphic will always consist of a circle, containing a matrix of several squares (from several hundred to several thousand act...

Copy a section of one UIImage to another

Hi there, I've got a large image (960 X 640) which I use for the level in an iphone game. At the moment, I export this from my level editor as one large image, one for each level. Obviously, this is quite wasteful! It would be much better if I had a tileset, and constructed the level images in game. I tried making a tile system, but i...

I have an OpenGL Tessellated Sphere and I want to cut a cylindrical hole in it

Hello, I am working on a piece of software which generated a polygon mesh to represent a sphere, and I want to cut a hole through the sphere. This polygon mesh is only an overlay across the surface of the sphere. I have a good idea of how to determine which polygons will intersect my hole, and I can remove them from my collection, but a...

Capturing the graphical output of microsoft word (or other windows app) programmatically

Hello, I would like to write a program that "captures the visual output" of Microsoft word and then save it as, for example, a bitmap. I am mainly interest in the capturing problem. I do not simply want to take a screenshot of the entire screen (and then trim it according to word's size) because there might be another window overlapping...

Create or manipulate EPS files using .NET

I have to create thousands of individual EPS (Encapsulated PostScript) files. These files will be printed by a company that uses a Roland printer and software. The printer software only accepts eps files. So this is the procedure I've implemented using a custom vector graphics library: Create an individual bitmap (this works) Draw a r...

Determine which control is closest to the mouse pointer

In my C# (.NET 2) app I'd like to determine which control is closet to the mouse. I can think of a few ways to do this that won't quite work right. I could use the Control.Location property, but that just gives me top/left, and the mouse might be on the other side of the control. I could calculate the center point of a control, but larg...

C# - Are there (similar) .AddChild and .AddEventListeners in C# and can they be used on Graphics?

Hello, I'm new to C# but not to OOP. I'd like to make a "canvas" panel on which a user can draw shapes by mouseClick-ing but also delete them (nothing fancy, fixed sizes and whatnot, plain old pen objects). Like I said, I want the user to be able to delete whatever objects he alt-clicks on. I'm not sure how exactly could I go about do...

UI design when Developing 1 mobile app for both iPhone and android..

As a developer What are your thoughts on UI design when Developing 1 mobile app for both iPhone and android.. Since the application will not be developed for a specific mobile device there are two options in regards to UI build the application using native UI (one for iphone, another for android) build the application using custom UI ...

Drawing a Fill Circle Segment in VB6

Hey all, I've tried for a good part of the day to do this. So please help me out. I want to draw something like a pie chart segment. So just a piece of a pie(chart), filled with a certain color. I know we can draw a circle using the Me.Circle function in a PictureBox to get a fill-circle. However, when you add the start and end, the ...

C# Graphics Libraries

Hi, Can anybody recommend any good, well documented graphics libraries for C#? Thanks. ...

Drawing with Silverlight in VS2010

Hi, I have a C# application developed with Visual Studio 2008 that is like a paint, where you can write using the mouse. I use the Graphics and Bitmap classes. Now, I need to do the same application but in Visual Studio 2010 and using the Silverligth Tools. Do you know what is the best way to do it? I was searching but not enough to fi...

Find tunnel 'center line'?

Hi All, I have some map files consisting of 'polylines' (each line is just a list of vertices) representing tunnels, and I want to try and find the tunnel 'center line' (shown, roughly, in red below). I've had some success in the past using Delaunay triangulation but I'd like to avoid that method as it does not (in general) allow fo...

Looking for some good text animation algorithms (commercial or open source)

I have a need to animate some text and don't have the time to come up with polished animation routines. I need some quality algorithms that provide source, because I will need to implement on multiple platforms. An example of what I'm looking for is the following Flash authoring product, but with source code, and preferably in C/C++, Jav...

Is there any console "graphics" library for .Net?

My basic goal here is writing a .NET remake of Kingdom of Kroz. For those not familiar with the game: http://www.indiefaqs.com/index.php/Kingdom_of_Kroz http://www.youtube.com/watch?v=cHwlNAFXpIw Originally it was supposed to be a quick distraction project to give me a break from all the generic enterprise WCF/WF/LINQ2SQL/etc work pro...

How to create a quality splash screen odd shaped like VS 2010?

Hello, I've seen some neat splash screens like VS 2010, Adobe products, etc. I know in VS.NET you can set a transparency color, etc. but I have never been able to make one look nice that didn't have some type of jagged edges or color issues on the edges. For example, I could create a black circle with magenta as the transparent color ...

How to make this(refer image) type of graph in datagridview

Hi experts, I wish to add this type of graph in my datagridviewcontrol :- Here the graph is to plotted for 12 months and I can either input percentages or comparative values in pixels for the 12 months....Please also tell how to color the graphs Any ideas for doing this will be highly appreciated Edit----Thanks for all the answers ...

Translating a Quaternion

(perhaps this is better for a math Stack Exchange?) I have a chain composed of bones. Each bone has a with a tip and tail. The following code computes where its tip will be, given a rotation, and sets the next link in the chain's position appropriately: // Quaternion is a hand-rolled class that works correctly (as far as I can tell...