Click here to Skip to main content
15,921,250 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Metal Circle with GDI+ Pin
Henry Minute16-Jun-09 11:12
Henry Minute16-Jun-09 11:12 
QuestionWeb Cam URL Pin
Dinker Batra9-Jun-09 21:15
Dinker Batra9-Jun-09 21:15 
Questionhow can I load a image into memory? Pin
transoft8-Jun-09 4:38
transoft8-Jun-09 4:38 
QuestionCreating an Emboss/Bevelled effect for Circles and Rectangles [modified] Pin
Leslie Sanford7-Jun-09 19:56
Leslie Sanford7-Jun-09 19:56 
AnswerRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig8-Jun-09 14:38
Tim Craig8-Jun-09 14:38 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Leslie Sanford8-Jun-09 15:37
Leslie Sanford8-Jun-09 15:37 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig8-Jun-09 19:09
Tim Craig8-Jun-09 19:09 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Leslie Sanford8-Jun-09 19:52
Leslie Sanford8-Jun-09 19:52 
Tim Craig wrote:
Are you looking to create graphical controls on the fly? The gradient idea sounds reasonable. The corners probably aren't that critical if that is the application.


My goal is to create a widget set for Windows Forms (and maybe eventually WPF) made up of knobs, sliders, and quite a few other custom controls. I'm hoping there's a market for this sort of thing. At any rate, I've spent the past couple of years writing VST plugins. In this arena custom UI's are the rule, and I'd like to take the knowledge I've gained creating in creating them and applying that to a .NET custom control library.

Here's an example of a VST UI I created:

Super Filter[^]

It's completely bitmap based.

So I'm trying to get my GDI+ chops up to the point where I can recreate the same level of detail only "on the fly," as you put it. My goal would be a set of controls that are drawn with GDI+ rather than pre-rendered with bitmaps. For examples, say you have a knob control. It would be cool to give it a Bevel property that let you set how beveled the edges looked.

While I have a feel for what makes up an image like a knob, recreating that programmically is another matter. I'm trying to walk the line between getting enough knowledge to do the job and diving headlong into studying mathematically intensive graphics algorithms.

The gradient approach seems ok, but I think I need to tweak how the colors fade a bit instead of relying on the default linear setting. The square shape seems more challenging in that the corners look like they need special care.

Anyway, I didn't mean to write such a long post. But at least you have an idea where I'm coming from. Big Grin | :-D
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig9-Jun-09 15:05
Tim Craig9-Jun-09 15:05 
QuestionGLX rendering context problem Pin
sheeri manik2-Jun-09 15:08
sheeri manik2-Jun-09 15:08 
QuestionDxText for Offline VideoWatermarking Pin
anki12326-May-09 21:24
anki12326-May-09 21:24 
QuestionObject transform problem! Pin
Avion8525-May-09 13:30
Avion8525-May-09 13:30 
AnswerRe: Object transform problem! Pin
Baltoro4-Jun-09 7:44
Baltoro4-Jun-09 7:44 
Question3D Model seems to be all... 2Dish [Solved] Pin
Anthony Mushrow24-May-09 16:24
professionalAnthony Mushrow24-May-09 16:24 
AnswerRe: 3D Model seems to be all... 2Dish Pin
Tim Craig24-May-09 17:50
Tim Craig24-May-09 17:50 
QuestionDrawing a Sphere in 3D Pin
Avion8520-May-09 9:36
Avion8520-May-09 9:36 
AnswerRe: Drawing a Sphere in 3D Pin
Baltoro20-May-09 15:09
Baltoro20-May-09 15:09 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8521-May-09 2:42
Avion8521-May-09 2:42 
GeneralRe: Drawing a Sphere in 3D Pin
Baltoro23-May-09 9:15
Baltoro23-May-09 9:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8523-May-09 10:15
Avion8523-May-09 10:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8524-May-09 13:14
Avion8524-May-09 13:14 
GeneralRe: Drawing a Sphere in 3D Pin
weightloss3-Jun-09 6:00
weightloss3-Jun-09 6:00 
GeneralRe: Drawing a Sphere in 3D Pin
Avion854-Jun-09 10:04
Avion854-Jun-09 10:04 
GeneralRe: Drawing a Sphere in 3D Pin
yoghurt14-Jun-09 22:27
yoghurt14-Jun-09 22:27 
GeneralRe: Drawing a Sphere in 3D Pin
Avion855-Jun-09 2:52
Avion855-Jun-09 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.