The only antialiasing mode works well.

  1. nup, firefox here. but images do show now you moved them to p3dp.

  2. what do you mean with precompiled release? panda3d precompiled release?

I just followed your instruction from the first post, but python segfaults :frowning:

  1. I guess the hoster is getting smarter :laughing:
  2. yes, Josh Yellon’s build, what else

I’m just fine here. Did you build it yourself ?

I’m using the deb package, meaning Josh’s precompiled version.

I know this is an old post but I figured I would post here since I am having problems getting AA to work on Panda3D 1.5.3. I have the following lines in my code.

At the beginning of the python script

from pandac.PandaModules import loadPrcFileData
loadPrcFileData( '', 'framebuffer-multisample 1' )

import direct.directbase.DirectStart

Right after doing capabilities checks

        # Set antialiasing to on
        render.setAntialias(AntialiasAttrib.MMultisample, 1)

What else do I need to get this working. I know the card supports AA its an ATI Radeon HD 3450 and I can turn on up to 4x multisample AA in WoW.

That’s all you need, or you can directly set the samples count :

loadPrcFileData('', 'multisamples 16')

which automatically turns on FSAA.
To verify it :

print 'AA SAMPLES:',base.win.getFbProperties().getMultisamples()

I can get it perfectly fine with my own builds, both on Windows and Linux :
2x : 41 fps
4x : 26 fps
8x : 14 fps
16x : 7 fps

If I go beyond 16 :
:display(warning): FrameBufferProperties available less than requested.
HD is HighDefinition, right ?
It should be alot more capable than my junky FX. Are you sure you’re not override it at driver level ?
What’s your OS ? Are you using DX ?
I built mine without DX, so I can’t tell.

This worked. It seems that the render attributes are not propagating down through the nodes cause if I set the render node with AntialiasAttrib.MMultisample. Then check the anti-aliasing of nodes under that like the node that the model is attached to it reports no anti-aliasing as being set. So any ideas why the anti-aliasing setting is not being pushed down to the other nodes?

Hi,

I am trying to turn it on but it says

NameError: global name ‘AntialiasAttrib’ is not defined

Do I have to import something other than these two?

from pandac.PandaModules import loadPrcFileData
loadPrcFileData( ‘’, ‘framebuffer-multisample 1’ )

import direct.directbase.DirectStart

Thank you!

You need this import to be able to use AntialiasAttrib.

from pandac.PandaModules import AntialiasAttrib

It only works for the particular node on which setAntialias() was called, just like setTexture. But the effect propagates down.

Now we’re in the subject, is there a way to override the driver setting for antialiasing modes? I did not find any config variables for it.

The “driver settings” are themselves overrides for what your application might be requesting programmatically. So, no, there’s no possibility to override them further in the application.

David