Click here to Skip to main content
15,905,963 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: urgent..pzzz!! Pin
El Corazon14-May-07 6:38
El Corazon14-May-07 6:38 
QuestionMore than one 'SwapBuffers(HDC)' Pin
XTAL25610-May-07 15:23
XTAL25610-May-07 15:23 
AnswerRe: More than one 'SwapBuffers(HDC)' Pin
El Corazon10-May-07 16:12
El Corazon10-May-07 16:12 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25610-May-07 17:01
XTAL25610-May-07 17:01 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
El Corazon13-May-07 18:55
El Corazon13-May-07 18:55 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25618-May-07 16:59
XTAL25618-May-07 16:59 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25631-May-07 15:16
XTAL25631-May-07 15:16 
AnswerRe: More than one 'SwapBuffers(HDC)' Pin
Rilhas20-May-07 2:25
Rilhas20-May-07 2:25 
Hi,

I agree with previous posts. I will take a lot of time to download your files, compile them, run them... even if the resulting images are quite cool. I come here once in a while to give some advice if I think they can be usefull, but I have my own project and many other things to ocupy my time.

So I would like to invite you to state what your problem is. In other words, what it is that is happening that is not as you expected? I think this is a good starting point for me to try to help.

Anyway, I suspect that SwapBuffers() 2 times results in not swapping at all. At least with double buffering. So I don't know why you would want that.

I have the feeling you would want something like:

1. WaitEvent()
2. TakePrimaryBufferAndCopyItToTexture()
3. WarpItAsNecessary()
4. DrawToSecondaryBuffer()
5. SwapBuffersOnceToMakeSecondaryBecomePrimary()
6. goto 1.

Is this not what you want?

I hope this helps,
Rilhas

Questionsaving my drawing as atext file...!! Pin
mr jets9-May-07 23:55
mr jets9-May-07 23:55 
AnswerRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 1:28
PandemoniumPasha10-May-07 1:28 
GeneralRe: saving my drawing as atext file...!! Pin
mr jets10-May-07 2:01
mr jets10-May-07 2:01 
GeneralRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 21:52
PandemoniumPasha10-May-07 21:52 
AnswerRe: saving my drawing as atext file...!! Pin
Christian Graus13-May-07 12:44
protectorChristian Graus13-May-07 12:44 
Questiondrawing algorithms Pin
sarah_malik6-May-07 10:06
sarah_malik6-May-07 10:06 
AnswerRe: drawing algorithms Pin
El Corazon6-May-07 10:43
El Corazon6-May-07 10:43 
GeneralRe: drawing algorithms Pin
sarah_malik6-May-07 11:11
sarah_malik6-May-07 11:11 
GeneralRe: drawing algorithms Pin
El Corazon6-May-07 11:47
El Corazon6-May-07 11:47 
Answer[Message Deleted] Pin
#1236-May-07 15:19
#1236-May-07 15:19 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 2:16
El Corazon7-May-07 2:16 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 2:42
sarah_malik7-May-07 2:42 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 5:31
El Corazon7-May-07 5:31 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 6:52
sarah_malik7-May-07 6:52 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 7:22
El Corazon7-May-07 7:22 
GeneralRe: drawing algorithms Pin
sarah_malik7-May-07 10:56
sarah_malik7-May-07 10:56 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 11:25
El Corazon7-May-07 11:25 

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.