Page 3 of 6

Re: Irrlicht with cubemap support

Posted: Mon Sep 10, 2012 10:22 am
by Mel
Reflections, mainly. The cubemaps usage is to provide a complete environment for objects that need them much more accurate than the regular sphere mapping. Also, for shaders, they have sense because can automatically perform a 3d sample and use the correct mip mapping. And they store 6 textures on a single texture stage, so, you can use more textures, with some limitations, is a cheap texture array of 6 elements.

Re: Irrlicht with cubemap support

Posted: Mon Sep 10, 2012 12:30 pm
by hybrid
The reason why it is not yet in Irrlicht core is that we have had several extensions to the texture API (setting those material details, access to mipmaps, etc.) which always had to be added on top of this extension. And I didn't finish with this so far, even though cube maps were initially planned for 1.8 as well. But it might be not so far away to have this or a similar addition in Irrlicht core.

Re: Irrlicht with cubemap support

Posted: Tue Sep 11, 2012 1:44 pm
by smso
Compilation of CubemapTest failed:

Code: Select all

g++ CubemapTest/CubemapTest/main.o CubemapTest/CubemapTest/CubemapTest.o -L. -L/home/smso/ex/irrlicht/cubemap/irrlicht/lib/Linux -lm -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -o r
/home/smso/ex/irrlicht/cubemap/irrlicht/lib/Linux/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::createDeviceDependentTextureCube(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*)':
/home/smso/ex/irrlicht/cubemap/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2495: undefined reference to `irr::video::COpenGLTextureCube::COpenGLTextureCube(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::video::COpenGLDriver*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*, irr::video::IImage*)'
collect2: ld returned 1 exit status
I used the version of irrlicht in the first post.
Does it work with the opengl driver?

Regards,
smso

Re: Irrlicht with cubemap support

Posted: Mon Sep 17, 2012 3:12 pm
by elvman
hybrid wrote:The reason why it is not yet in Irrlicht core is that we have had several extensions to the texture API (setting those material details, access to mipmaps, etc.) which always had to be added on top of this extension. And I didn't finish with this so far, even though cube maps were initially planned for 1.8 as well. But it might be not so far away to have this or a similar addition in Irrlicht core.
Oh, it is nice to hear that! I really need the cubemaps integrated into Irrlich, so that I can continue my work on Realistic water scene node. What is the estimated release date of 1.8?

Re: Irrlicht with cubemap support

Posted: Mon Sep 17, 2012 7:30 pm
by Mel
anywhere around 2011... according to the SVN' documents ;)

Re: Irrlicht with cubemap support

Posted: Mon Sep 17, 2012 9:16 pm
by hybrid
Yeah, should read 0x11, though, so in less than 5 years :-D

Re: Irrlicht with cubemap support

Posted: Tue Sep 18, 2012 4:10 am
by d3jake
Sometimes I wish I had no project to work on so I could help out on the engine. I get the feeling that it takes a special kind of drive to work on an engine, as its a seemingly unending project\process.

Re: Irrlicht with cubemap support

Posted: Sun Sep 29, 2013 9:39 pm
by elvman
Is there any progress with cubemap support?

Re: Irrlicht with cubemap support

Posted: Thu Oct 10, 2013 5:06 pm
by Nadro
Still no progress here. Anyway it should be available in v1.9.

Re: Irrlicht with cubemap support

Posted: Tue Nov 19, 2013 1:10 am
by Nadro
Cube maps are already implemented for OGL and OGL ES2 drivers (ogl-es branch). In upcoming days I'll add them to other drivers.

Re: Irrlicht with cubemap support

Posted: Tue Nov 19, 2013 6:31 pm
by christianclavet
Wow great news! Thanks Nadro!

Re: Irrlicht with cubemap support

Posted: Tue Mar 25, 2014 6:40 pm
by The_Glitch
It's really sad it's 2014 and you still cant use a cubemap in direct3d Irrlicht version.

Re: Irrlicht with cubemap support

Posted: Thu Jan 21, 2016 8:25 pm
by elvman
It's 2016 and we finally got cubemap support! I am really glad :)

Re: Irrlicht with cubemap support

Posted: Sat Jan 23, 2016 2:02 am
by The_Glitch
Yeah but only in trunk, If I used trunk I would lose features that I use in shader pipeline :(

Re: Irrlicht with cubemap support

Posted: Sun Jan 24, 2016 1:00 am
by Mel
What features?