Anti-aliasing doesn’t work!!!

Software: Away3D 4.x

Rampage, Newbie
Posted: 15 July 2011 06:59 AM   Total Posts: 3

Hey guys:
I am new for away3d. I was so confused with the anti-aliasing of this engine.
I set _view.antiAlias = 4 to open it. But nothing happened. Anyone can give me a hand? I’ll appreciate it.

   

Avatar
theMightyAtom, Sr. Member
Posted: 15 July 2011 07:53 AM   Total Posts: 669   [ # 1 ]

Make sure you’ve set wmode=direct.
(you should check in your HTML). Most likely cause is that it’s using the software renderer.

Otherwise, could be a driver issue. I had a new DX11 graphics card and couldn’t get anti-aliasing to work until I updated the drivers for that.

   

Rampage, Newbie
Posted: 15 July 2011 08:02 AM   Total Posts: 3   [ # 2 ]
Peter Strømberg - 15 July 2011 07:53 AM

Make sure you’ve set wmode=direct.
(you should check in your HTML). Most likely cause is that it’s using the software renderer.

Otherwise, could be a driver issue. I had a new DX11 graphics card and couldn’t get anti-aliasing to work until I updated the drivers for that.

Hi, Peter:
I don’t have a html and I’m sure it’s using the hardware renderer for the framerate is high and it print “HW” in the AwayStats console.

I have run my game on any other computer, and they all have no anti-aliasing~

   

Mr Margaret Scratcher, Sr. Member
Posted: 15 July 2011 01:19 PM   Total Posts: 344   [ # 3 ]

Without html specifying Wmode, it will not be accellerated, and hence not aliased.

   

Mr Margaret Scratcher, Sr. Member
Posted: 15 July 2011 01:23 PM   Total Posts: 344   [ # 4 ]

Look at this:

http://www.margaretscratcher.co.uk/virtemp/index.html

Then look at this, which is the swf:

http://www.margaretscratcher.co.uk/virtemp/virtualEmporiumA3D.swf

Unless you have a super fast computer you should see the difference in speed, and failing that, at least see the aliasing…

(Oddly enough it does still say HW in the stats)

   

John Brookes, Moderator
Posted: 15 July 2011 02:59 PM   Total Posts: 732   [ # 5 ]

It says HW in the stats as there is a bug with the AwayStats package. It changed with the second incubator release.

Line 618 should be
_swhw_tf.text = Stage3DManager.getInstance(stage).getStage3DProxy(0).context3D.driverInfo == “Software (Embedded)” ? “SW” : “HW”;

   

Rampage, Newbie
Posted: 18 July 2011 03:28 AM   Total Posts: 3   [ # 6 ]
Mr Margaret Scratcher - 15 July 2011 01:23 PM

Look at this:

http://www.margaretscratcher.co.uk/virtemp/index.html

Then look at this, which is the swf:

http://www.margaretscratcher.co.uk/virtemp/virtualEmporiumA3D.swf

Unless you have a super fast computer you should see the difference in speed, and failing that, at least see the aliasing…

(Oddly enough it does still say HW in the stats)

Thanks, I did what you said, and it works now.

   

Rampage, Newbie
Posted: 18 July 2011 03:30 AM   Total Posts: 3   [ # 7 ]
JohnBrookes - 15 July 2011 02:59 PM

It says HW in the stats as there is a bug with the AwayStats package. It changed with the second incubator release.

Line 618 should be
_swhw_tf.text = Stage3DManager.getInstance(stage).getStage3DProxy(0).context3D.driverInfo == “Software (Embedded)” ? “SW” : “HW”;

Thank you for your post, it’s really an annoyed bug. I get it now.

   

Mr Margaret Scratcher, Sr. Member
Posted: 18 July 2011 02:30 PM   Total Posts: 344   [ # 8 ]
Rampage - 18 July 2011 03:28 AM
Mr Margaret Scratcher - 15 July 2011 01:23 PM

Look at this:

http://www.margaretscratcher.co.uk/virtemp/index.html

Then look at this, which is the swf:

http://www.margaretscratcher.co.uk/virtemp/virtualEmporiumA3D.swf

Unless you have a super fast computer you should see the difference in speed, and failing that, at least see the aliasing…

(Oddly enough it does still say HW in the stats)

Thanks, I did what you said, and it works now.

No worries, it had me confused for a start too….

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X