ScriptSpot home

showInViewportTextures

Downloads

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.0
Original version requirement
any (i suppose)
Author’s update date
Legacy votes
23
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

u.v

More by this author

Description

showInViewportTextures

it is a gui botton to on or off material/textures previews in viewport.

to assign a shortcut: "customize user interface" -> "mainUI" -> "compariello"

* just you must have materialID equal to number of multimaterial list.

Comments (15)
Alex

addition to description

Works with std materials.
Doesn't work with vray.
Max 2014.

stenionet

error

I am getting error in this line: "if (classOf oggetto.material.materialList[b].diffuseMap != undefinedclass) then"

asymptote

Hmm Graph, you should get bored more often....very cool :) thx

Graph

hey there i was bored so i added and changed 1 or 2 things 

lol didnt even notice, dass du das ding garnich gemacht hast :P
anyways have fun with my version hehe

Attachments
Reply to Graph
dddesign

.:.

hey graph,

thx and danke for the cool code inserting the bitmap

ich bleib zwar lieber bei den buttons sind schneller geclickt aber den bitmap code werd ich ab jetz für alle meine scripts verwenden, auch wenn ich ihn nicht wirklich versteh;)

thx&greetz

dddesign

edited version working with Arch&design

hey,

today i edited the script again to work with arch&design material, also arch&design inside Multi/sub....

if i find the time i want to mnake it work with double sided too....

Attachments
Mike Truly

Thanks for this useful tool!

One problem. It works fine on a regular multi-sub material where the sub-materials are simply standard materials (I can sucessfully show or hide the Diffuse map for example.

But if the multi-sub material contains 'Double Sided' materials... then the buttons of the script do nothing. It appears as though it is not going down into the Double Sided materials and setting the state of the the maps below.

Is it possible to fix this?

Thanks again.

stenionet

Great script.
Is there a way to make it work with Mental ray (arch & design)?

BENETATOS Themis

Thanks for the script, I wanted to make something like this (on/off toggle in viewport for the diffuse), really handy.

u.v

i add wireframe button to switch wireframe on/off with actived shading viewport also.

dddesign

thx for the script but sorry I dont understand the opacity thing:

if (classOf oggetto.material.diffuseMap == bitmapTexture) then
(
oggetto.material.opacityMap = Bitmaptexture fileName: (oggetto.material.diffusemap.filename)
oggetto.material.opacityMap.monoOutput = 1
)

its always changing the opacity map(procedural) to the diffuse map.
a bug???

I erased this and the rightclick feature, now works fine for my needs .......

could upload it if someone needs it too.....

i place a copy diffuse map in opacity channel to show in viewport alpha channel ... if you place txt in color diffuse just, i can't see alpha in viewport ... so i resolve it with left/right click ;)

however ... tnks about yours support

paulov

THanks, especially usefull with multimaterials. Wich are a pain to set the texture on one by one. Thanks

u.v

update ...

i add "Empty MaterialEditor" button