Irrlicht and SilverLining SDK Sky and Cloud Integration?
-
- Posts: 22
- Joined: Wed Mar 05, 2008 8:25 am
Irrlicht and SilverLining SDK Sky and Cloud Integration?
Hi, I was wondering if anyone has seen Silverlining sky and cloud renderer SDK. as I'm new to irrlicht Im not certain how difficult it would be to integrate this into irrlicht.
http://www.sundog-soft.com/
Cheers.
http://www.sundog-soft.com/
Cheers.
That looks pretty cool, and from [utl=http://www.sundog-soft.com/Application% ... ing%20.htm]this[/url] page it doesn't look hard to implement, just set it up after the device has been created then after beginScene and before drawAll call beginFrame, then call drawAll, then call endFrame, then endScene and i guess it should work.
I wonder whether there would be difficulties with skyboxes or draw order of things, but i'm sure they're taken that into account when designing it.
I presume you're aware that it costs $1500 to use and the evaluation version only lets your game run for 2 minutes before forcing it to exit?
I wonder whether there would be difficulties with skyboxes or draw order of things, but i'm sure they're taken that into account when designing it.
I presume you're aware that it costs $1500 to use and the evaluation version only lets your game run for 2 minutes before forcing it to exit?
-
- Posts: 22
- Joined: Wed Mar 05, 2008 8:25 am
Thanks JP, the thing is I already tried to implement it, and it compiles perfectly, and did exactly what you said, but on the atm->Initialize it seems to crash, Im not sure why. However from the first look it does seem fairly trivial to implement with Irrlicht. I would be great if someone else could have a go and see if we can get this going.
One more thing, in its documentation it says:
Cheers
One more thing, in its documentation it says:
I'm not sure how to do this with Irrlicht, could this be the problem?"By default, SilverLining also requires that you pass D3DPRESENTFLAG_LOCKABLE_BACKBUFFER in the D3DPRESENT_PARAMETERS that you pass into CreateDevice"
Cheers
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Could be. It looks like you'll have to rebuild Irrlicht yourself and shoehorn that into CD3D9Driver::initDriver(). Are you OK with building it?cooljayman wrote:I'm not sure how to do this with Irrlicht, could this be the problem?"By default, SilverLining also requires that you pass D3DPRESENTFLAG_LOCKABLE_BACKBUFFER in the D3DPRESENT_PARAMETERS that you pass into CreateDevice"
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 22
- Joined: Wed Mar 05, 2008 8:25 am
Thanks for the tip rogerborg, I'm fairly new to Irrlicht and haven't rebuild it yet. Also how exactly can I change InitDriver() to enable LOCKABLE_BACKBUFFER? It would be much appreciated if someone can show me how to do this.Could be. It looks like you'll have to rebuild Irrlicht yourself and shoehorn that into CD3D9Driver::initDriver(). Are you OK with building it?
-
- Posts: 22
- Joined: Wed Mar 05, 2008 8:25 am
Ok, I think I figured out where I need to make the change. I need to add the following to C3D9Driver.cpp
I'm trying to rebuild irrlicht but have a some errors as follows
Is it looking for direct3d sdk?
I just need to make a new irrlicht.dll where I can set the lockable buffer
Code: Select all
ZeroMemory(&present, sizeof(present));
//This line just after ZeroMemory
present.Flags = D3DPRESENTFLAG_LOCKABLE_BACKBUFFER;
I'm trying to rebuild irrlicht but have a some errors as follows
Code: Select all
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9Texture.h(13) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
1>CD3D9ShaderMaterialRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9ShaderMaterialRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
1>CD3D9ParallaxMapRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9ParallaxMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
1>Compiling...
1>CD3D9NormalMapRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9NormalMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
1>CD3D9HLSLMaterialRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9ShaderMaterialRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
1>CD3D9Driver.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D9Driver.h(19) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D8Texture.h(13) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
1>CD3D8ShaderMaterialRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D8ShaderMaterialRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
1>CD3D8ParallaxMapRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D8ParallaxMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
1>CD3D8NormalMapRenderer.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D8NormalMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
1>CD3D8Driver.cpp
1>c:\production\irrlich\irrlicht-1.4\source\irrlicht\CD3D8Driver.h(25) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
I just need to make a new irrlicht.dll where I can set the lockable buffer
-
- Posts: 153
- Joined: Mon Mar 03, 2008 8:42 am
- Location: Suceava - Romania
- Contact:
DirectX SDK - March 2008cooljayman wrote:which version of directX SDK? link?
http://go.microsoft.com/fwlink/?LinkID= ... lcid=0x409
Try search yourself