anti-aliasing

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
blendermen

anti-aliasing

Post by blendermen »

Can I add ANTI-ALIASING to my game in irrlicht. If true can you give me some code,script,source code - please
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

RTFM :evil:

bool irr::SIrrlichtCreationParameters::AntiAlias
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

d

Post by blendermen »

Acki wrote:RTFM :evil:

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
TheWorstCoderEver
Posts: 47
Joined: Wed Feb 01, 2006 8:09 pm
Location: Wroclaw
Contact:

Post 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...
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

That's funny. TheWorstCoderEver is no longer the worst coder ever... :)
dawasw
Posts: 357
Joined: Tue Aug 10, 2004 4:39 pm
Location: Poland

Post by dawasw »

Lol, vitek I always wonder what race is ur dog :P
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Jack Russell Terrier. The AKC calls them Parson Russell Terriers these days. They are a ton of fun.
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

Post by blendermen »

thank you for help
Post Reply