Re: to Mr.Riggins and Mr.Cuny
- Posted by Todd Riggins <triggins at AIRMAIL.NET> Sep 12, 1999
- 425 views
Talvitie wrote: > > I checked out Exotica's latest version and I must say that those demos were > very impressive! You've done great job, Todd, but one question: > is it possible to write the whole screen > once(put_pixel{x,y,Sequence_of_colors})? > and another: is put_pixel{x,y,color} as fast as ScrBuffer[place]=color where > ScrBuffer is sequence in main program. if put_pixel is much slower then I'd > rather write the whole screen once. But, if it's almost or as fast then I could > write pixels directly without using any buffer in my main prog. Thanks for the feedback, Talvitie. :) The put_pixel routine is written in 'C' language and not in assembly whereas its a fast it's going to get for my experience until I learn assembly. :) Also, it only plots one pixel at x,y and is not able to do a sequence of colors. I've included some routines in the lastest Exotica( SURFACE_PITCH, SURFACE_POINTER and BPP) which should help in mem_copy a screen buffer to a DirectX surface. This is where I need help with. If you or somebody else can provide me a very basic example on how Euphoria can mem_copy a bitmap to the screen(Dos example is what I'm expecting here) then I can continue testing out the new routines and see if I can get it to work. - Todd Riggins