DirectX and Irrlicht problem

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
cyberion
Posts: 30
Joined: Tue Oct 23, 2007 5:53 pm

DirectX and Irrlicht problem

Post by cyberion »

Hello !

I'm writting a game (Visualisation of College) in DirectX. My question is: if I do all movement and camera's using in Irrlicht it's all about this ok. How can I create an alias for Direct3D's device from Irrlicht ? Exacly create alias from IrrlichtDevice to LPDIRECT3DDEVICE9 ? I am asking of this, because I want to create some special effects like blowing up objects, use fade in/out using DIRECTx ! In Irrlicht code I can easily create DirectMusic device. But what abot Direct3D ?

Can somebody help me ?

Sorry for my english !

Hello !

Here http://chomikuj.pl/cyberion/Movies/College+Walker.avi is an simple intro of my project on which I am still focusing.
Last edited by cyberion on Wed Jan 02, 2008 12:36 am, edited 1 time in total.
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

Hmm i believe there is a way you can just use straight directx in irrlicht but i do believe it is going to be very difficult.
If it is written in direct x id suggest just using straight directx code.
Make useful functions to make your project go by faster.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

You can use IVideoDriver->getExposedVideoData() to get a pointer to the IDirect3D9 device.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
cyberion
Posts: 30
Joined: Tue Oct 23, 2007 5:53 pm

Post by cyberion »

You can use IVideoDriver->getExposedVideoData() to get a pointer to the IDirect3D9 device.
Could you give me some examples ? In Irrlicht documentation I haven't found something like this and of course on the Internet :(
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Search for getExposedVideoData() on these forums returns...

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=23669
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6163
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6527
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19297

The same search on google returns many more hits, all of which are good examples... Did you even search?

And the documentation has this.

Travis
Post Reply