Page 1 of 1
anti-aliasing
Posted: Sat Mar 11, 2006 10:59 am
by blendermen
Can I add ANTI-ALIASING to my game in irrlicht. If true can you give me some code,script,source code - please
Posted: Sat Mar 11, 2006 11:23 am
by Acki
RTFM
bool irr::SIrrlichtCreationParameters::AntiAlias
d
Posted: Sun Mar 12, 2006 10:22 am
by blendermen
Acki wrote:RTFM
bool irr::SIrrlichtCreationParameters::AntiAlias
I paste this code to my project but error. What i must to do - i must just paste it or do somethink else.please help me
Posted: Sun Mar 12, 2006 6:33 pm
by TheWorstCoderEver
Dear blendermen,
irr::SIrrlichtCreationParameters::AntiAlias is property of an abstract structure type SIrrlichCreationParameters. In order for it to work you must first create an instance of that type:
irr::SIrrlichtCreationParameters parameters;
Only then you can set values for all the particular fields of the structure, like
parameters.Fullscreen=false;
parameters.AntiAlias=true;
etc. For more accurate description of SIrrlichtCreationParameters structure and its fields take a look at the API documentation. The description itself is avaliable at:
http://irrlicht.sourceforge.net/docu/st ... eters.html
Once you've set the values for all the fields (or at least those most vital), you can pass the structure itself as a parameter to createDeviceEx function, which in turn will create new Irrlicht rendering device. I hope I made it clear enough...
Posted: Sun Mar 12, 2006 6:34 pm
by vitek
That's funny. TheWorstCoderEver is no longer the worst coder ever... :)
Posted: Sun Mar 12, 2006 8:37 pm
by dawasw
Lol, vitek I always wonder what race is ur dog
Posted: Mon Mar 13, 2006 4:04 am
by vitek
Jack Russell Terrier. The AKC calls them Parson Russell Terriers these days. They are a ton of fun.
Posted: Mon Mar 13, 2006 3:32 pm
by blendermen
thank you for help