Re: Exotica, DirectX & Neil

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Todd,

>Hi Pete,
>
>This does interest me. Since Exotica also, currently, only supports
>double buffering, the merge of Neil2 and Exotica does seem quite
>possible. I do have the functions SURFACE_PITCH, SURFACE_POINTER, and
>a BPP routines currently implemented in Exotica which could very
>well serve in merging the two libraries. I just need to test
>the code that was given to me and make sure these three exotica
>functions are coded right to handle the task.

Okay, let me know when you've confirmed the code works.  I'm also working on
some platform-independent keyboard and mouse input routines.  I'll need to
be able to get like get_key(), get key_up/key_down events and mouse location
and button states.

>Also, Does Euphoria's Read_Bitmap function return a sequence of a
>256 colored bitmap?

Yes.  I have also taken the image.e read_bitmap function and hacked it to
support true-color bitmaps for use in Neil.e.

>I haven't even got a chance to explore the
>Euphoria's DOS graphic routines, yet or even the insides of Neil.
>I'll look at Neil again tommorrow and see if I can get a bitmap
>loaded useing Neil so I can furthor experimentation with the code
>I have. Right now, I need sleep. Zzzz...

The insides of Neil are not for the timid.  Most of the code depends on how
certain structures are stored in memory and it does a lot of machine code
modification on-the-fly.  And all the workhorse routines (blit, etc.) are in
chunks of machine code with asm source comments removed to save space.  The
code that generates those blocks of machine code is in neilsrc.ex (I don't
think it has been in Neil2.zip for a while though)

And now some questions... in the DirectX world, what do they call the
routine that blends a source image with the destination surface at 50%?  And
what do they call the routine that adds the color values of two images
together?  The reason I ask is because I'm introducing routines that do this
for Neil2 and I wanted to name them something that people will understand.

Thanks,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/
>Talk ta ye laters...
>
>-- Todd Riggins

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu