ZBrushCentral

New Plugin - ALTVIEW: an alternative ZBrush interface concept

altview promo.jpg

My earliest experience with ZBrush custom layouts was way back in Pre-ZBrush2 days when the demo program displayed titlebar buttons for several different layouts for your Zbuttons and Palettes. This included a simplified “beginners” layout that let you learn the basic functionality of model building, texture and material usage, scene assembly and rendering using only the essential tools. Soon after ZBrush2 came out ZBCentral featured a thread discussing the potential for users to customize their interface to accomodate the way they worked.

Many ZBrushers have already adapted their default working interface by dragging/dropping control buttons from different palettes onto various interface shelves. These personalized layouts accomodate and enhance their way of working. Left and right side panels may contain permanent palette-menus which will remain in the panels even when temporarily closed. Once an interface is laid out the user saves it as their default “UICustom” interface by simultaneously pressing Ctrl+Shift+I keys. Each time they restart ZBrush2 the saved layout is loaded from the UICustom.cfg file in the ZBrush2 subdirectory.

NOW COMES ALTVIEW:
ALTVIEW is a plugin that presents a new development towards more sophisticated ZB interface customization. This simple but powerful tool could revolutionize how you work within ZBrush by using multiple interface layouts. For instance, you might already have different specialized layouts: one for creating ZSphere models, another for composing complex scenes and still another for 2D painting (using the recently posted ZketchPad2 interface designed by Aurick and Glen Southern). Each and every custom interface could previously be saved and loaded manually within the Preferences:Config subpalette menu. ALTVIEW organizes the interface swapping process and enables it through a single hotkey. My hope is that ALTVIEW might encourage users to design custom layout solutions and share those multipage layout setups with the rest of us.

ALTVIEW HAS TWO MODES:

  1. A List-Making Mode that lets you add the names of your layouts (.cfg files) to the “view list”. You populate the view list by opening the Preferences:Config subpalette and pressing the EditView button. In the Note Window that pops up, you enter the names of up to five different layouts stored in the ZBrush2 subdirectory. To add a name, simply click one of an unassigned slot (displayed as a row of dashes). In the directory dialog find your way to the ZBrush2 subdirectory and select a .cfg file and press enter. The name of the layout view you choose will be added to the chosen slot in the list. When you’re finished adding names, press the Done button.

  2. The always-active BackSlash-Hotkey mode. From this point on when you use ZBrush you can cycle through the listed views simply by pressing the Backslash hotkey. Note that the canvas, active models, layers etc. will remain active in each new interface view. However, if there was a ZScript active in a layout it will no longer be present when you cycle round and reload that view again.

TO INSTALL:
Unzip ALTVIEW.ZIP in the Startup/ZPlugs directory. When you next use ZBrush, you will find the EDITVIEW Button in the Preferences:Config subpalette. I’ve included the .txt version of the script for anyone who might be interested in how it works or in customizing ALTVIEW for their own purposes. You may safely delete the ALTVIEW.TXT file.

As a quick test of ALTVIEW you might try generating a Zketchpad.cfg file from the Zketchpad interface, then adding that to the view list. Next, you might design some alternate layouts and save each as a .cfg file to the ZBrush directory, adding those to the view list as well.

WARNING:
ALTVIEW assumes the presence of a UICustom.cfg file. Anyone using plugins will certainly have already stored some plugin buttons to their custom layout and saved that layout to the UICustom.cfg file. Just to be safe, save a backup of the UICustom.cfg file before you begin experimenting with new interfaces. And remember, each custom layout must be saved in the Preferences:Config:Save Ui palette menu using a unique name with the .cfg extension. Color changes may also be made to your layouts using the Preferences:IColor subpalette. Remember to press the Apply Adjustments button before saving the .cfg file.

Successful use of ALTVIEW depends on YOU to create additional alternate interface layouts. If you discover some new layout designs that you find particularly helpful, please share them in this thread (by uploading your .cfg files, screenshots and explanations).

Please also post any questions, suggestions or problems. :smiley:

ACKNOWLEDGEMENT:
Many thanks go to Marcus_Civis for his helpful tips and code samples during ALTVIEW development and testing. Particularly: enabling UI colors, “taming the wild backslash” hotkey and hiding the backslash hotkey button.

[Edit: ATTENTION MAC USERS:
Please download the MacVersion_AltView.zip file for the corrected version! (Thanks Dogbone) ]

this sounds reeally interesting… i was always wondering if it was possible, to have a different interface in projection master as then the alpha’s and such come in handy :slight_smile:

Hi Sven,

This will be handy.

I have loaded it up but I can’t see an AltView button only an EditView button.

Anyhow I stored a different config in the EditView dialog but the backslash key does not do anything. MacOSX

Dogbone…

Hmm. Good point! It is the EditView key. Gotta change the original post.

As for the backslash not working, could you give me details? You have to exit the popup list box before it will work.

Sven

Good to know you are using MacOSX. Guess you’re the volunteer to beta test for the Mac version. Again, any symptoms would be helpful to me. Thanx

[2nd edit: one thing to test that would help me out: If you could check what the backslash key code is on the Mac?

To do that, drag the Preferences palette to the left or right panel and open the utilities subpalette. Watch the 3rd box down which is the View Keyboard Status box. Note the number displayed there when you press the back slash. It should be 220. If it’s not, then that is probably the problem. Tell me what number is displayed instead and I’ll try to post a Mac version of ALTVIEW to see if that works… THANKS AGAIN!

That’s good to know I thought I was missing a button.

Not many more I details I can give Sven. I’ve restarted Zbrush but the \ key doesn’t do anything.

There are 2 extra configs in the EditView box as well as the default config.

I’ve tried a few other keys with no luck.

EDIT:

OK I just saw your edit. The backslash code is 92

Looks like the right number if this is the right part of your code.

[IButton,“PREFERENCES:Config:EditView”,[StrMerge,“Cycle through AltView List… \CFF9E16[\CFFFFFF”,[StrFromAsc,92],"\CFF9E16]"], // call user selection

Dogbone,

Thanks, I’m going to do a test on this and try to post a fix. Thanks once more.

Sven

edit: I’m sending you a private message with a new version to try…

Dogbone,

Thanks for your feedback and for “beta-testing” the altered script.

This is the first time I’ve had a confirmed problem in one of my ZScripts traceable to a difference between PC and Mac commands. My sympathies go out to the Pixologic development team… :wink:

In case anyone is interested, the backslash key code is 220 on the PC and 92 on the Mac. :rolleyes:

Any other feedback on AltView (positive or negative) from other users is always welcome and appreciated!

Sven

Great work Sven. :+1: :+1: :+1:
I think this will prove a very useful enhancement for a lot of people. There are such excellent possibilities for improving workflow it’s bound to encourage people to explore UI customization a lot more. Thanks, I know I will find it very useful.

EDIT: Interesting Mac/Win difference on keyboard codes; who’d have thought it?!

Just read the first post. I haven’t installed it yet, but based on the very concept, I can already tell you that this is an extremely powerful zplug that will see its way plugged right into each and every production house that uses zbrush. This should also be a default feature for z2.

Absolutely great work Sven. You’ve outdone yourself again mate! :+1:

Here’s my custom config to add to the thread. It’s my basic set up, it uses uses a button for zMats and also zAppLink and MaterialPack2 so I suppose these have to be installed.

The main thing about this config is that it has a carefully designed colour scheme to be unobtrusive yet very easy to see.

Great Utility Sven, this changes everything!