-
nup, firefox here. but images do show now you moved them to p3dp.
-
what do you mean with precompiled release? panda3d precompiled release?
I just followed your instruction from the first post, but python segfaults
nup, firefox here. but images do show now you moved them to p3dp.
what do you mean with precompiled release? panda3d precompiled release?
I just followed your instruction from the first post, but python segfaults
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