THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/11/2009 at 11:17, xxxxxxxx wrote:
Wow, that worked great!... almost/sort of. When I just added the include line, I get the error "no such file or directory" I can see the file on my drive in the normal place, and I've included "lib-layershader.h" with no problems... any idea?
In the mean time, i just pasted in the contents of xslanoise.h and it worked. This leads to a second question:
What is the proper way to change the noisetype? I used
bmpdata->SetData(SLA_NOISE_NOISE, SLA_NOISE_NOISE_NAKI);
which works, but only because I uncommented enum 2012 from the xslanoise.h file I pasted into my .cpp I'm guessing these are commented out by the developers for a reason. My file now looks like this
//SLA_NOISE_NOISE_MOD_NOISE = 2011,
SLA_NOISE_NOISE_NAKI = 2012,
//SLA_NOISE_NOISE_NOISE = 2013,
Is there a better way to change the noisetype for SLA_NOISE_NOISE?
Thanks again,
G