ScriptSpot home

BG Switcher

Downloads

3ds Max compatibility
Unknown
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
2
Original version requirement
2011 or lower
Author’s update date
Legacy votes
152
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

Arahnoid

Igor

Credited author: Igor Grinchesku

Setup & notes

Hi, here is the new version of BGSwitcher which allow you in easy way to set in you viewport nice gradient backgrounds and modo like backgrounds

New:

  • New ui
  • Fixed strips for gradient background (gamma 2.2 problems)
  • Spherical backgrounds like in modo (works just in  3DS Max 2012)
  • Silhouette tester
  • Dummy
  • Materials and improved wireframe randomizer
  • UV Cheker tool
  • Quick Materials
  • MaxScipt tools

I have recorded a video how to instal it and use BGSwitcher 🙂 it was first time when I made some explanation video and I was a bit nervous 😳  and Sorry for my English.

I had a bit of problem with video an audio synchronization at the end of video :( so I'll try to update it later. sorry for this


For runing script I used  Script Organizer
Also please have a look at Splitgatecentral video "Making of N0X-2292 (part 1)" on vimeo to see how usefull can be silhouette tester

If yo have any suggestion or found a bug please dont hasitate to contact me by mail. If you are interested to join and participate in discussion and developing of BGSwithcer feel fre to join to BGSwitcher room on IRC

Server: irc.freenode.net   Room: #BGSwitcher

Thank you!

Videos
Comments (55)
silencer77

Great stuff. However do you think it is possible to have it so when you use gamma on you will have the same result as when it is off. I always have gamma turned on but the backgrounds dosn't look so good then.

Try to turn on/off few times gamma using "On/Off Gamma" button in background switcher rollout in 90% it helps.
BGSwitcher have 2 sets of background images, first one is used when gamma is turned off and second set of images is used when gamma is turned on. But some times even this set of background images looks bad and I have no idea for the moment how to fix this

dreamco

Unfortunately it works for me only with an empty scene. When i open a scene and use it only shows plain colors instead of gradients. Did i mention the script error when you already use a color as background? I think its far away from RC.

PS. To be honest i performed a scene merge of my file in an empty scene and re-saved. Then it worked as expected.

harumscarum

wow! great improvement. but is spherical background works only in shaded mode?

Spherical Backgrounds should work in all modes shaded, wireframe etc. but them works just in 2012 version

lucpet59

Great script

Can you restore the original state of max after changing it?
I tried to watch the video but I have trouble hearing and couldn't work out what some of the button were for (Could you add some tooltips to the buttons)

Reply to lucpet59
Igor

Hello lucpet59

>Can you restore the original state of max after changing it?

Do you mean to restore originial state after you use MaxScript tools? then try to use button with green arrows

Please let me know what categories of the script are confusing for you and I'll try to help

Reply to Igor
lucpet59

Arr yes sorry I should have been clearer.
What I was trying to ask was, if I change one of the background colours is there a button to go back to the way is was before.

Reply to lucpet59
Igor

In BGS rollout

Yes, actualy are 3 buttons in BGS rollout. AW AD and in right upper corner.
AW - is for ame-lihgt color scheme set viewport background color to light gray
AD - is for ame-dark color scheme set viewport color to dark gray
the last one in upper right corner allow you to switch between gradient viewport and simple colored

Igor

Thank you

Hi @miauu thank you for you suggestion, will definitely check RTTAsist script
@Michele71 thank you :)

Michele Marcelli

Very, very nice job man! :)

miauu

I have one suggestion :)When

I have one suggestion :)
When you are using Silhouette tester closing the BGSwitcher will leave the white(black) materials. It will be nice when you closing the BGSwitcher the original materials of the objects to be restored. :) This is easy to do. If you have some troubles look the RTTAssist code. :)

wearestardust

No Mr Sky...

Nevermind, i still love your script, just forgot to tick "Use environment" in Viewport Background Settings...

wearestardust

no mr sky?

Hey,

I love your script and i bet its not the scripts fault,but mine...so...i installed it a couple of days ago and now i tried creating a daylight system with mr sky and i can´t see the mr sky in the viewport...any idea, what could cause the problem, if its NOT your script?

ShiroEd

Gamma?

Hi,
Just wondering if you've managed to fix the problem with Gamma 2.2 and when we might expect an update?
Also how do I get it to save my background choice when I close Max down? Both 2011 and 2012 don't save my choice by the way.

Much appreciated and great work on an awesome script!

Reply to ShiroEd
Igor

Hi ShiroEd

I work on big update of BGSwitcher and I hope in a month it will be ready There are fixed somehow problems with gamma backgrounds look not perfect but much better without large strips.

For now you can try to fix your background using:
Customize-Customize user interface - Colors(tab)- Viewport(dropdown menu) and find there Viewport background change color too (RGB 125 125 125) for light ui or RGB 9 9 9 for dark ui

After go to "Customize-Lock UI Layout" it will prevent changing background color after restart

harumscarum

great script!

i like modo gradient most of all. but is it possible to make parametric? i mean could it be rotatable like in modo?

Just theoretically

Yes I guess theoretically it is possible but the way how I imagine it, will slow down viewport :(
Who know I am sure here are experts who can do it well but don't see some sense to do it.

by the way I almost figured out how to fix problems with striped background for 2.2 gamma it is not perfect but is much better :)

Ace-Angel

Fantastic Script!

EDIT: Argh, never-mind, I'm an idiot. Script works fine, thanks alot mate!

vbn

Gamma 2.2 fix?

Great script, Igor!

I have just a minor request. I will be very happy (and I am sure many others too) if you find a fix for those who use gamma 2.2 (Linear Workflow)? I can't deactivate the gamma settings as you suggest because then my renders are looking wrong. For the gamma 2.2 users like me the banding on most of the presets is horrible. Thanks!

Reply to vbn
Igor

Thank you for reply

This days I will try to fix gamma problems.
I guess what I export images with wrong gamma. As you can see on screenshots of ui above gamma changes also affect buttons color in the script window.
First screenshot was made with gamma turned off and second one with gamma 2.2 and look much darker

If somebody have any idea how to fix gamma 2.2 please let me know.
I will highly appreciate any help

Ale3d

BGSwitcher don't Run

Please, help me. When I switch to any viewport background, an error appears and it says:
--No "SetAsBackground" function for undefined.
How can I fix this in the script?
Thanks

Reply to Ale3d
Igor

Hi

Sorry for so late answer
Please contact me by mail and I'll try to help you
Thanks,
Igor

anujraghav

very nice script
only issue is when renderable is on rendertime increases drastically
even blank scene takes 10x longer then default

what i found was that its because of filtering , switching filtering to none increases the performance noticably

Hi anujraghav thanks for reply
what kind of rednderer you are using, because I don't see any difference of render speed in Mental Ray

Tiago Sales

Already mailed to you.
Thanks.

Tiago Sales

great script! I'm going to use it a lot!
I have added some features on it like make background renderable.
i can show you if you don't see any problem.

Hi Tiago 🙂

of course I would like too see how you added this feature in script

I am working on second version of BG Switcher and I also have added possibility to see background in reder frame but maybe you did it better so please send me your version on mail arahnoiddesign@gmail.com

I want to add more nice features in it   but because of my  beginner skills in max script it take more time than i thought

Thanks,

Igor

 

A R K A I K O

Hey,thanks for this,very nice!But doesn´t work to me!The Pop-up Max script appears with the message " --No setAsBackground function for undefined",what means?Sorry for newbie question!Help me,please =)

Sorry for that
I have made a small update of script
Now should be no problems with path, installation is more easy script not depend on drive or folder where you have installed 3d Max

I apologies for the script errors,but until end of the week I am very busy and have no time to fix all
Best regards,
Igor

Reply to Igor
A R K A I K O

Thank you very much,working nice here now!
I´m using Max 2011 32bits,OS Win Vista Ultimate 64 bits

Thank you mate!

fajar

can you just replace

C:\Program Files\Autodesk\3ds Max 2011\Scripts\BGSwitcher\\" + imgName +".png" to #maxroot + imgName +".png", it'll make your path more relative...you can install it in Windows or 3dsMax which is max or windows doesnt installed in C ...

thank

traustinn

This is really nice...GREAT JOB!! :)

Massemannen

Friggin´cool! Additional option could be to also change edge colors and face colors...

lumgik

Sweet script=)

Does it fit with Max 9?
I edited the line in the Script to my 3D Max 9 installation path, but when I run the script in 3D Max 9, nothing happened.

Panayot Karabakalov

Hi Arahnoid,
I see so this is your first script here, nicely done, cheers, keep going.

A time ago simplar script was asked in the forum and I made a simple one (without gradients). If interest in, check it out here.

Regards
Anubis

Hi Anubis Thanks for link actually I want to make the same functionality as in "Swap background color" script to allow to pick any color what you want instead to have static color icons 🙂

Hi lumgik

"Does it fit with Max 9?"

Scrept wasn't tested by me in this version of 3 dmax but I want to ask you to execute this trings in script listener one by one wit numpad enter key or Shift +Enter

bgNewImage = openBitmap "C:\Program Files\Autodesk\3ds Max 2011\Scripts\BGSwitch\Maya2011.png"
setAsBackground bgNewImage
viewport.DispBkgImage = true
completeRedraw()

Just change first string in this format

bgNewImage = openBitmap "PATH_TO YOUR_ SCRIPT FOLDER \BGSwitch\Maya2011.png"

and let see what will  happen

Reply to Igor
real08121985

Maybe this is useful for you. The second line of code solved so many problems for me.


-- 3ds max scripts folder
scriptsDir = symbolicPaths.getPathValue "$scripts"

-- folder of this scriptfile
thisDir = getFilenamePath(getSourceFilename())
Reply to Igor
drdiegocolombo

Error in 3ds max2009
when i chose one preference the message is "--No "setasBackground" function for undefined
Thanks for help

Igor

Thanks guys for comments 🙂

"what about to have it renderable?"

It is  cool Idea I'll try to make it in next version as sun as possible 🙂

jinj

nice tool!
what about to have it renderable?

Nysuatro

I like it a lot. How about the feature of adding a image that you can repeat in the y and/or x axis.

Alexander Chernega

Очень интересный скрипт. Мягкий фоновый градиент, намного приятнее однотонного серого.
Большое спасибо.

Very interesting script. Background color transition, is much more pleasant monophonic gray.
Thank you very much.

asymptote

Very Nice , I'm modeling f1 circuits at the moment and this gives me a virtual skyline in Max.I like it a lot, much more pleasing to the eye gives the viewport some depth, and my screengrabs look cool :)
The only thing I can suggest is adding an add/save preset routine using gradients (If this is possible in Max).

thanks

Reply to asymptote
Igor

I'm glad to see what you find this script useful :)
I like an idea about custom presets, actually right now I don't know how to make this :( because I am new in max script but I will try to ad this functionality
Also I have a few new ideas how to improve script and I think very soon you will see a new version of script
:)

Igor

Hi guys sorry for that
I have attached the script :)

chenx

Cool!But where's link?

fajar

No link ....???!!!

asymptote

Looks cool , but I don't see a link.