Page 18 of 18

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Mar 30, 2012 3:04 pm
by Mel
I've been reading on this matter, and i have found an interesting point that no one seems to have interest into, and i think it could definately boost the posibilities of the engine, i speak of the vertex textures. With the need to pass large amounts of data to the shaders (to instance instead of 50 copies, more than 2000 if there were vertices enough for example), a vertex texture seems the best place to place large amounts of data for the shaders that can be accessed per vertex.

How about it?

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Mar 30, 2012 3:33 pm
by hendu
That's already completely supported, at least in GL AFAIK?

(though, using it to improve the hacky instancing is still something I don't get, when true geometric instancing could be used instead)

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Mar 30, 2012 6:26 pm
by Mel
Is it?... i couldn't make use of it, or maybe i haven't made correct use of it.

Well, in GL yes, there is instancing, but not in DX9C (DX10 and above, when they are ready will, i guess...) Though, helping with instancing geometry isn't their only utility, for instance, displacement maps, animated meshes rendering with multiple bones and static geometry animation are one of the many features it may help. And because it is a pixel shader 3 feature, i suposed it wouldn't be enabled in order to advance on other more compatible areas.

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Sat Mar 31, 2012 5:45 am
by hendu
Using the Geometry Instancing API provided by DirectX 9 and fully supported in hardware by GeForce 6 Series GPUs....
http://http.developer.nvidia.com/GPUGem ... ter03.html

It's merely not wrapped in irrlicht yet.

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Apr 27, 2012 8:56 am
by Mel
hendu wrote:That's already completely supported, at least in GL AFAIK?
I went over the code of Irrlicht in the DX driver when it came to vertex texture objects, and no, for DX vertex textures still aren't supported. Maybe in OpenGL, the normal textures can be used the same on VS an FS, but on DX is diferent. There are 4 registers in which the vertex textures can be declared.

http://msdn.microsoft.com/en-us/library ... 85%29.aspx

For DX, vertex textures are diferent than the regular ones.

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Apr 27, 2012 10:13 am
by hendu
Yep, DX is more limited. Use GL ;)

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Apr 27, 2012 8:28 pm
by Mel
I rather DX, it is faster :)

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Fri Apr 27, 2012 8:34 pm
by Nadro
Mel wrote:I rather DX, it is faster :)
It's depend on drivers and dx/ogl implementation in an engine. One time dx is faster, another time will be ogl. Personally I prefer ogl, because it's open and cross platform solution.

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Sat Apr 28, 2012 11:41 am
by Mel
Yeah, that is the point of OpenGL precisely, anyway, my tests have always revealed me that Ogl in my machines are slower than DX. Too bad i've gotten so used to DX PS30 shaders now to switch to GL, i'd switch to CG instead. :?

Still, i am also not sure about GL being able to use vertex textures though, i have seen some samples of OpeGL using them, and seems they need their some extensions to work.

Sort of a return to the topic... What is it going to be in Irr 1.8? After so much petitions, and stuff, i guess that the plans will be more or less clear now, or not?

Re: What are the plans for Irrlicht 1.8 and further?

Posted: Sat Apr 28, 2012 10:35 pm
by hybrid
We have a feature freeze for the 1.8 release, to avoid further delays. So nothing will be part of 1.8 which is not already in trunk. only bug fixing will happen now and a short beta phase