Help and information forum for programs and BlitzMax mods written by GMan.
For games from GMan, visit G-Squared Games.
For web consulting check out ggSoftware.
You are not logged in.
Hello,
sorry for my bad english:
Is there any possibillity to use the XEffect Lib (C++) in BlitzMax with die Irrlicht.Core-Mod? :-)
I couln't find anything to this topic here in the board.
Thanks!
Bastian
Offline
greetings
yes you would be able to use this library but a little "glue" work would need to be done. you will need to expose some functions using C/C++ (similar to how the Irrlicht mod is created) in order to be able to use it. if you are planning on using only a few features of the library this may go pretty quick. if you are planning on using all of the library this could take several hours.
Offline
Ah :-) Thank you for reply ![]()
I must recompile irrlicht, when I want to use the "extention", or?
Bastian
Offline
greetings
it wouldnt be in the base Irrlicht mod so you wouldnt need to recompile that. you would need to either make it into a mod or include the files directly in your project.
some news on this... this library was pretty interesting and felt it may be useful for the Irrlicht mod userbase so i went ahead and built a mod out of it
took me a little over 5 hours so not bad! i will release once i have all the examples converted and running. probably sometime tomorrow. i already have the mod completed and the first example converted and running so its definately a go.
Offline
Oh nice!
Thank you! :-)
But, when I want to rebuild the Mods I'm getting this error:
Building Modules Compiling:EffectHandler.cpp Build Error: failed to compile N:/........../BlitzMax/mod/irrlicht.mod/xeffects.mod/xeffects/EffectHandler.cpp Process complete
And I can't run the examples :-( It always crashes with an error...
MinGW and so on is already installed.
Thanks!
Bastian
EDIT: Ok, sorry, it was my misstake: MinGW hasn't been worked correctly.
But now, there is an new error:
http://paste.frubar.net/11708/txt
I have pasted it, because it's to big ;-)
Bastian
Editē It was my misstake to -> Not the newest Wrapper-Version :-)
Now I think, it works correctly :-)
Thank you!
Last edited by Barratator (2010-01-10 04:37:37)
Offline
looks like i missed the fun
great! glad its working for you ![]()
Offline
Hmm...I don't know, but I think there is a bug:
When I'm use settarget or setposition of SShadowLight the light doesn't do anything...
I can fill the parameter with any value, but the light remains constant.
Do you have any idea?
Thank you!
Bastian
Offline
it should work as that appears to be how many of the examples operate (see example 1 in the while loop). do you have sample code?
Offline
Founded :-)
I saved the return of SShadowLight.Create. Now I use getShadowLight(index) and it works :-)
Thank you for helping!
Bastian
Offline