ZBrushCentral

spinscript-thx2marcus

I thought about rendering a turntable animation direkt from zbrush (with textures,shades,materials).
There´s a Technik discribed in this thread: http://www.zbrushcentral.com/zbc/showthread.php?t=3529
but i just could get it work once without the colour bounding effect (discribed by kelvin later in the metioned thread). The Movie-thing seems to reduce the quality of the image…(to 256 colours or something like that, BUT IT WORKED ONE TIME :mad: don´t know y but couldn´t get it work again :cry:

So it couldn´t be soo hard to write a script, that when launched gives me a save lokation where to save frames and then export every frame that “spinit” produces, or what do u think?
Maybe it could be easyer done with manipulationg the spinit script, so that it spins just one frame, then auto export, then spin again and so on and on.

SO I have no Idea how something like that could be scripted, but for a script guru it should be EASY or not???? please need your help, also think i´m not the only one who´s looking fore something like that. greetingz ever

thought some more about this and tested the turntable zcript writen by tveyes

(it worx in z2 if u flip the interface-image). But If u try to turntable some multimarked tools(with the incredible powerfull markermaster) it says:

Zscript Note: Interfaceitem could not be found.
tool:modifiers:deformation:rotate
in…
[IModSet,tool:modifiers:rotate,2]

spinnit has no problem to spin markermaster-multimarked objects.

Also a realy simple script could do it; it just has to:
-rotate the markermastered-group about 4 degrees
-export document in a folder
-repeat x90

The problem is i have no clue, how to write a zscript, so If you do, please helpme!!!
greetingz ever

If you want to learn zscripting then the best place to start is the Command Reference and other sticky threads at the top of this forum. Also recording a zscript of the actions that interest you and then looking at the recording in a text editor is an excellent way to learn.

For a turntable script, there are problems with ZBrush’s rotation method, especially the X and Y axis (which is why the Spinnit script is Z only). ‘Gymbal lock’ can cause an axis flip when rotation is close to 90 degrees and there can be other unwanted behaviour.

TVeyes’ script uses the Deformation slider to rotate the model (and so avoids some of the above problems) but the slider is not available for the multimarkers tool (or a MarkerMaster group) so won’t work with those.

Take a look at this script which pretty much does what you want (but with the drawbacks outlined above).

Thank you soooo much Marcus, this is much more i expected.
You realy are… Godlike :+1:
Tested your script and it woooorx perfect with the defaults!
To rotate along the right axis, i just repostiontioned the marked tools with reposition button.
Again Thank you sooomuch for this powerfull script, this is exactly what i had been lookin for.
greetingz ever

ever,
I’m glad you found it useful. :slight_smile:
Cheers,

yeah man ur scribt rox thanksagain,
it´s more than just a usefull scribt it´s real great!!!
think some more people will download it soon, greetingz ever

p.s: maybe admin should move this to the script section

sorry to bump this old thread
how would i do something similar, yet easier of just flipping the camera to the opposite side view of the center of an object like this gif

flip.gif