1. to Mr.Riggins and Mr.Cuny

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:=20
is it possible to write the whole screen =
once(put_pixel{x,y,Sequence_of_colors})?=20
and another: is put_pixel{x,y,color} as fast as ScrBuffer[place]=3Dcolor =
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.


I also found out that David has a new project attached to win32lib: =
Design. I sure hope your going to develop that VisualBasic look-a-like I =
was talking some time ago!
One suggestion tough:
Why not read and write .exw files instead of those "project files". =
After all, there's only one file when executing, right? If using .exw =
files it would be easy for users to edit them with other editors. I =
quess it will also be easier to develop new versions of Design and =
follow euphoria's new versions if using .exw
Well, the problem here is, I quess again, is that you need to store some =
*special* data, which is used by Design. This could be done with comment =
lines in the end of the file...
f.ex.
--this file has been done or modified with David Cuny's Design.
--Please do not change the following lines as it might do some harm when =
modifying this file again
--with Design
--*the special data comes here*


--Tapani

new topic     » topic index » view message » categorize

2. Re: to Mr.Riggins and Mr.Cuny

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: to Mr.Riggins and Mr.Cuny

Talvite wondered:

> Why not read and write .exw files instead of those "project files".

This would take considerably more work, because I would need to parse the
.exw files.  I would have to convert attributes into code (Font Color ->
setFontColor ) and back again (SetFont() -> Font Name, Font Size, Font
Style). Using project files, things are *much* easier.

-- David Cuny

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu