View Full Version : XGoZ plugin – Single Click Softimage to Zbrush to Softimage - Update
kostasph
05-26-11, 03:33 AM
XGoZ is another “Lite” approach to link Zbrush with Softimage like GoZ. It is not a Single Click workflow but provides Functions to Export - Import Multiple Objs between two applications and automatically set up shading networks in Softimage.
It is inspired by Jester’s GoSoftimageLite! I developed it as an exercise in my attempt to learn Zscript. I used the examples from Marcus Civis, especially that amazing loop “Do all Subtools”. My Softimage version is 7.01 Essentials and I used Jscript.
I tried to eliminate errors… Who knows though… I hope someone is willing to spend some time to test it and give me feedback.
xgozui.jpg
About the Concept:
XGoZ plugin provides Multiple Subtools Function, Texture Map, Displacement Map and Normal Map Set up. The idea is to establish the link through Log Files containing the list of Last Exported Objs from each Application. Every time a user changes Project or creates a new one in Softimage, XGoZFolder is added (if doesn’t exist) at this active Softimage Project. A dat file (in the XGoZFolderData folder) informs XGoZ about the active path. This XGoZFolder is the one that will hold the exported objs, Maps and the Log Files.
I decided to use log files instead of reading all files directly from XGoZFolder because I wanted to deal with last exported objs only, without deleting any other file except overwriting existing files during export. Doing so I can choose the file(s) I want to transfer. In addition XGoZFolder is Project Based and gives me the option to work on a different Project without losing my previous work. At least I think so…Maybe there is a better way…
Installation:
Download the Zip File : XGoZ Plugin.zip.
The XGoZ Plugin folder contains the files XGoZ.xsiaddon and XGoZ_Plugin.zsc along with the XGoZFolderData folder.
1. Copy XGoZ_Plugin.zsc along with the XGoZFolderData folder to the ZBrush 4.0\ZStartup\ZPlugs folder.
2. Drag and Drop XGoZ.xsiaddon on a Softimage viewport.
3. Restart Softimage Go to File -> Preferences -> Custom -> XGozFolderDataSettings and pick your ZBrush 4.0 folder.
4. Find “XGoZ Export” and “XGoZ Import” under Get-> Primitive menu or get the XGoZ toolbar under menu View-> Toolbars->XGoZ.
5. Start ZBrush and find the XGoZ Plugin under Zplugin menu.
Workflow:
Step 1 (Softimage):
Select one or more Polymesh(es) and press “XGoZ Export” to export Selected meshes as Objs to XGoZFolder.
The XSIexportedFiles.Log is created in the XGoZFolder, containing the list of exported Objs.
Step 2 (Zbrush):
Press “Import All XGoZ” Button to Import Last Exported Objs From Softimage.
Zbrush reads XSIexportedFiles.Log and imports all Obj Files. If there are more than one Objs they will be added as Subtools to the first imported Obj.
In case you already have a 3d mesh active as Current Tool, XGoZ will check if a Subtool has the same name as an Obj in the Log and it will update the Subtool. Else Objs will be added as new Subtools at the end of Subtool list.
Press “StoreMTAll” if you want to Store Morph Target for the imported meshes.
XGoZ will set the Subdivision for every Subtool at Level 1 and store MT, only if the Subtool has not a MT stored and it will set the Subdivision back to its prior Level.
Do your Stuff … Create Maps if you want…and…
Press “SwitchMTAll” if you want to Switch Morph Target before export.
XGoZ will set the Subdivision for every Subtool at Level 1 and Switch MT only if the Subtool has a MT stored .It will leave the Subdivision at Level 1.
Step 3 (Zbrush):
Press “Export All XGoZ” Button to Export all Subtools to XGoZFolder.
XGoZ will set the Subdivision for every Subtool at Level 1 and Export all Subtools.The ZBExportedFiles.Log is created in the XGoZFolder, containing the list of exported Objs and their Maps (if they exist).
Or…
Press “Export Visible XGoZ” Button to Export all Visible Subtools to XGoZFolder.
The ZBExportedFiles.Log is created in the XGoZFolder, containing the list of exported Objs and their Maps (if they exist). If your Tool has only one Subtool (it is just a single mesh Tool), XGoZ will ask you if you want to export it. In case you click “Ok Export”, XGoZ will export it ignoring its visibility!
Step 4 (Softimage):
Press “XGoZ Import” Button to Import Last Exported Objs From Zbrush.
XGoZ reads ZBExportedFiles.Log and imports Objs. If there is a mesh in the scene that has the same name as an Obj in the Log, XGoZ deletes the old mesh and its shading network (clears all unused image clips, sources and Materials) and replaces the old mesh with the new one. In addition a new Render Tree is created, ifcorresponding Maps exist and the Shading Network is named based on each obj name. Import Function tries to maintain hierarchy and animation.
Please excuse my English… :o
Thank you For Your Time,
Kostas
chemkid
05-26-11, 04:22 AM
thank you kostas. it's working! i'm happy someone is still trying to get the latest features of zb working in my beloved xsi v7.01!!
cheers and happy coding!
chem!
kostasph
05-26-11, 05:15 AM
Thank you very much chem!!! I hope you find it useful!
kostasph
05-26-11, 06:12 AM
Thank you so much Jester!!!
Your idea for GoSoftimageLite is a true inspiration! I have studied your addon alot, before I manage to figure out how to make XGoZ!
I am looking forward for the Real Thing !!!!!!:)
I'm working on it, now I might have time to finish. Actually what I have to do now is to automate the transaction between Softimage and ZBrush, the rest is done :)
hirnlaich
05-26-11, 08:42 AM
Thank very much Kostas,
it seems to work with my Softimage 7.01 Ess.
@Jester
this sounds good.
Again, I will thank you both for your great work. :tu:
kostasph
05-26-11, 10:14 AM
- Jester Keep up Your Great Work!!!
- Thank you very much hirnlaich!
I hope it works in other Softimage Versions as well ...:qu:
kostasph
06-28-11, 04:43 AM
Added Single Click Action
This update includes XGoZService for establishing Single Click connection between ZBrush And Softimage through UdpProtocol. XGoZService starts on Softimage startup but you can stop it calling XGoZServiceStop command. You can enable it again calling XGoZServiceStart command. The Connection uses the local host “127.0.0.1” and the port “11001”.
Softimage Additions:
XGoZOneClick Toolbar.
XGoZServiceStart custom command.
XGoZServiceStop custom command.
XGoZSendToZB custom command.
XGoZSendToZB menu.
ZBrush XGoZ Updates:
The XGoZ Buttons have been rearranged and the export Buttons are now on the top.
Added XGoZ Button to Send current Subtool to Softimage on Single Click.
Export Buttons have been updated For Single Click action.
Installation:
Remove the old installation!!!
Copy XGoZ_Plugin.zsc along with the XGoZFolderData folder to the ZBrush 4.0\ZStartup\ZPlugs folder.
Drag and Drop XGoZ.xsiaddon on a Softimage viewport.
Restart Softimage Go to File -> Preferences -> Custom -> XGozFolderDataSettings and pick your ZBrush 4.0 folder. Close Preferences to inform XGoZ for your Softimage startup path (bin folder)!
Find “XGoZ Send To ZB” under Get-> Primitive menu or get the XGoZOneClick toolbar under menu View-> Toolbars-> XGoZOneClick.
Assign Zscript files “.zsc” to open with ZBrush (set ZBrush executable as the default application)
Workflow changes:
When you want to send your selected mesh(es) to ZBrush click the “XGoZ Send To ZB” or the icon in the toolbar “XGoZOneClick”. ZBrush will import your 3dObject(s). If it is not running it will start and import the 3dObject(s).
When you want to send your Subtool(s) to Softimage click the “XGoZ” (or “Export All XGoZ” or “Export Visible XGoZ” ) Button. Softimage imports your 3dObject(s). If it is not running it will start and then import the 3dObject(s). This is accomplished with the ZBtoXSI.exe , which is an Udpclient, so must allow it to access the local host and port 11001.
Remarks
You will need Microsoft.Net Framework 4..
XGoZFolderData now contains ZBtoXSI.exe , XGoZAutoImport.zsc, XsiPath.dat, and the ActiveXsiProject.dat.
I have tested it with Softimage 7.01 and it works.
I have tested it with Mod Tool 6 also and it works.
I have tested it with XSI Foundation 6.02 and it works.
Added version for Softimage v2012 - tested and works.
As always use it at your own risk.
Thank you again :)
Kostas
Fantastic !
It works like a dream ...only problem I have is that it doesn't automatically update on the trip from ZB to XSI although not a problem as I only have to click one button to reimport.
Thanks very much for doing this dude.
kostasph
07-01-11, 12:43 AM
Thank you Kaleid for your time to test it!!!
Can you tell me which zip file have you install and in which version of softimage did you test it?
Thank you
I tested it out on xsi 7.01 x64.I tried flagging zbtoxsi.exe as run as administrator but that didn't work.It works great although I find it a little odd that you put the exporter in the primitive section although I suppose obtaining a mesh from zbrush is getting an object.I havent tested any of the other functionality as yet but will do next week.If you're planning an update some of the functionality of gmax( matcap transfer and autogenerated displacement map render tree hookup ) would be a great addition.
Thanks once again ,been waiting for something like this to turn up for a good while now.
also another cool feature would be to check if the sent mesh haa an envelope operator ,if it does then save out the weight editor preset then on return trip from zbrush the new mesh would have an envelope operator reapplied and the preset reimported ...would be a totally non linear workflow.Maybe using gator to do it would be also an option which could also transfer any morphing data onto the new mesh.
kostasph
07-01-11, 02:00 PM
Kaleid
Thanks for your suggestions !!!
I was thinking about retaining envelope information and implementing Shape functions in a future update . The matcap transfer will be interesting also.
As for the exporter I put it there to be together with the other stuff. I Supose i must put them all in a separate menu in the next update.
For now i will try to fix the ZBtoXSI client. I am on a x86 platform so we 'll see. Does the XGoZService load on your xsi 7.01 x64?
thank you very much for your effort :)
Hi Kostas
Ive installed your plugin on another computer with the same 64 bit operating system.This time it all works apart from single click trip from XSI to ZB although it works perfectly from ZB to XSI
XSI throws an error when trying to single click export but it does actually export the mesh but doesnt auto import into ZB.
Ive attached a screengrab of the error it throws.
kostasph
07-02-11, 02:06 AM
Hi! Kaleid :)
It is exciting for me that it works on X64.
XSI throws an error when trying to single click export but it does actually export the mesh but doesnt auto import into ZB.
OK ! I Think I found it.
Have you assign the "XGoZAutoImport.zsc" to open with ZBrush?
If not Please do so.
Set ZBrush executable as the default application for "zsc" filetype.
Thank you
kostasph
07-02-11, 10:18 AM
I tried flagging zbtoxsi.exe as run as administrator but that didn't work.ZBtoXSI.exe needs Microsoft .Net Framework 4 Installed in order to work.
Have you Check it?
Hi Kostas
Great !! Got it working now .Works like a charm ...and quick too !
Thanks for the help ,and sorry about not following the instructions properly.
Really looking forward to the next update.
Thanks again
thx for this script. Love good news for XSI !:lol: - will you updating for si 2012sp1, too ?
guys is it possible to get this plugin fully working with Softimage 2011 (64-bit)?
Everything works really well apart from the Single click Journey from ZB to SI.
I tried changing the path in 'XsiPath.dat' to the bin folder for 2011 but still no auto import in Softimage. It's not huge deal breaker as Kaleid mentioned earlier as it's only 1 extra click in SI to import the obj but would be nice to have it fully functioning.
cheers for this though Kostas.
hichStoow
09-26-11, 04:17 AM
Voilà ça y est jai réussi à exporter une map de displacement inéxploitable.
mehdiravan
09-27-11, 12:57 PM
that's cool but, i exported all subtools and modified one of them in xsi, and reimport all meshes into zbrush then i can see the modified mesh is not in the right place... :-? any solution?
kostasph
09-29-11, 05:51 AM
that's cool but, i exported all subtools and modified one of them in xsi, and reimport all meshes into zbrush then i can see the modified mesh is not in the right place... :-? any solution?
Hi mehdiravan!
What kind of modification have you done in xsi?
The only way I can think is that you have change transforms, like scale, indepedantly
but in this case you should have the same result in xsi...
Can you give me any details?
Thank you for testing XGoZ!
kostasph
09-29-11, 06:27 AM
Voilà ça y est jai réussi à exporter une map de displacement inéxploitable.
Hi hichStoow!
I can't understand your language but as far as the displacement maps, XGoZ will export the map from ZBrush with your settings and will import it to Softimage reading the alfa depth factor.
This gives you a displacement map setup with a starting value range of : -alfa depth factor/2 to +alfa depth factor/2 in the sib_interp_linear node in the render tree.
You can then play with your settings in Softimage or in ZBrush until you are satisfied.
I hope this gives you some kind of answer...
Thank you for testing!
freehand
10-02-11, 03:46 AM
I'm working on it, now I might have time to finish. Actually what I have to do now is to automate the transaction between Softimage and ZBrush, the rest is done :)
Ok, and now ? :rolleyes:
mehdiravan
10-03-11, 07:35 AM
Hi mehdiravan!
What kind of modification have you done in xsi?
The only way I can think is that you have change transforms, like scale, indepedantly
but in this case you should have the same result in xsi...
Can you give me any details?
Thank you for testing XGoZ!
i applied randomize deformer to shoulder armor. thank you.
BojanStankovski
10-05-11, 06:22 AM
This don't work on XSI 2012:(
bendavis
10-05-11, 07:11 AM
Thanks for this great looking tool - but I can't get it to work because of a .NET plugin failing to load at XSI's startup. It appears to be because I'm running 2012 SP1 64bit, it's suggesting recompiling "XGoZService.dll" with the current version of XSI.
Can I ask you to at least recompile that dll, I can test to see if it solves the problem and spare you the need to go into extensive testing!
Thanks!
Ben
ps: I'm going to be moving up to 2012 SAP very shortly, just waiting to finish this project (I'm not fond of mid-project shifts!) - would it be possible to get the dll's upgraded for that too?
EXOSOUL
10-05-11, 10:32 AM
First of all, Thanks for the plug in! I was waiting to finish a project to start using this but I am having issues trying to import it to ZBrush.. I am using 4R2, does it work with this new version? It says in XSI that it exported the mesh, but when it loads ZBrush it says that I need to export something out of XSI first.. I check the folder and the files are there.. but it seems that ZBrush is unable to read them.
Any suggestions?
BojanStankovski
10-06-11, 03:06 AM
First of all, Thanks for the plug in! I was waiting to finish a project to start using this but I am having issues trying to import it to ZBrush.. I am using 4R2, does it work with this new version? It says in XSI that it exported the mesh, but when it loads ZBrush it says that I need to export something out of XSI first.. I check the folder and the files are there.. but it seems that ZBrush is unable to read them.
Any suggestions?
I too have problem with 4R2. And i am using XSI 2012. I think that we will wait for this.
EXOSOUL
10-06-11, 09:02 AM
OK.. so I found out what was going on with my case.. for some reason ZBrush was not recognizing the server drives.. which was just a matter of clicking on them and it worked.. so right now is working fine.
again, running on Softimage 2012 and ZBrush 4R2.
and again, thanks for this great plugin! now that I see what happened on my end it works like a charm :D
freehand
10-06-11, 01:05 PM
I tried the plugin too, but i deleted it because softimage crashed all the time i launched it.
BojanStankovski
10-06-11, 11:35 PM
I tried the plugin too, but i deleted it because softimage crashed all the time i launched it.
Which Version of Softimage are you using? If is 2012, i have the same problem.
EXOSOUL
10-07-11, 09:29 AM
Which Version of Softimage are you using? If is 2012, i have the same problem.
Could it be the way it's being installed that is causing the issues? on my end it was not a Softimage issue, it was a network issue that was easily solved. But after that, is working fine.
freehand
10-07-11, 10:08 AM
Which Version of Softimage are you using? If is 2012, i have the same problem.
Yes, it's softimage 2012.
BojanStankovski
10-09-11, 10:26 AM
Could it be the way it's being installed that is causing the issues? on my end it was not a Softimage issue, it was a network issue that was easily solved. But after that, is working fine.
Not sure, I've done everything that is said in the instructions. On My sister's Laptop, is working like an charm, but i can't work on the laptop, because is slow, and my sister working on it. And on my PC have problem.
EXOSOUL
10-09-11, 10:18 PM
Not sure, I've done everything that is said in the instructions. On My sister's Laptop, is working like an charm, but i can't work on the laptop, because is slow, and my sister working on it. And on my PC have problem.
did you installed Microsoft.Net Framework 4 on your home PC? I had to do that on mine in order to make it work.. but on the systems at work it seems it was already installed so I didn't had to download it there.
It could be that her Laptop came with that already install, and you have to install it on yours..
diissar
11-08-11, 03:25 PM
Hi, I was wondering if there is a fully working version for Softimage 2012 SP1 64bit?
I tried the 2012 files and everything is working fine except the export from zbrush to softimage,can't do it automaticaly.
subtool
12-10-11, 09:14 PM
doesnt work for me on 2012 SAP, got .net 4 installed.
when starting softimage i get this errors:
ERROR : 2424 - XSI failed to load a .NET plug-in. This error happens because the plug-in may have been compiled with a different version of XSI. Recompile the plug-in with the current version of XSI to fix the problem.
Plug-in: C:\Users\name\Autodesk\Softimage_2012_Subscription _Advantage_Pack\Addons\XGoz\Application\Plugins\XG oZService.dll
Current XSI version: 10.5.98.0
and an error asking for an object:
[line 306 in C:\Users\name\Autodesk\Softimage_2012_Subscription _Advantage_Pack\Addons\XGoz\Application\Plugins\Up dateXGoZActiveProjectPath.js]
line 306 is:
XGoZServiceStart();
when i try XGoZ Send To ZB it gives the following error:
ERROR : - [line 133 in C:\Users\name\Autodesk\Softimage_2012_Subscription _Advantage_Pack\Addons\XGoz\Application\Plugins\XG oZSendToZBPlugin.js]
ERROR : 2006-CUST-XGoZSendToZB - Unexpected failure.
XGoZSendToZB();
Yep... Don't work with XSI 2012 SAP
This is tedious, I have just take the nice habit using this plugin (thanks very much for your effort!).
It is odious the only package have not GoZ is Softimage (Maya, 3dsm, Modo, Cinema 4d and Lightwave 11 have it. So, Autodesk have not any interest in doing it for XSI, they want push Mudbox (hate it...) and Pixologic seems have not interest in Softimage (why... why dear pixologic doing it for maya and 3dsm and not for my beloved XSI?! :cry:
freehand
12-18-11, 07:54 AM
http://www.zbrushcentral.com/showthread.php?163680-Damn-what-about-the-goz-for-softimage-!
See all the answers i got. I hate max and maya, and this convinced me stopping 3d, because i have absolutely no pleasure working like that.
Willpreston23
01-24-12, 04:11 AM
i think this plugin used to work, recently i'm only achieving sporadic success, some times one of my sub tools comes through with its colour/disp/norm and the geom approx set up but generally all its doing is importing the objs
I'm using softimage 2012 64bit windows 7 and Zbrush 4R2
I work in a department with about 30 Autodesk suits - this means we can use Maya or Soft and we also have mud box thrown in, one of the biggest criticisms of Zbrush here is that its hard to get your work into Softimage.
as an ambasador for Zbrush i'm finding it hard to fight my corner, (i'll die trying)
please can we have a reliable GoZ for softimage?
it's so tedious to set up change range nodes and geometry approximation for 20 sub tools, and people here keep playing around with MB, so far no one has got it working but when they do I might find it hard to justify Zbrush out of the budget
is there any news out there on a solution?
WedgeBob
01-24-12, 05:40 PM
Looks like something I should try out. This should work for Mod Tool 7.5 as well, correct?
EDIT: All righty, had a go at this plugin, and I did this in both directions using a sphere primitive. And this plugin did what it was supposed to, and I'm happy to tell you that this plugin does indeed work flawlessly between XSI Mod Tool and Zbrush 4R2b. The import of the sphere went in smoothly, and I was able to sculpt into it quite well...then I re-exported it out of Zbrush, and imported it back into Mod Tool, and boom, the sculpted additions were visible inside of XSI Mod Tool. Congrats on this plugin, and this will certainly make for a wonderful pipeline now!
kilik128
03-04-12, 09:49 AM
it's possible to keep the crease mesh ? from softimage for goZ
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.