i am trying to compare to textures to get a spread of values telling me, how many pixels are the same to find out, if two textures are the same and toggle an action if this is true.
I use Pipet to compare an representative amount of pixels of both textures and if a given percent of pixels are the same, i assume, that the textures are the same.
This worked out quite well and took me just some minutes. My question is: would this be possible in a way using shadertechnologies (be it pixel or vertex) to achieve a better performance, as i will have to compare the textures about 10 to 60 times a second and for now don´t know if this would be possible at all.
I didn´t find any possibility to give back values to vvvv from out a shader for now (well, didn´t research too much right now…) and was wondering, if this would be doable.
See attached Patch for my now working cpu- based solution.
it´s not Video but an Imagetexture. I want to check out if someone dropped a new Version of a texture into a given folder on my hdd and if this is right fade over to the new version.
And besides Freeframe wouldn´t be giving me the Performanceboost i hope to get via Shaders.
it´s not Video but an Imagetexture. I want to check out if someone dropped a new Version of a texture into a given folder on my hdd and if this is right fade over to the new version.
And besides Freeframe wouldn´t be giving me the Performanceboost i hope to get via Shaders.
The ideal way to do this in my opinion would be to check the file info and see if windows has indicated a change in the file. You can use the ModificationDate (File) node for that… I am sure that is the most effecient way to do it…
And please say Hi to Urs from me and tell more about your project… I am getting curious :)
Before i forget: its about projecting materials on white (real life) boxes to make them look like e.g. Kitchen- Furniture and present the hundreds of different veneer- materials our client (yep, commercial one this time, license already bought :-) ) has to offer.
The rest tends to fall under obligations of secrecy i guess, so shhhh… you all have NOT heared or read of anything i mentioned.