HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 How do I integrate spark in DirectX based game engine ?

View previous topic View next topic Go down 
AuthorMessage
JuggernautSpark



Messages : 7
Date d'inscription : 2012-09-11

PostSubject: How do I integrate spark in DirectX based game engine ?   Tue Sep 11, 2012 5:39 pm

Hello,

My engine gives me a command which returns the Direct3DDevice handle, will it help in any way integrating spark ?

If not what is the correct way, please let me know.

Thanks,
Back to top Go down
View user profile
Darktib
Committer


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

PostSubject: Re: How do I integrate spark in DirectX based game engine ?   Wed Sep 12, 2012 7:00 am

Is it a well known engine (like Irrlicht and co) or a "secret" engine ?

There is a DirectX 9 renderer, but I don't know its current state.

_________________
Back to top Go down
View user profile
JuggernautSpark



Messages : 7
Date d'inscription : 2012-09-11

PostSubject: Re: How do I integrate spark in DirectX based game engine ?   Wed Sep 12, 2012 7:57 am

Darktib wrote:
Is it a well known engine (like Irrlicht and co) or a "secret" engine ?

There is a DirectX 9 renderer, but I don't know its current state.

Well I am trying to make it work with Nuclear Basic and Nuclear Fusion.

Is there any tutorial on this ? I am really stuck on this. Please help.
Back to top Go down
View user profile
Darktib
Committer


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

PostSubject: Re: How do I integrate spark in DirectX based game engine ?   Wed Sep 12, 2012 8:41 am

I don't know how you can extend Nuclear Fusion / Nuclear Basic, so you'll have to refer to the documentation of this engine.

However, there is a phase that is always the same: the creation of a SPK::Renderer. For the moment, there are a few renderers, all in C++ (SPARK version between brackets):
- Native OpenGL (1.x - 2.0svn)
- Irrlicht (1.x - 2.0svn)
- Native DirectX (1.x, might work with 2.0)
- SMFL 1.4 (1.0, we're waiting for SFML 2 to port it to SPARK2)
- DarkBASIC Pro (a wrapper of the native DirectX renderer I think)

Just open the sources of these renderers to see how they're made (src/Rendering and include/Rendering).

_________________
Back to top Go down
View user profile
JuggernautSpark



Messages : 7
Date d'inscription : 2012-09-11

PostSubject: Re: How do I integrate spark in DirectX based game engine ?   Wed Sep 12, 2012 9:12 am

Ok Thank you. I will look into it. Thanks for the information.
Back to top Go down
View user profile
Charlie



Messages : 81
Date d'inscription : 2011-01-28
Age : 34

PostSubject: hi   Thu Sep 13, 2012 2:17 am

Hi ! For Nuclear Fusion it would be easy to integrate SPARK2 as they're both engines written in c++
You need 2 things to get SPARK2 working in Nuclear Fusion :

1 Be able to get your DX9 device pointer
2 Be able to get your camera matices (view , projection)

and thats it !

For Nuclear Basic , it is a bit harder as Nuclear basic is not an OOP language but a BASIC language . For that reason you need to write a OOP2BASIC wrapper (for more details see my SparkWrapper topic)
Regards
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: How do I integrate spark in DirectX based game engine ?   Today at 9:28 am

Back to top Go down
 
How do I integrate spark in DirectX based game engine ?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Linux based VoIP Switch with Integrated Billing only $2/port
» how to integrate Jira with Selenium
» [HOW TO] Integrate .Net Framework 3.5 in Windows 8 using WinReducer 8 or command line
» Integrate office 2013 proplus x64 to windows 8.1 x64
» [ANSWERED] Integrate drivers tutorial

Permissions in this forum:You cannot reply to topics in this forum
 :: English Forum :: Questions (en)-
Jump to: