showInViewportTextures

23 votes
Version: 
1.0
Date Updated: 
10/01/2009
Author Name: 
u.v

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.

Version Requirement: 
any (i suppose)
AttachmentSize
showInViewportTextures.ms5.49 KB

Comments

Comment viewing options

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

error

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

asymptote's picture

Hmm Graph, you should get

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

dddesign's picture

.:.

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

Graph's picture

hey there i was bored so i

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

AttachmentSize
temp2.ms 24.61 KB

Raphael 'Insanto' Steves
http://Graph.Net84.Net

dddesign's picture

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....

AttachmentSize
screen.jpg 26.91 KB
dddesign-showinviewporttextures2.mcr 25.28 KB
Mike Truly's picture

Thanks for this useful

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.

Sincerely,

Mike Truly
----------------------------------------------------------------
Truly Media
970.349.5651
http://www.trulymedia.com

stenionet's picture

Great script. Is there a way

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

Mr.T's picture

Thanks for the script, I

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

u.v's picture

i add wireframe button to

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

Technical Artist

u.v's picture

i place a copy diffuse map

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

Technical Artist

Comment viewing options

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