Notifications
Clear all

[Closed] Setting viewport antialiasing through maxscript

here’s my lame attempt. seems working…

...
    toggleD3DAA()
     
     	fn mwAA =
     	(
     		dx_ini = getdir #maxroot + "d3dgfx.ini"
     		AAQuality = getINISetting dx_ini #Settings "AAQuality"
     		getINISetting dx_ini #Settings "AAQuality"
     	)
     
     	if (mwAA() != "0") then
     	(
     		IDisplayGamma.colorCorrectionMode = #none
     	)
     	else
     	(
     		IDisplayGamma.colorCorrectionMode = #gamma
     	)
     )
     

Yes, not cobmobox in Max2009, but testing if it exist is useful anyway for above versions in case DirectX 10 is installed, there runs very simplified d3d-config dialog.

About hidding dialogs, very interesting but too expensive question for my knowledge. I just wondering whether we can put them on the background by changing modal, top most or whatever state? Not moving, just put them behind Max, is it possible?

That’s right. In max 2009, there was no such setting. They added viewport AA internally with the release of 2010.

Page 3 / 3