realistic settings script wanted

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Igryl9l's picture

Hello.

I need to change the display settings using a script.
Display Perfomance:
- Baked Procedural Maps
- Texture Maps
- Viewport Background/Enviroment
Can this be achieved?
Thanks.

harumscarum's picture

thank you very much!

that you. essential script! could you please how to make Radius spinner always visible? i guess it may be floating panel pos:floatpos style:#()

miauu's picture

.

When the Radius spinner isnot visible?

miauu's picture

.

Save this as ms file and put in in your maxroot/scripts/startup folder.
Or uncomment the first four lines, change the name, category, tooltip, buttontext parameters, save it as ms and drag-drop it in max viewports. Then you can assign a hotkey.

-- macroscript SetNitrousVptSettings
-- category:"miauu"
-- tooltip:"TOOLTIP NEEDED"
-- buttonText:"TEXT NEEDED"
(
	disp = NitrousGraphicsManager.GetActiveViewportSetting() 
	disp.LightOption = #DefaultLight  --    #SceneLight 
	disp.DefaultLightMode = #TwoLights	--	#OneLight
 
	disp.DefaultLightsFollowCamera = true
 
	disp.ShowHighlightEnabled = false
 
	disp.AutoDisplaySelectedLightEnabled = true
 
	disp.LightingAndShadowQualityMode = #SoftEdgedShadows
 
	disp.ShadowsEnabled = true
	disp.ShadowIntensity = 0.6
 
	disp.AmbientOcclusionEnabled = true
	disp.AmbientOcclusionIntensity = 1.6
	disp.AmbientOcclusionRadius = 22.0
 
	disp.ReflectionEnabled = true	
)
harumscarum's picture

this is for Nitrous viewport

this is for Nitrous viewport settings with Default Lights so render doesnt matter i guess

these settings is here - Viewport Configuration - Visual Style and Appearance - Lightning and Shadows

 

miauu's picture

Which render is this? And in

Which render is this?
And in which tab/sub-rollout to find the settings?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.