PDA

View Full Version : Active annotation of ZScripts



Mahlikus The Black
06-09-03, 05:34 PM
I was thinking...Is there a keyboard function that, when modeling, something can be pressed that opens a window for one to type notes into the generating Zscript? That way one wouldn't have to disect the ZScript afterward to add notes. If there isnt a way..this would definately be a plus for future scripting abilities.

thanks

Mentat7
06-09-03, 05:40 PM
I have been after a feature like this for a loooong time. There were even a couple of threads discussing something like this . At one point such a feature was being tested in one of the betas. I do not know how far it went or if Pixologic is intending to include it in a future release. I do know it caused issues with the scripts. But who knows...maybe if we ask real nicely and roll our big Z-eyes Pixolator will bestow such a gift on us. :)

Mahlikus The Black
06-09-03, 05:45 PM
*grumble grumble grumble*
Thats cool I guess. Would really REALLY love to see this implimented. Would save TONS of time! :(

~Rolls BIG Z-eyes at Pixolator~
*blink blink blink*

Mentat7
06-09-03, 05:48 PM
I agree......and it would open the door to zscript tutorials to the ZScriptic Impaired (like myself :D ). That is the one thing that stops me from making more tutorials simply because I don't have the time to run through the code, figure out what is happening where, and annotate it.

TVeyes
06-09-03, 06:10 PM
You probably both know this :) but for anyone else reading this there is a little trick to help in annotating a zscript. Simply press a button you would not otherwise use, whenever you want to add a note(should be a button that does not affect subsequent drawing(like Replay Delay)). Then Quickly scrible down on a piece of paper what you want to say and continue modelling/painting. When your finished open the Zscript in a text editor and replace all occurences of that 'special' command with what you have written down.
Just make sure you can read your own handwriting ;)

Can't remember which thread I picked this tip up from, it was a fair while back I think.

But yes it would be pretty neat if Zscript annotation was built into Zbrush.

Mahlikus The Black
06-09-03, 07:00 PM
would really like to know what key that is.

Pixolator
06-09-03, 07:54 PM
Hi :)

It is possible to interactively insert notes into a recorded ZScript by following these (previously undocumented) steps...

1. Load the ZScript that you wish to annotate in ZBrush.
2. Begin ZScript recording.
3. Optional step: Set the ZScript ::Replay Delay value to about 500 in order to slow down the replay speed.
4. Press ‘Play’ to begin a replay of your ZScript.

5. While your ZScript is replaying and being rerecorded, you may insert notes to the recorded ZScript by pressing the CTRL+SPACEBAR keys. This will pause the script and display a text-entry dialog box. Type the text and press OK ( repeat as needed). When done, press the CANCEL button in order to dismiss the dialog box and resume recording. Repeat step 5 as needed.

6. When done annotating the script, Press the ZScript ::End Rec to terminate the recording and save the new annotated ZScript.


You may now test your ZScript and - if needed - open the ZScript in a text editor and modify the inserted notes.


Hope this helps :)
-Pixolator


Note: Version 1.55b does not record notes that are already available in your original ZScript, therefore, you need to fully annotate the ZScript in ‘one-pass’. Any corrections or additions to the notes should be done within a text-editor. (Next ZBrush version will rerecord the notes of the original ZScript.)

Mentat7
06-09-03, 08:24 PM
Wooo hooo!! Gonna go play now...thanks O' Grand Pubah of Pixoldom!!! :tu:

Mahlikus The Black
06-09-03, 08:26 PM
*dances and screams in joyous praise*

Mentat7
06-09-03, 08:32 PM
ummm........nevermind

Mahlikus The Black
06-09-03, 09:52 PM
Doesn't work for me.

Do you load the txt file or the zsc?
Can this be done after ZB has been closed and reopened?

I press ctrl+spacebar and nothing... :( :( :(

Okay well I got the window to pop up but now it wont take the text... :(

Mentat7
06-09-03, 09:55 PM
hehehe....Mike......follow the steps exactly. You load the script then press the RECORD button, then press the PLAY button. :D

Mahlikus The Black
06-09-03, 10:02 PM
I see...I'll try that
..nope..record is grayed out.
Still wont take the text when I press okay
..too tired..will try tomorrow...

juandel
06-09-03, 10:32 PM
sounds mega :cool: !

- juandel

Polaris30
09-13-04, 02:54 AM
OMG!

This feature has been around science 1.55!

LOL!

OMG, I finaly got up enough nerve to open up the Zscripts and do it manualy...

My next Zscript tutorial is going to be very nice!!!

Thankyou very much for this!

I give this thread the :cool::tu::tu::tu::tu::tu::tu:+ Rateing!

A Must read for every Zscripter!

thanks again :D

Fouad B.
09-13-04, 10:24 PM
humm.. very usefull information.

Is another tips to clean a script "interactively" ?