PDA

View Full Version : Zscript : 360 Turntable rev A


TVeyes
02-01-04, 04:22 PM
http://www2.zbrushcentral.com/uploaded_from_zbc/200402/user_image-1075680388gtx.jpg


360 Turntable rev A (http://www2.zbrushcentral.com/uploaded_from_zbc/200402/user_file-1075680440vaf.zip)

Rev A source code (http://www2.zbrushcentral.com/uploaded_from_zbc/200402/user_file-1075680547nox.zip)

360 VR animation (1.15MB) (http://www.markoshea.dk/Anims/360VR.zip) --- 360 Twirl movie (944 KB) (http://www.markoshea.dk/Anims/360Twirl.zip)

Simply unzip into your Zscripts/Utilities folder and load using Ctrl+Shift+l or your favourite launcher.

Very quick explanation:
1 :: Draw a 3D object on the Canvas and enter Edit mode.
2 :: Press 'm' to mark the 3D object, stay in edit mode.
3 :: Select one of the three 360 rendering methods and adjust the values.
4 :: Set preferences to your liking and press 'GO'.

:b4: The model is rotated along the X and Y axis' as they are seen in the Object Preview window. So you would want your Head model to be looking directly at you when you check the Object Preview window.

:b4: Filename is fixed as 360Rotation0000 and pictures are placed in the "../360Turntable_A/Output" folder. Might change.

:b4: If you turn off .PSD and .BMP output you can preview the rotation, it will not save the renders. It is best to use a low poly object when previewing, just to get a general idea of the path/speed the rotation takes.

:b4: Horisontal rotation is achieved through the Deformation palette. So if you break a rendering process you better have a huge undo list or a backup of your model saved on disk. This will be changed in the next version.

:b4: The help file is currently out of order :(

Although the script is functional right now there is still alot of room for improvement. I am releasing it now so that I might get some feedback and ideas for new features. Foaud already got me thinking (thanks) but I am sure other people also have some good ideas for this.

Also I would appreciate it if someone could make a Quicktime VR movie from the above movie link (360VR.mov). I simply could not find a proper tool to do this on a PC, for the Mac I found loads.

Enjoy.

rpage
02-01-04, 04:35 PM
you need a name and password to access those .mov files. might want to store them elsewhere.

50'sKID
02-01-04, 04:42 PM
Another cool addition! Thanks Tveyes. 50.

TVeyes
02-01-04, 04:43 PM
Thanks Rpage, fixed it.

Fouad B.
02-01-04, 11:10 PM
yesss! TV lot of thx !!!
exactly what I need! :p :D
you are the best! :tu: :tu: :tu:

Frenchy Pilou
02-02-04, 12:27 AM
Hi Tv
Neat prog and gyroscoping animations :tu:
Pilou

Big T
02-02-04, 01:39 AM
Hi TVeyes.. great script this is exactly what I need. I tried it out for a sec. I have a few requests. I was not able to choose the render size I tried on a high res character and it shrunk resolution down to about half size. Then I did it again with a simple sphere edited and it exported at the resolution set in preferences of Z. kinda weird. I would also like to be able to choose the folder for the final images. Is there a way to export tiff’s or tga’s? T be able to name the rotation because it overwrites previous renders. If you forget to take the images out and do another render of something else you lose your 1st set of renders. The frame numbers for each section for horizontal and vertical are good but I would also like to see what that translates into degrees. So 15 frames is 1 frame every 24 degrees of rotation. Maybe when you hit go it asks if you realy want to go… so you don’t hit it on accident. If you select poyframe and no .bmp or .psd and hit go it runs through the motions without rendering the frames. That is cool cause you get to see it visually of how it will look without rendering all the frames. Forgive me for nit picking you this is a tremendous script and I am just giving you some feedback.

Thanks for going the extra effort,


T
:)

Fouad B.
02-02-04, 04:47 AM
Hi Big T
That tool is based on native export format of Zbrush, Psd and Bmp ...
other formats are not supported by Zbruh.

Fouad B.
02-02-04, 06:57 AM
here is the TVeyes exemple converted with a small tool on pc in QTVR format (hosted on my own computer so may be not ever accessible)

Online sample (http://fouad.no-ip.com/)

matvara
02-02-04, 07:21 AM
Great addition to Zbrush. I haven't tried it
yet, but reading the explanation, it's a great
tool.
Thanks for taking your time coding this!
:tu:

KingSalami
02-02-04, 07:28 AM
Thanks a million TV! Nice demo Fouad B.

Can't wait to try it.

Sleeperservice
02-02-04, 11:42 AM
Yeah, this is very good. Just what I needed as well :) Nice work.

kokoro
02-02-04, 12:07 PM
this is a really cool skript tveyes ! wonderful, i go try out ! great addition to zbrush ... :)

artboy21
02-02-04, 05:01 PM
osunds great! can't wait to try it! THANKS!

artboy

TVeyes
02-03-04, 08:58 AM
Thank you for all the comments. It always makes the job worthwhile :tu: If you have any wishes I will try to incorporate them into the next version.

Big T: The render size should be set in the Document palette. If you turn on 'Antialiased' in the script it will antialiase the Zbrush way, i.e it will press Zoom ::AA Half. So plan your render size beforehand by setting the canvas size to double the intended output size if using 'Antialiased'.
I will most likely make the output directory and filename user definable in the next version.
Lol, I originaly had angles instead of frames displayed in the horizontal/vertical boxes. But then figured people would rather have frames. I will put a switch so the user can choose which in the next version.
I might remove the 'GO' button completely and add a keyboard shortcut instead. That should remove any accidental Go's completely. Btw, there is a small 'bug'. If you exit a 360 rendering You will have to press the 'GO' button twice to start another. Should be fixed in the next version.
The 'preview' rendering when no output format is selected (.psd/.bmp) was intentional but I forgot to mention it in my first post, thanks.
Thanks alot for the feedback Big T much appreciated. You can give as much critique as you want, you can even call it crap if you state the reason why you think so :) Thanks.

Fouad B: Thanks for the example Fouad. Which tool did you use to convert it? I am not sure my VR file is properly converted. I used 15 frames horizontal and 13 frames vertal. But it does not look like I expected, maybe I do not render in the correct order?

Thanks again for the comments :tu:

andreseloy
02-03-04, 09:10 AM
Thanks a lot TVeyes¡¡
We are very happy with each usefull contribution, before was your extremely usefull and practical modeling shorcuts¡¡¡
Thank again
Andreseloy
ps: I made an exercise with a head model of 130.650poli and works fine. After I convert all the psd format to jpeg and imported to Director MX (cast to time mode) and export like avi, work very well¡¡

Fouad B.
02-03-04, 11:00 AM
Well, Tv ..
I do not know very well the constraints about the order of the images for a format QTVR, but within sight of the result, I think that the order of recording of the images could be improved. with regard to the tool allowing to convert, I put it provision on the page of the link posted higher. it is about a very old tool freeware. in fact it there a small panoramic succession of tools related to the convertions of formats and also conversion qtvr. I put has provision that which interests us das the immediate one, and if you desires the remainder of the continuation ask I will put it too in link.


very simple to use:
open the soft got to Test > Make object movie > load the mov file and save it with another name, that's it.

if you are a coder a have the source code of this tool.

Fouad B.
02-03-04, 03:13 PM
André you can download here a little prog witch convert sequence of BMP file to avi video format.

Bmp2Avi command line and Gui (http://www.divx-digest.com/software/bmp2avi.html)

if you are not familiarised with command line, just copy the executable file into "output" directory of your script and lunch it, it will do a process and create a out.avi file ... that's it.

Digits
02-04-04, 07:14 AM
Works great, especially now that I know you can preview the animation by switching all output formats off. I do notice that the rotation has the good ole axis flipping problem due to the way Zbrush objects are Matrixed. And I think X-axis rotation is limited to +-90 degrees, I may be wrong on that.

I was thinking thou that this might be overcome by creating an imaginary circle around the origin of your selected object and then using Davey's PointoFrom script to rotate the object to point to that point in space. Just a thought.

TVeyes
02-04-04, 02:14 PM
Thanks Fouad :tu:, I did not see the link the first time round. Tried it, tried it with many different settings (.mov and 360VR settings) but could not get any good results. I would very much like to see the source code if you still have it, thank you. Btw, after seperating QTVR movies from the internet I am sure I have the frame order correct in the script.

Digits: Yes, I need to make it a bit more friendly and document the features in the script. Do you get axis flipping? I was sure that using the Tool ::Deformation ::Rotate X for one axis and the Gyro for the other would elimenate that(I could of course have used Tool ::deformation ::rotate for both axis but deformation rotation is slower than gyro rotation(transformset)). Yes, the X axis rotation is limited to 90 degrees, I forgot to edit the code after I edited in the higher frame #'s.

The imaginary circle sounds like a very good idea. I knew that [Transformset...] would be the easiest way to make this work but as we both know, flipin' axis flipping ;) Do you think a single imaginary X axis would work even in Perspective mode? I can't quite get my head around it until I try it.

Thanks for the input Digits, much appreciated :tu:.

Fouad B.
02-04-04, 02:41 PM
ok TV, the link is updated here (http://fouad.no-ip.com)

TVeyes
02-04-04, 02:50 PM
Thanks Fouad, I will have a look. I will not have much time this week to do anything but maybe next week.

I am not sure if anybody has noticed but there are various errors that occur due to the object still being edit mode while rotated/rendered. All types of things can happen if you move the cursor while it is rendering. A frame can be skipped, a mouse click can be registered and draw color on your model, the list goes on. I am certain I can fix this for the next version. But note that this has only happened during the very long renders 30-40 minuttes where I have been surfing while Zbrush rendered. If you leave the computer alone after you press 'GO' you should be okay(unless you have a texture map applied to your model)

But I digress, many bugs, many fixes expected in next version.

TVeyes
02-04-04, 03:52 PM
I had a look at the source for the VRMakeObject.exe, or rather I read the ReadMe.txt :rolleyes: The PC tool VRMakeObject.exe expects to receive a .mov file with 468 frames, at 36 horisontal and 13 vertical (Just select 12 vertical in the script, it is the same).

If you create an image sequence with 36 horisontal and 12 vertical in the script you can convert that to a quicktime movie and run it through the program Fouad supplied in the link above. I think that creates a near perfect Quicktime VR file, maybe a frame is missing but I will check back on that next week.

So now there is 1(?) free tool tool to make Quicktime VR ojbects on a PC. I will try and see if I can recompile the source to allow user definable horisontal/vertical frames/angles. But I am not sure of the copyrights, there is nothing in the compressed file you supplied Fouad, does anybody know? Or should I contact the QuickTime Dev team?

Anyway, It was very nice to get a functional Quicktime VR out of this, I will update the first post with a couple of proper VR .mov files and some instructions to create them on PC and Mac (need your help Mac people, please PM me).

Thanks again Fouad.

andreseloy
02-08-04, 11:14 AM
Thanks TVeyes for you support and also Thanks to FuadB for your command help¡¡
Here is a test
http://www2.zbrushcentral.com/uploaded_from_zbc/200402/user_image-1076267582oha.gif

Fouad B.
02-08-04, 12:14 PM
I don't know about copyright of this package. then try to contact the author.

but.. If they distribut the sources I think if it is for personnal use and experiment, that's right.

andreseloy
02-08-04, 12:33 PM
Hi FouadB i this case i used 8 psd then a convert to jpeg and put in Ulead Gif Animator because the number of frames that are pickup with the TVeyes Tool are very large and the final field is to big (more than 2 MB). But I have used the program you put in the forum and it work fine.
I want to know how many frames you use to have a big image like in the light tutorial and can download with the restriction of 200Kb in the forum?
Thanks
Andreseloy

Fouad B.
02-08-04, 02:45 PM
humm.. something like 10 or 12 Images. but you must optimise the palette color for your gif.

I used 64 colors. and the file do 57 Ko

andreseloy
02-08-04, 02:51 PM
Thanks FouadB, I am very impressive about the potential of learning from your tutorial scene.
Thanks again
Andreseloy

wchamlet
02-11-04, 12:45 PM
http://homepage.mac.com/chadtheartist/.Public/head.gif

Neat stuff TVeyes, thanks for sharing. This will work great for doing demo reel turn-arounds. You saved me from having to go to another software to do this.

HDX
12-31-04, 06:53 PM
When I load the script the interface is upside down and backwards. Has anyone seen this behavior?wackedOutInterface.jpg

aminuts
12-31-04, 11:27 PM
That script was written for at the very least 1.55b and maybe even an earlier version. Things have moved around a bit in z2 so sometimes older scripts don't quite work right.

if you are using z2 there is a spin button.....i think its called spin....i don't have zbrush in front of me at the moment......check the tools, transform or plugin menus. When I get a second I'll look and get back to ya.

LunchBox
01-01-05, 07:31 AM
aminuts (http://www.zbrushcentral.com/zbc/member.php?u=8205) is referring to:
TRANSFORM > Zspinner: SpinIt (at the bottom)

Svengali
01-01-05, 08:04 AM
Here is a thread that was posted a while ago where Pix explains how to use the SpinIt button's undocumented features to accomplish something similar to TVEyes' utility.

Sven

Scroll fifteen entries down in THIS THREAD (http://www.zbrushcentral.com/zbc/showthread.php?t=3529&highlight=SpinIt)

foundway
10-13-05, 12:01 AM
Hi

I'm pretty enjoy using the turntable script. Even though I'm using ZBrush 2.0 and the background is upside down. I've tried the spin it method too, but that method seems only generate low quality movies.

My question is: is it possible to render the sequence in perspective mode? It will help me render more realistic images.

Thanks

ever
02-01-06, 04:26 PM
yeah, perspektive would be great for that plugin!!!
is it possible?
greetingz ever

cannedmushrooms
04-14-06, 05:08 PM
oops wrong thread

cannedmushrooms
04-14-06, 05:15 PM
getting the following error with script
help.jpg

please help

marcus_civis
04-15-06, 01:56 AM
I suspect that error is caused by a missing folder. Do you have an 'Output' folder at the path given in the error message? If not, create one and see what happens.

HTH,

Anatom
04-16-06, 01:52 AM
Same with me, the interface is turned backwards like in your case.
Please, dear author, correct us or the proggy.

:( Anatom

abone114
04-27-06, 10:39 PM
yeah mine is upsidown and all messed up, the buttons done line up. is there a new version in the works? possibly??;)

TVeyes
04-28-06, 12:59 AM
Sorry about the late reply.

Unfortunately between 1.55b and 2.0 Zbrush changed the way it reads .bmp files, resulting in an upside down image in 2.0.

This script is a bit out of date and a new version is in the works right now. Until then you can load Layout.bmp into ZBrush, flip it vertically and save again. PM me if that does not work.

sirquadalot
04-28-06, 08:29 AM
TVeyes, just a belated thank you. I wish I would have seen this way back when. I kinda gave up on Pixolators script, and would love to see an update to your's. Thanks in advance.:D

Anatom
04-28-06, 12:53 PM
Dear TVeyes,no.
The idea to flip vertically the layout image of the script in question did not work.
I am sorry about that and hope you may find time to fix it so that Zbrush2 users can also enjoy your script.
:rolleyes:
Anatom

TVeyes
04-28-06, 01:58 PM
That sounds strange. Are you on a Mac or PC?

I am at work right now but I will post a new interface file tomorrow morning.

TVeyes
04-29-06, 02:51 PM
Anatom, flipping the texture vertically will work. Not sure what happened when you did it. Did you remember to export again afterwards. Remember the default texture export format is .psd, you should save as .bmp.

In any case here is a Layout.bmp that will work. Extract and overwrite the existing layout.bmp.

Anatom
04-30-06, 02:03 AM
:lol: Oh, thanks so much, dear TVeyes.

I understood the problem:
I have used Zplugmaker before and, having changed the bmp layout, expected erraneously to see the change...
I ought to have deleated the old myplugin files first (showing the wrong desplay of the layout), then retry.
Now all functions swell and I can only express my deap facination at your plugin.

Presently Zbrush has advanced another step into animation and I can use
graspin soft to write an avi file which can easily be converted into gif and anything of the sort.

You are great!

Anatom.

spaceboy412
12-07-07, 04:48 PM
TVeyes, i hope you don't mind that i made a slight change in your script to help someone out with a problem. I don't know much about scripting and could not get my own to work so i modified yours to suit their needs. if you want me to remove it let me know. here's a link to that thread.
http://www.zbrushcentral.com/zbc/showthread.php?p=418265#post418265

edit: actually it still didn't work how i wanted so i removed it, nice script though for when you want multiaxis rotation. thanks.

TVeyes
12-08-07, 03:41 PM
No problem SpaceBoy, send me a PM with what you were trying to change and I might be able to add it to a new version.

spaceboy412
12-08-07, 04:48 PM
i tried to modifiy your sript to grab and export an alpha instead of using preview mode. mostly cause i cannot get the variable commands to work in my script to be able to save without the dialog window popping up and the filenames not copying over each other. my script is included in that page without the variables. i was just trying to help another user and am a novice zscripter. thanks again.
http://www.zbrushcentral.com/zbc/showthread.php?p=418265#post418265

klesh
02-06-08, 12:54 PM
Hi.
Is there a version for zbrush3.1?
If there is, please help me to find it.

marcus_civis
02-07-08, 04:13 AM
klesh,

There is already an option for creating a turntable animation in ZBrush 3.1.

See here:
http://www.zbrush.info/docs/index.php/Movie_Palette