Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / :: Anti-alias in DB from a newbie ::

Author
Message
shadow fork
21
Years of Service
User Offline
Joined: 15th Dec 2003
Location:
Posted: 15th Dec 2003 09:39
Hi. I'm pretty much new using DB. I have made my 3D model move and do all tricks that I want it to do. However, I am not satisfied with the way it looks. It has these jagged edges. I have searched the manual for "anti-aliasing" but it doesn't have it. I know the DBPro has this...

... is there anyway around to do this???

BTW, I use .X format for my models.

Thanks in advance
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 15th Dec 2003 23:43
DBPro has anti-alaising? that's new to me, and I use it more than DBC now...

Hmmm, anyway... The jagged edes in your model are the polygons that you have used to make the model ( If you amde it )

All you have to do is go into the editor you used to make the model, and add more plygons, ie, smooth the model... That will ermove the jagged edges.

Also, if it still looks "jagged" change the screen resolution of your game at the start, by using:
Set Display Mode 1024,768,32
That'll set your res higher than the default 600x800 so it looks alot better...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
shadow fork
21
Years of Service
User Offline
Joined: 15th Dec 2003
Location:
Posted: 16th Dec 2003 03:05
Thanks Jess. I find that increasing the screen resolution helped. Although there were still some more tiny edges I'm not very happy with.

I guess working with Lightwave 3d for a long time made me anti-alias sensitive hehehehe. I'll try to smooth the surfaces again. Funny because there's already a lot of polygons there and I've even triangulated them. I'll work on it some more.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 16th Dec 2003 07:19
Glad to have helped...

But, be carefull when adding more polly's, DBC can't really handle that many without major speed loss...

If you want really good looking models, a little trick that is even used in professional style games is to simply use textured plains.

That way you keep down your poly count, thus giving you a serious speed boost.
All you have to do is be good at textures, take a snap-shot of the back of your character ( for a RPG etc ), then texture the plain with that snap-shot and set it so that all the pixels that are the background of the texture become transaprent... And... Voila! A really smooth looking "model" that doesn't create any speed loss at all...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
M00NSHiNE
21
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 16th Dec 2003 13:24
Few 3d cards support the feature if I remember right... the Radeon 9200 doesnt but all above it (9500, 9600, 9700, 9800) do. I think.

I doubt you can do it at all in DBC though, its very likely Pro supports it.

ZEDWARE website coming soon... //END TRANSMISSION//
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 17th Dec 2003 03:06
Um, no i think you can in DBC...

[url=http://www.afweb.net/complang/cpplessons.htm][/url]


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
AlecM
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Concord, MA
Posted: 17th Dec 2003 08:56
any new video card will support anti aliasing. This isnt the sort of the 'DB' needs to support. You simply turn it on in your graphics card's setting and it will do the rest.

[P4 2.8C @ 3.03 with an 866mhz FSB:: MSI Neo-2LS running PAT:: 1gb Mushkin PC-3500 DDR High Perf level 2@ 2,2,2 :: ATI Radeon9800ProAIW :: 120Gb SeagateBarracuda 7,200RPM SATA HD :: Antec Plus1080AMG]
shadow fork
21
Years of Service
User Offline
Joined: 15th Dec 2003
Location:
Posted: 17th Dec 2003 10:38
Actually, I think I have figured out why I had those jagged edges... I thought when I export my model from Lightwave, I was expecting my settings to be the same in Milkshape. My objects were smoothened in Lightwave but they're not automatically smooth in Milkshape. I used Milkshape's smooth edges... and BAM! they were as smooth as i want them without even touching the triangles... keeping poly count as it is!

But Jess, your tip on adjusting the Display mode also helped me get exactly the result I wanted.

And thanks to everyone who posted here! This forum totally rocks!

Login to post a reply

Server time is: 2025-05-22 03:35:06
Your offset time is: 2025-05-22 03:35:06