DirectX Package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

DirectX Package

Günther Schmidt
CJB, DiegoC,

I just came accross the DirectX post from 11-18-2004.

http://groups.google.de/group/comp.lang.smalltalk.dolphin/browse_frm/thread/7a5b33ba87dc2572/646ef8f908f728ef?tvc=1&q=directx&hl=de#646ef8f908f728ef

What is your experience with Dolphin 5 and DirectX so far?

I'm asking because I'd like to use DirectX in order to Design a bit of a
futuristic interface for my application.

Regards,

Günther


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Andy Bower-3
Günther,

> What is your experience with Dolphin 5 and DirectX so far?

Take a look at my recent "DALEKTRON Game in Samlltalk" post to see an
example of what can be done in DirectX from within Dolphin. Although
built in Dolphin 6 there is no reason why you shouldn't be able to do
something similar in Dolphin 5

The DalekTron game actually uses DirectX7, since this was the last
version that directly supported DirectDraw. I only used 2D sprites in
the game but there's no reason why you shouldn't use the DirectX8 type
library to do 3D if that's what you want (in fact, if you look back
through the group you should see that Christoph Bachinger has been
doing something with 3D/DirectX8/Dolphin5 too).

Best regards,

Andy Bower
Dolphin Support
www.object-arts.com


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Christoph J. Bachinger
In reply to this post by Günther Schmidt
Günther,

> What is your experience with Dolphin 5 and DirectX so far?


Im Using Dolphin together with DirectX 8.0 and Dolphin. Im still in
progress with the VB-Type library and I tried succesfull the DirectX
examples at http://www.activevb.de/tutorials/index-tutorials.html
At the moment I'm seeing the first house roofes with textures on my
screen. So I see progress and the learning curve increases. If you need
any initialisation code or help don't hesitate to ask in the newsgroup I
have a look at it, all the working days.

best regards
cjb


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Günther Schmidt
Christoph,

thanks for the offer!

I have absolutely no idea about DirectX yet, really.

So I'd just like to ask a few questions, merely for basic understanding
of the technology.

There's a DirectX runtime, which I've downloaded from MS, a rather large
download.

Then there are DirectX type libraries, .dlls. These type libraries seem
to be interfaces to the DirectX runtime, each for a different
programming language, C, C++, VB.

If I understand correctly you are using a VB type library for DirectX,
you've taken the library and had the Dolphin ActiveX Wizard generate
Smalltalk Wrapper classes.

This would allow you, more or less, to follow the DirectX programming
examples for VB.

Please correct me, and feel free to fill the gaps.


Günther


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Christoph J. Bachinger
Günther,

> I have absolutely no idea about DirectX yet, really.
So it was 1 month ago.
>
> So I'd just like to ask a few questions, merely for basic understanding
> of the technology.
>
> There's a DirectX runtime, which I've downloaded from MS, a rather large
> download.

Normaly if you are using MS XP the 9.x Version should be on your machine.

>
> Then there are DirectX type libraries, .dlls. These type libraries seem
> to be interfaces to the DirectX runtime, each for a different
> programming language, C, C++, VB.
>
> If I understand correctly you are using a VB type library for DirectX,
> you've taken the library and had the Dolphin ActiveX Wizard generate
> Smalltalk Wrapper classes.

Yes I have taken the DxVBLibA (DirectX 8 for Visual Basic Type Library"
>
> This would allow you, more or less, to follow the DirectX programming
> examples for VB.

Yes this is correct.

Sie the newsgroup entry under DirectX 8 Type Library converting VB
example to Dolphin from 21.06.2005.
Because of the fact, that the Dolphin 5.x Active-X Component Wizard does
not create some library classes. I got with friendly help of Andy Bower
the missing classes. If you realy like to start I can provide you with
the classes.

cjb


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Günther Schmidt
Christoph,

nice to hear that I wasn't completely off-track with my guesses.

Christoph J. Bachinger wrote:
> Yes this is correct.
>
> Sie the newsgroup entry under DirectX 8 Type Library converting VB
> example to Dolphin from 21.06.2005.
> Because of the fact, that the Dolphin 5.x Active-X Component Wizard does
> not create some library classes. I got with friendly help of Andy Bower
> the missing classes.

If you realy like to start I can provide you with
> the classes.
>
> cjb

Please do and thanks in advance!

Günther

PS: Apart from that WebSite with the tutorials, are there any books you
found helpful?


Reply | Threaded
Open this post in threaded view
|

Re: DirectX Package

Christoph J. Bachinger
Günther

> If you realy like to start I can provide you with
> the classes.

The classes I will send direct to your address


> PS: Apart from that WebSite with the tutorials, are there any books you
> found helpful?

I looked a little bit around but helped me with MSDN
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx8_c/directx_cpp/graphics_front_5mib.asp


cjb