well what i am searching for is something to make gas clouds...
i am trying to copy some effects from the game eve online, currently i have a skysphere (something like a skybox just it is a sphere) and a centered spaceship.
for more realistic background and movements (flying thru gasclouds volumetric) i searched now a while for something doing this in Irrlicht and tried the whole morning to make this
http://irrlicht.sourceforge.net/phpBB2/ ... bbe958dc92
running (well its running now but it does nothing)...
so i found nothing that would work yet.
can someone give me a hint?
Gas Clouds ?
I cant remember the bug, but i fixed it when i wanted to use bitplanes node with a recent version of irrlicht.
Get the source here
http://dump.bitplane.net/IrrContest/200 ... aremad.zip
Get the source here
http://dump.bitplane.net/IrrContest/200 ... aremad.zip
"Irrlicht is obese"
If you want modern rendering techniques learn how to make them or go to the engine next door =p
If you want modern rendering techniques learn how to make them or go to the engine next door =p
well used to copy paste the desired classes and image file smoke.tga and implemented all into my code.
when i comment this line:
i do see white blocks with some black pixels..
if i uncomment the line in CCloudeSceneNode.cpp i see nothing but my skybox background.
also if i change the smoke image with a red plane with green cross in it i have for both situations the same results...
maybe that could be a lightning issue, or because my skybox background iss allmost black with clouds in it ?
when i comment this line:
Code: Select all
//Material.MaterialType=video::EMT_TRANSPARENT_ALPHA_CHANNEL;
if i uncomment the line in CCloudeSceneNode.cpp i see nothing but my skybox background.
also if i change the smoke image with a red plane with green cross in it i have for both situations the same results...
maybe that could be a lightning issue, or because my skybox background iss allmost black with clouds in it ?
hmm i now use a plane with transparent material and transparent smoke texture... it does not look good but is somehow what i what just expected to have a fog which looks like a fog..
may i will add a particle system later to the mesh... or may i switch to ogre or even use some classes from irrlicht in blenders engine... unno bit i hate limitation of engines... i needed 2d clear readable text with gui and other stuff now i am missing someone else, why is rad tool and unreal or cry engine so expensive....
may i will add a particle system later to the mesh... or may i switch to ogre or even use some classes from irrlicht in blenders engine... unno bit i hate limitation of engines... i needed 2d clear readable text with gui and other stuff now i am missing someone else, why is rad tool and unreal or cry engine so expensive....
what you are looking for is depth based rendering, you need a "copy" of the depth buffer and you can have nice fog like with the texture but without these defined lines that you get with particles. The technique is called "soft particles" beware the volumes of gas have to be simple like a box or sphere (however using an alpha texture makes this not so much of a problem) or you can employ a volume map which tells how thick the plane is in certain places to achieve variation.