ScriptSpot

Forum topic · Scripts Wanted

realistic settings script wanted

By harumscarum · 2014-05-07

Description
Comments (6)

Hello.

Igryl9l · 2020-04-21

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.

thank you very much!

harumscarum · 2014-05-10

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 · 2014-05-10

When the Radius spinner isnot visible?

.

miauu · 2014-05-08

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 · 2014-05-08

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 · 2014-05-07

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