Volumetric textures
Posted: Wed Apr 11, 2007 4:55 pm
Hello.
Im currently working on adding volumetric texture support into irrlicht.
I'll try to get it accepted into the engine when it's completed.
Biggest issue is design, all texture & image handling in irrlicht is 2d centered.
The quick way is to add methods such as s32 getDepth(), as it wouldn't really
break anything.
Although dimension3d<s32> getSize() and similar feels right, but would
break virtually every application fiddling with textures.
Main ideas are,
addTexture(size, depth, ....) into IVideoDriver.
(or introducing dimension3d as a type, skipping depth parameter)
A new vertextype allowing 3d texturecoordinates.
Currently working on direct3d9 driver, mostly it's just making it aware of depth.
Comments and suggestions are welcome.
Im currently working on adding volumetric texture support into irrlicht.
I'll try to get it accepted into the engine when it's completed.
Biggest issue is design, all texture & image handling in irrlicht is 2d centered.
The quick way is to add methods such as s32 getDepth(), as it wouldn't really
break anything.
Although dimension3d<s32> getSize() and similar feels right, but would
break virtually every application fiddling with textures.
Main ideas are,
addTexture(size, depth, ....) into IVideoDriver.
(or introducing dimension3d as a type, skipping depth parameter)
A new vertextype allowing 3d texturecoordinates.
Currently working on direct3d9 driver, mostly it's just making it aware of depth.
Comments and suggestions are welcome.