2D DirectX graphics 
Author Message
 2D DirectX graphics

Hey,
    I've been trying to draw to the screen as fast as possible for a while
now, and with each new method it gets slightly faster, however, if possible
I'd like to draw even faster still.  I've heard that DirectX would allow me
to draw to the screen very fast, but I've not found any basic code to
demonstrate this.  So far I've used PSet, SetPixelV, SetBitmapBits and
SetDIBits and with each method the drawing got faster but I'd like to push
VB even further and from what I understand DirectX is the way to go.
If anyone has any demo code or tutorials that demonstrate some basic use of
DirectX then I'd be very greatful.  I've seen Patrice Scribes site before
but it seemed to be more 3D than 2D.
Thanks in advance for any help,

    Mike

P.s. if this isn't the fastest way to draw using VB then I'd welcome any
other suggestions, would ASM be a better way maybe?



Sat, 23 Nov 2002 03:00:00 GMT  
 2D DirectX graphics
Maybe you should check out DDRAW.ZIP,ZRICKS.ZIP and DDRAW.ZIP
from http://kpdteam.tripod.com/index.htm?vbasic/directx.htm

Regards,
Pieter Philippaerts
http://www.allapi.net/



Quote:
> Hey,
>     I've been trying to draw to the screen as fast as possible for a while
> now, and with each new method it gets slightly faster, however, if
possible
> I'd like to draw even faster still.  I've heard that DirectX would allow
me
> to draw to the screen very fast, but I've not found any basic code to
> demonstrate this.  So far I've used PSet, SetPixelV, SetBitmapBits and
> SetDIBits and with each method the drawing got faster but I'd like to push
> VB even further and from what I understand DirectX is the way to go.
> If anyone has any demo code or tutorials that demonstrate some basic use
of
> DirectX then I'd be very greatful.  I've seen Patrice Scribes site before
> but it seemed to be more 3D than 2D.
> Thanks in advance for any help,

>     Mike

> P.s. if this isn't the fastest way to draw using VB then I'd welcome any
> other suggestions, would ASM be a better way maybe?



Sun, 24 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DirectX 8.0a SDK Help: 2D Surfaces

2. DirectX 9 - Draw Simple 2D Polygon / Shape

3. Graphics GET/PUT with 2D arrays??

4. 2D Vector Graphics in VB-5: recommendations?

5. Announcement: ScriptV--a new language for 2D and 3D animations and graphics

6. 2D vector graphics

7. Wanted: High performance 2D graphics control

8. Graphics: OpenGl or DirectX

9. Fast non directx graphics - how?

10. 3D Graphics - DirectX - Sound - Under Visual Basic

11. 3D Graphics - DirectX - Under Visual Basic

12. 3D Graphics - DirectX - Sound - Under Visual Basic

 

 
Powered by phpBB® Forum Software