Click here to Skip to main content
15,898,222 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
Luc Pattyn25-Dec-09 9:12
sitebuilderLuc Pattyn25-Dec-09 9:12 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
dybs25-Dec-09 9:47
dybs25-Dec-09 9:47 
QuestionGDI+ under Windows 7 Pin
Leslie Sanford22-Dec-09 13:13
Leslie Sanford22-Dec-09 13:13 
AnswerRe: GDI+ under Windows 7 Pin
clawton24-Dec-09 11:56
clawton24-Dec-09 11:56 
GeneralRe: GDI+ under Windows 7 Pin
ZTransform5-Jan-10 2:25
ZTransform5-Jan-10 2:25 
GeneralRe: GDI+ under Windows 7 Pin
Dan Mos27-Jan-10 14:01
Dan Mos27-Jan-10 14:01 
Questionhow to get contour lines and u,v vector plots in OpenGL? Pin
gourishsio5-Dec-09 22:12
gourishsio5-Dec-09 22:12 
AnswerRe: how to get contour lines and u,v vector plots in OpenGL? Pin
LunaticFringe6-Dec-09 2:27
LunaticFringe6-Dec-09 2:27 
One thing at a time. Let's look at the vectors first.

Each vector arrow will consist of two elements - a line and an arrowhead. The length of the line should be related to the magnitude of the vector, and it should be rotated to match the angle implied by the two cartesian components (U and V). The lines should probably be scaled so that the longest one stretches completely across it's 'cell' in the vector field, without reaching into adjoining cells.

The arrowhead is a little trickier. You need to work out the dimensions for the basic triangular shape you'll want, with it pointing, for instance, stright up. The shape will be defined by the locations of the three corners, relative to the center of the arrowhead. Then modify your arrowhead code so it'll take an angle as a parameter, and will render the arrowhead rotated to that angle. (Hint- if you define the arrowhead by it's corners, you should be able to apply the rotation to the corners and then draw the triangle.

That should get you started, anyway.

Smile | :)
QuestionDraw Text Upside Down Pin
WaveK8928-Nov-09 13:57
WaveK8928-Nov-09 13:57 
AnswerRe: Draw Text Upside Down Pin
Luc Pattyn28-Nov-09 14:22
sitebuilderLuc Pattyn28-Nov-09 14:22 
AnswerRe: Draw Text Upside Down Pin
Tim Craig28-Nov-09 20:55
Tim Craig28-Nov-09 20:55 
AnswerRe: Draw Text Upside Down Pin
Richard MacCutchan28-Nov-09 21:40
mveRichard MacCutchan28-Nov-09 21:40 
Question3D Image Display. Pin
ashwath197919-Nov-09 23:20
ashwath197919-Nov-09 23:20 
AnswerRe: 3D Image Display. Pin
Baltoro21-Nov-09 11:48
Baltoro21-Nov-09 11:48 
AnswerRe: 3D Image Display. Pin
LunaticFringe22-Nov-09 7:32
LunaticFringe22-Nov-09 7:32 
GeneralRe: 3D Image Display. Pin
Tim Craig22-Nov-09 8:06
Tim Craig22-Nov-09 8:06 
QuestionSet the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks12-Nov-09 2:55
RobstaHendricks12-Nov-09 2:55 
AnswerRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan12-Nov-09 5:55
mveRichard MacCutchan12-Nov-09 5:55 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks12-Nov-09 23:03
RobstaHendricks12-Nov-09 23:03 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan12-Nov-09 23:18
mveRichard MacCutchan12-Nov-09 23:18 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks13-Nov-09 0:09
RobstaHendricks13-Nov-09 0:09 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan13-Nov-09 0:29
mveRichard MacCutchan13-Nov-09 0:29 
Questioncolor picking method to select primitive in opengl Pin
gourishsio12-Nov-09 1:53
gourishsio12-Nov-09 1:53 
AnswerRe: color picking method to select primitive in opengl Pin
LunaticFringe22-Nov-09 7:52
LunaticFringe22-Nov-09 7:52 
GeneralRe: color picking method to select primitive in opengl Pin
gourishsio22-Nov-09 17:15
gourishsio22-Nov-09 17:15 

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.