Click here to Skip to main content
16,011,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
emmanuel.vende8-Dec-03 9:28
emmanuel.vende8-Dec-03 9:28 
Generalproblem solved ! Pin
emmanuel.vende8-Dec-03 10:20
emmanuel.vende8-Dec-03 10:20 
Generalpassing 2 dim array Pin
K. Shaffer6-Dec-03 13:06
K. Shaffer6-Dec-03 13:06 
GeneralRe: passing 2 dim array Pin
Alexander M.,6-Dec-03 13:29
Alexander M.,6-Dec-03 13:29 
GeneralRe: passing 2 dim array Pin
K. Shaffer6-Dec-03 14:53
K. Shaffer6-Dec-03 14:53 
GeneralRe: passing 2 dim array Pin
Prakash Nadar6-Dec-03 22:09
Prakash Nadar6-Dec-03 22:09 
GeneralRe: passing 2 dim array Pin
Jonas Larsson8-Dec-03 4:06
Jonas Larsson8-Dec-03 4:06 
Generalcrossfade between 2 bitmaps Pin
Ted Ferenc6-Dec-03 12:33
Ted Ferenc6-Dec-03 12:33 
Oops I posted this in the wrong forum originally, I must learn how this internet thing works some timeBlush | :O

Does anyone know of a fast algorithm for fading between 2 large, 24 bit bitmaps?

I use:-
colour = newColour*factor + (oldColour * (1.0 - factor));

when factor is between 0.0 and 1.0, but it is very slow iterating through each colour. Are there any standard (easy) methods in DirectX, Direct3D or any libraries, freeware or commercial etc?



"The greatest mistake you can make in life is to be continually fearing you will make one." - Elbert Hubbard
GeneralRe: crossfade between 2 bitmaps Pin
Alexander M.,6-Dec-03 13:13
Alexander M.,6-Dec-03 13:13 
GeneralRe: crossfade between 2 bitmaps Pin
Ted Ferenc6-Dec-03 21:56
Ted Ferenc6-Dec-03 21:56 
GeneralTree View/Control Pin
sqa-dave6-Dec-03 12:11
sqa-dave6-Dec-03 12:11 
GeneralRe: Tree View/Control Pin
sqa-dave8-Dec-03 6:31
sqa-dave8-Dec-03 6:31 
QuestionHow to find if a non-modal dialog is visible Pin
srev6-Dec-03 10:33
srev6-Dec-03 10:33 
AnswerRe: How to find if a non-modal dialog is visible Pin
User 66586-Dec-03 11:20
User 66586-Dec-03 11:20 
AnswerRe: How to find if a non-modal dialog is visible Pin
Anthony_Yio7-Dec-03 15:39
Anthony_Yio7-Dec-03 15:39 
GeneralSize of check box and combo box Pin
Vancouver6-Dec-03 9:34
Vancouver6-Dec-03 9:34 
GeneralCD Burning Pin
Matthew R. Miller6-Dec-03 9:08
Matthew R. Miller6-Dec-03 9:08 
GeneralRe: CD Burning Pin
Alexander M.,6-Dec-03 13:17
Alexander M.,6-Dec-03 13:17 
GeneralRe: CD Burning Pin
Anonymous6-Dec-03 15:53
Anonymous6-Dec-03 15:53 
GeneralRe: CD Burning Pin
Scozturk7-Dec-03 2:03
professionalScozturk7-Dec-03 2:03 
GeneralScreenshot of a hidden window Pin
C-lviu6-Dec-03 8:54
C-lviu6-Dec-03 8:54 
GeneralRe: Screenshot of a hidden window Pin
User 66586-Dec-03 13:07
User 66586-Dec-03 13:07 
GeneralRe: Screenshot of a hidden window Pin
C-lviu7-Dec-03 2:03
C-lviu7-Dec-03 2:03 
GeneralRe: Screenshot of a hidden window Pin
Joe Woodbury7-Dec-03 9:29
professionalJoe Woodbury7-Dec-03 9:29 
GeneralFTP server Pin
Amit Dey6-Dec-03 6:36
Amit Dey6-Dec-03 6:36 

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.