Click here to Skip to main content
15,891,033 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: diffrent DC share the same OpenGL list Pin
Sauro Viti18-Oct-10 7:43
professionalSauro Viti18-Oct-10 7:43 
QuestionHelp) Pin
_Mr_xXx_5-Sep-10 0:49
_Mr_xXx_5-Sep-10 0:49 
QuestionCreating MultiFrame images and dramatic increase in file size Pin
CMTietgen5-Aug-10 16:54
CMTietgen5-Aug-10 16:54 
AnswerRe: Creating MultiFrame images and dramatic increase in file size Pin
LunaticFringe5-Aug-10 23:31
LunaticFringe5-Aug-10 23:31 
GeneralRe: Creating MultiFrame images and dramatic increase in file size Pin
CMTietgen6-Aug-10 1:29
CMTietgen6-Aug-10 1:29 
QuestionOpenGL draw 3D earth with texture Pin
King Tran3-Aug-10 22:57
King Tran3-Aug-10 22:57 
QuestionSorting colors Pin
Nishad S30-Jul-10 2:06
Nishad S30-Jul-10 2:06 
AnswerRe: Sorting colors Pin
Luc Pattyn30-Jul-10 3:05
sitebuilderLuc Pattyn30-Jul-10 3:05 
I don't think there is a really good solution to your quest. First of all you have to decide what order you really want. If you have 6 colors (dark green, light green, dark blue, light blue, dark red, light red), what would you want as a result? Once you decided that, it wouldn't be too hard to implement it; the probable approach is giving each color a numeric value which probably would be calculated from two color aspects, e.g. 256 * hue + saturation (each aspect assumed to be between 0 and 255). However I can't imagine a good order for the example given earlier.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Sorting colors Pin
Nishad S30-Jul-10 3:30
Nishad S30-Jul-10 3:30 
QuestionPage layout library Pin
CodeBrain18-Jun-10 23:09
CodeBrain18-Jun-10 23:09 
QuestionDirect2d CB 6.0 error Pin
VovaL3-Jun-10 2:54
VovaL3-Jun-10 2:54 
AnswerRe: Direct2d CB 6.0 error Pin
Luc Pattyn3-Jun-10 3:08
sitebuilderLuc Pattyn3-Jun-10 3:08 
GeneralRe: Direct2d CB 6.0 error Pin
VovaL3-Jun-10 5:44
VovaL3-Jun-10 5:44 
AnswerRe: Direct2d CB 6.0 error Pin
Pete O'Hanlon3-Jun-10 3:17
mvePete O'Hanlon3-Jun-10 3:17 
QuestionSome questions Pin
Mountainking0229-May-10 3:40
Mountainking0229-May-10 3:40 
AnswerRe: Some questions Pin
Anthony Mushrow29-May-10 4:05
professionalAnthony Mushrow29-May-10 4:05 
GeneralRe: Some questions Pin
Mountainking0230-May-10 10:04
Mountainking0230-May-10 10:04 
QuestionResize Image Pin
Archimedes2412-May-10 3:05
professionalArchimedes2412-May-10 3:05 
AnswerRe: Resize Image Pin
Luc Pattyn12-May-10 3:59
sitebuilderLuc Pattyn12-May-10 3:59 
AnswerRe: Resize Image Pin
El Corazon25-May-10 14:49
El Corazon25-May-10 14:49 
QuestionColor Separations for Printers Pin
Roger Wright5-May-10 5:24
professionalRoger Wright5-May-10 5:24 
AnswerRe: Color Separations for Printers Pin
Luc Pattyn5-May-10 6:36
sitebuilderLuc Pattyn5-May-10 6:36 
GeneralRe: Color Separations for Printers Pin
Roger Wright5-May-10 7:50
professionalRoger Wright5-May-10 7:50 
GeneralRe: Color Separations for Printers Pin
Luc Pattyn5-May-10 7:56
sitebuilderLuc Pattyn5-May-10 7:56 
GeneralRe: Color Separations for Printers Pin
Roger Wright5-May-10 8:44
professionalRoger Wright5-May-10 8:44 

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.