vertex shader textures

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: vertex shader textures

Post by Nadro »

A version 1.8 have status "feature freezed", so it will be added for 1.9.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: vertex shader textures

Post by Granyte »

so when will the devlopement of 1.9 begin?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: vertex shader textures

Post by Nadro »

It's began some time ago. We didn't implement new features in trunk, but some things are improved like OpenGL performance, in january I should finish OGL improvements + back porting them to OGL ES1 and ES1. Also OGL ES2 should be fixed in this time. When I'll finish these tasks I'll improve ITexture intarface. What will be next? Currently idk, this is my TODO list for the next 2 months.

BTW. I already added Your patch for vertex textures support in D3D9. I didn't change setTransform method, because this feature is usefull only in shaders, so fixed pipeline stuff like a changing texture matrices shouldn't be added in my opinion, everyone can do Your own matrix calculations in a shader.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: vertex shader textures

Post by Granyte »

i don't recall why i added this line to my patch and because my devlopement machine is dead i'll have to wait till replacement part comes in to test.

also i think there is a typo in the patch i posted as if i recal well the stages from irrlicht are from 0 to max texture -1 wich mean that it should be if (stage<4) instead of if (stage<=4) wich will bind a 5th texture in an unknow register

thanks for adding it btw
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: vertex shader textures

Post by Mel »

good to see :)
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: vertex shader textures

Post by CuteAlien »

Patch got changed again (many years later...). It's now disabled again by default (due to cost), but there is a new texture creation flag ETCF_SUPPORT_VERTEXT_TEXTURE to enable it.
Also the off-by-one bug mentioned by Granyte finally got fixed.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply