Antialiasing polygons
Hello,
I want to enable antialiasing for all the vrml objects in my application.
I have been able to enable this for simple lines with the commands:
viz.enable(viz.LINE_SMOOTH)
viz.enable(viz.BLEND)
but the polygon equivalent
viz.enable(viz.POLYGON_SMOOTH)
viz.enable(viz.BLEND)
works only partially. That is, the vrml
objects do seem to get antialiased
but there are transparent lines in all
the objects making the scene look bad.
To see this, try loading the room and table that come with Vizard and enabling antialias.
How could I correctly enable antialiasing for vrml objects?
Thanks,
Max
|