Search found 255 matches

by elvman
Wed Oct 05, 2011 1:12 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

RdR wrote:Elvman are you updating your water scene node with cubemap?
I will do it when Cubemaps get integrated in Irrlicht core, because I cant create a water node, that does not work with original version of Irrlicht.
by elvman
Wed Oct 05, 2011 12:23 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Added an interface for 2D textures (ITexture2D) which extends ITexture, so all 2D textures now implements it. getTexture now returns ITexture2D.
Created patch and source for the latest SVN version of Irrlicht.

PS. What should I do to get this integrated in core?
by elvman
Wed Oct 05, 2011 10:15 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

What driver are you using (Direct3D9 or OpenGL)? Try with both and check if results are the same.
by elvman
Tue Oct 04, 2011 6:19 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

ACE247 wrote:Tested on Geforce 7300GS(+-330fps) and Geforce gts250(VERY HIGH) and works. However by me the reflection on the sphere is upside down.
Can you share some screenshots?
by elvman
Mon Oct 03, 2011 12:46 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Added more realistic reflections to the demo and created a screenshot of the demo.
by elvman
Sun Oct 02, 2011 11:09 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Created a test project, which works both on Irrlicht and Direct3D9 (don't know why it didn't work in my other sample project). So I guess we can consider this patch working. CubemapTest.zip Edit: Now I understand why it didn't work. It was because I didn't use one of the textures before it anywhere ...
by elvman
Sun Oct 02, 2011 9:39 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Upload the new version of the patch. Can somebody please look at it, I spent 20 hours fixing the code, but still the sapmlerCUBE does not work in HLSL. I can not find bugs in my own code, so it would be nice if somebody could help me.

Thanks!
by elvman
Fri Sep 30, 2011 2:48 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Fixed some problems with Direct3D9 (now it doesn't crash), but still it doesn't work as desired.
Removed Texture1D and Texture3D files from patch.
by elvman
Fri Sep 30, 2011 8:54 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Yes, 1D and 3D textures will be added in a week. Haven't used compressed textures, so have to check out how easy it is to implement them in Irrlicht.
by elvman
Thu Sep 29, 2011 11:20 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Looks nice so far. Could you please check if the loads of memcpy statements (and other code there) for pixel copying can be replaced with a single code to the color conversion method that Irrlicht provides?! This would remove many switches and this huge code replication there. Yes, already did that...
by elvman
Thu Sep 29, 2011 11:14 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Re: Irrlicht with cubemap support

Fixed problems with OpenGL and merged with the newest SVN version of Irrlicht.
by elvman
Wed Sep 28, 2011 5:59 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht with cubemap support
Replies: 77
Views: 20413

Irrlicht with cubemap support

Finally I ported IrrSpintz cubemap code (with some changes). I will improve the code soon, but you should test it and post some bug reports here. To load cubemap, you must call driver->addTextureCube (passing 6 images to it), which will return a pointer to the ITextureCube (derived from ITexture). Y...
by elvman
Mon May 16, 2011 6:52 pm
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 272714

Sorry, the link is up again.
by elvman
Fri Apr 29, 2011 2:41 pm
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 272714

You made water transparent by using its alpha value. That is not the result wanted. I will try to search for other problems.
by elvman
Thu Apr 28, 2011 5:11 pm
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 272714

Can you change the line 36 of realistic vater scene node (EVST_VS_1_1) to use VS version 2.0 and do the same for PS (line 37)? I guess there is a problem with vertex and pixel shader versions. HLSL vertex shader compilation failed: (1): error X3000: syntax error: unexpected token 'vec2' This error i...