Urgent help needed in scripting
Hey folks, I have a task. I need to export some geometries from XSI, and create an XML file that contains the local translate and rotation. That's fine. But it turned out, that the application reading this data accepts transformation in Z-up system (a la Max, goddamn). I swapped the Y and Z for position and seemed to work, but for rotation it's not working. My export script is vbscript, but I have little clue. What I read so far is that I might have to rotate the transformation matrix around X axis by 90 degrees. Fairly well, but HOW THE HECK??? I'm open to learn math, anytime, but now it's deadline... Cheers, and appreciate for any help Szabolcs ___ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli
Re: Urgent help needed in scripting
I'm not 100% sure what you need exactly, but this will make a Transform object that's been rotated 90 degrees around the world centre in X. __ m_data = [1.0, 0.0, -0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0] matrix = XSIMath.CreateMatrix4() matrix.Set(*m_data) trans = XSIMath.CreateTransform() trans.SetMatrix4(matrix) obj = Application.Selection(0) # --replace as you see fit obj_transform = obj.Kinematics.Global.Transform obj_transform.MulInPlace(trans) print obj_transform.RotX, obj_transform.RotY, obj_transform.RotZ __ On 16 January 2014 09:41, Szabolcs Matefy szabol...@crytek.com wrote: Hey folks, I have a task. I need to export some geometries from XSI, and create an XML file that contains the local translate and rotation. That’s fine. But it turned out, that the application reading this data accepts transformation in Z-up system (a la Max, goddamn). I swapped the Y and Z for position and seemed to work, but for rotation it’s not working. My export script is vbscript, but I have little clue. What I read so far is that I might have to rotate the transformation matrix around X axis by 90 degrees. Fairly well, but HOW THE HECK??? I’m open to learn math, anytime, but now it’s deadline… Cheers, and appreciate for any help Szabolcs ___ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli
Re: Urgent help needed in scripting
Just guessing, but maybe you have to change the rotationorder aswell. For the AfterFX exporter I did way back, I created a helperObject (null) that I set to the AFX rotationorder, match the object transform, and the export the values from the helper: This is the python snippet: helper.kinematics.local.parameters('rotorder').Value = 5 helper.kinematics.Global.transform = obj.kinematics.Global.transform rotX = helper.kinematics.local.rotx.Value rotY = helper.kinematics.local.roty.Value rotZ = helper.kinematics.local.rotz.Value hope that helps somehow! /Thomas Szabolcs Matefy szabol...@crytek.com hat am 16. Januar 2014 um 10:41 geschrieben: Hey folks, I have a task. I need to export some geometries from XSI, and create an XML file that contains the local translate and rotation. That’s fine. But it turned out, that the application reading this data accepts transformation in Z-up system (a la Max, goddamn). I swapped the Y and Z for position and seemed to work, but for rotation it’s not working. My export script is vbscript, but I have little clue. What I read so far is that I might have to rotate the transformation matrix around X axis by 90 degrees. Fairly well, but HOW THE HECK??? I’m open to learn math, anytime, but now it’s deadline… Cheers, and appreciate for any help Szabolcs ___ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli
RE: LINUX again
3. will be fixed with a path swapper script - as the paths on windows will be different to the ones on linux - I've had to do this before From: s...@shedmtl.com Subject: LINUX again Date: Wed, 15 Jan 2014 21:31:20 -0500 To: softimage@listproc.autodesk.com CC: j...@suid.com Hi everyone!!! We finally have a running XSI 2014 sp2 on Linux CentOS 6.3 and Arnold (sitoa 3.0.1) it's all fresh and overall run's pretty well... Just want to ask you guys if you got these bugs on your side too? And if you got any advices to counter them. 1- If we select RealTime playback mode and press play, XSI vanish away. Even in an empty scene. 100% reproducable. 2- Preferences does not seems to be kept. (We will look into this tomorrow with linux IT) 3- Scenes created on linux wont open on a windows box. (Error says everything is disconnected from the scene) This fucks up my plan for small projects i wanted to render with deadline and automatic path translation on my windows farm. We will convert the farm soon enough tough. Wich will probably fix this... 4- When you use a slider in a PPG, the parametric number disapears. Graphics drivers maybe? We use the ones from Nvidia and not the RPM fusion ones. 5- Drag and drop doesnt work from XnView to render tree But also inside the rendertree when you want to drag a shader from the left list onto the tree... I need to go in menu/nodes then select one ak ... Not able to use my favorites column anymore. @Marc Antoinethank you for the recompile, everything works perfectly bro!! And cant wait for Holger's and Platige's shader pack!! I miss them alot. thank you all for any help and toughts! Greatly appreciated. sly Sylvain Lebeau // SHED V-P/Visual effects supervisor 1410, RUE STANLEY, 11E ÉTAGE MONTRÉAL (QUÉBEC) H3A 1P8 T 514 849-1555 F 514 849-5025 WWW.SHEDMTL.COM http://WWW.SHEDMTL.COMVFX Curriculum 03: Compositing Basicsmail to: s...@shedmtl.com inline: Screen Shot 2013-10-03 at 12.15.25 AM.png
Re: A correct peeling effect
Impressive and cool ! Le 16/01/2014 02:05, Nika Ragua a écrit : https://vimeo.com/84268682 so here is the explanation and the scene ))) 2014/1/15 Nika Ragua nikaragu...@gmail.com mailto:nikaragu...@gmail.com ok - look, i suggest - iICE-Browse Examples- you load Deformation_Turbulize_Grid_Flag_Waving - you will see the simple but nice setup that uses the weightmap to drive the turbulize effect, next you load Deformation_Verlet_Cloth - you will see how it is setted up without the lagoa or syflex. lets break the peel effect in two parts for better understanding - first is the tearing and second is the cloth movement. for the tearing we cold use my favourite voronoi shatter (or i`m finighing vdb) (lol i`m kinda tired of puttig it everywhere, but it is not my fault that it is so cool ahahaha anyway - doesn`t matter. lets start with just one piece - simple grid (we will clone it later) - if you look closele - to the stuff that we want to mimic - we will see that it becomes tearing off from borders to center , or from one border to another. so at first we have our grid pinned to the original surface - we will create a perpoint attributes -foe example lets call them pin then we are taking these pins- lets make them boolean - at the borders(or any other pattern) and swiching them - every neighbour will get the neighbours pin attribute - and we will got our pins growing over the surface. then lets add some forces - lets take the wind force for example (+y) force pushing up. and if we got our pin with zero value our mesh will be pushed up at that point. and in the end we will have with mixtures of the verlet (or lagoa or somewhere i had my cloth engine) and turbulize and pins setup the desired stuff. and we neet to clone the meshes with Create Copies from Polygon Mesh node - i`m sleepy tonight and tomorrow i`ll code this stuff. say what do you think about it. 2014/1/15 Emilio Hernandez emi...@e-roja.com mailto:emi...@e-roja.com Cool RND!!! 2014/1/14 Oliver Weingarten li...@pixelpanic.de mailto:li...@pixelpanic.de Hey! Here is a small walk through the setup..hope it´s not too bad ;) https://vimeo.com/84136431 cheers, oli Am 14.01.2014 13:57, schrieb Nick Angus: Awesome Oli!, please explain it to us mortals ; ) N *From:*softimage-boun...@listproc.autodesk.com mailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] *On Behalf Of *Oliver Weingarten *Sent:* Tuesday, 14 January 2014 9:57 PM *To:* softimage@listproc.autodesk.com mailto:softimage@listproc.autodesk.com *Subject:* Re: A correct peeling effect Hi ! Here is a test I did mixing different things together...I can explain a little more if you like.. https://vimeo.com/84118026/settings cheers, oli Am 14.01.2014 09:53, schrieb olivier jeannel: Hi gang, I'm looking for doing a convincing peeling effect in Softimage Scenario is :peeling of a thin aluminium sheet from a chocolate plate, the tiny pieces of sheet then fly away, like are gently blown away by the wind I'm running after this : https://vimeo.com/77579764 or https://vimeo.com/69646311 quality. (those are Max Mcloth) The shot should be very close up. I'm not sure, for example, that the Topolizer trick https://vimeo.com/80829002 would be enough. What do guys think ? Another Method ? Syflex à la Mario-Domingo ? https://vimeo.com/73933574 https://vimeo.com/73933574 Any thoughts to share ? Would be great :)
turbulize OBJECT position around value
Hi all, I need to add some random motion to some objects... And here I thought I'd get data kine.global.pos feed that into a turbulize around value and into a set data and execute and... og well.. I can't just do that. Why not? I'm having trouble with the set data node no matter what I do. Any pointers would be greatly appreciated, so I don't have to brute force animate a LOT of objects. - it's objects with collission, so I need real geo. - I'd rather not mess with particles on this one. Cheers!
Re: turbulize OBJECT position around value
1.get the global kini matrix 2.decompose it into scaling, rotation , position 3. add your turbulance to the position 4. recompose the matrix 5. set the global kini matrix this works ! On 16 January 2014 12:28, pingo van der brinkloev xsil...@comxnet.dkwrote: Hi all, I need to add some random motion to some objects... And here I thought I'd get data kine.global.pos feed that into a turbulize around value and into a set data and execute and... og well.. I can't just do that. Why not? I'm having trouble with the set data node no matter what I do. Any pointers would be greatly appreciated, so I don't have to brute force animate a LOT of objects. - it's objects with collission, so I need real geo. - I'd rather not mess with particles on this one. Cheers!
Re: turbulize OBJECT position around value
Try the attached script, but by all means don't look at it...it's rather old pingo van der brinkloev xsil...@comxnet.dk hat am 16. Januar 2014 um 13:28 geschrieben: Hi all, I need to add some random motion to some objects... And here I thought I'd get data kine.global.pos feed that into a turbulize around value and into a set data and execute and... og well.. I can't just do that. Why not? I'm having trouble with the set data node no matter what I do. Any pointers would be greatly appreciated, so I don't have to brute force animate a LOT of objects. - it's objects with collission, so I need real geo. - I'd rather not mess with particles on this one. Cheers! from random import randint import win32com.client from win32com.client import constants as c null = None false = 0 true = 1 TRUE = True FALSE = False xsi = Application SELECTION = xsi.Selection def wiggle(obj,kine,AMOUNT,IN,OUT,STEP): BASEPOS = xsi.GetValue(str(obj)+.kine.local.+kine,IN) xsi.SaveKey(str(obj)+.kine.local.+kine, IN,BASEPOS , , , 0) xsi.SaveKey(str(obj)+.kine.local.+kine, OUT,BASEPOS , , , 0) i = IN+STEP while i OUT: value = randint(int(BASEPOS*1-AMOUNT*1),int(BASEPOS*1+AMOUNT*1))/1.0 xsi.SaveKey(str(obj)+.kine.local.+kine, i,value , , , 0) i = i+STEP #for i in range(IN+1,OUT): #value = randint(int(BASEPOS*1-AMOUNT*1),int(BASEPOS*1+AMOUNT*1))/1.0 #xsi.SaveKey(str(obj)+.kine.local.+kine, i,value , , , 0) def doIt(PosX,posxAmount,PosY,posyAmount,PosZ,poszAmount,RotX,rotxAmount,RotY,rotyAmount,RotZ,rotzAmount, SclX,sclxAmount,SclY,sclyAmount,SclZ,sclzAmount,IN,OUT,STEP): for obj in SELECTION: if PosX.Value == True: wiggle(obj,posx,posxAmount.Value,IN.Value,OUT.Value,STEP.Value) if PosY.Value == True: wiggle(obj,posy,posyAmount.Value,IN.Value,OUT.Value,STEP.Value) if PosZ.Value == True: wiggle(obj,posz,poszAmount.Value,IN.Value,OUT.Value,STEP.Value) if RotX.Value == True: wiggle(obj,rotx,rotxAmount.Value,IN.Value,OUT.Value,STEP.Value) if RotY.Value == True: wiggle(obj,roty,rotyAmount.Value,IN.Value,OUT.Value,STEP.Value) if RotZ.Value == True: wiggle(obj,rotz,rotzAmount.Value,IN.Value,OUT.Value,STEP.Value) if SclX.Value == True: wiggle(obj,sclx,sclxAmount.Value,IN.Value,OUT.Value,STEP.Value) if SclY.Value == True: wiggle(obj,scly,sclyAmount.Value,IN.Value,OUT.Value,STEP.Value) if SclZ.Value == True: wiggle(obj,sclz,sclzAmount.Value,IN.Value,OUT.Value,STEP.Value) #AMOUNT = int(AMOUNT*1000) #sel = xsi.Selection[0] def gui(): oPSet = xsi.ActiveSceneRoot.AddProperty(CustomProperty,False,WIGGLE) oLayout = oPSet.PPGLayout oPSet.AddParameter3( Logo, c.siString ) logo = oLayout.AddItem(Logo, ,c.siControlBitmap) logo.SetAttribute(c.siUIFilePath, T:\\3D\\XSI_WORKGROUP\\Data\\Scripts\\bitmaps\\tv_wiggle.bmp) oLayout.AddGroup( FRAMERANGE ) oLayout.AddRow() IN = oPSet.AddParameter3(IN, c.siInt2,1,1,1,0) oLayout.AddItem(IN, IN, c.siControlNumber) xsi.SetValue(IN, xsi.GetValue('PlayControl.In')) OUT = oPSet.AddParameter3(OUT, c.siInt2,1,1,1,0) oLayout.AddItem(OUT, OUT, c.siControlNumber) xsi.SetValue(OUT, xsi.GetValue('PlayControl.Out')) oLayout.EndRow() STEP = oPSet.AddParameter3(STEP, c.siInt2,1,1,1000,0) oLayout.AddItem(STEP, STEP, c.siControlNumber) xsi.SetValue(STEP, 1) oLayout.EndGroup() ### # POSITION oLayout.AddGroup( POSITION ) oLayout.AddRow() PosX = oPSet.AddParameter3(PosX,c.siBool,1,1,100,0) posx = [,1] oLayout.AddEnumControl(PosX, posx,, c.siControlBoolean) xsi.SetValue(PosX, TRUE) posxAmount = oPSet.AddParameter3(PosX_Amount, c.siFloat,1,0,100,0) oLayout.AddItem(PosX_Amount, X, c.siControlNumber) xsi.SetValue(posxAmount, 1) PosY = oPSet.AddParameter3(PosY,c.siBool,1,1,100,0) posy = [,1] oLayout.AddEnumControl(PosY, posy,, c.siControlBoolean) xsi.SetValue(PosY, TRUE) posyAmount = oPSet.AddParameter3(PosY_Amount, c.siFloat,1,0,100,0) oLayout.AddItem(PosY_Amount, Y, c.siControlNumber) xsi.SetValue(posyAmount, 1) PosZ = oPSet.AddParameter3(PosZ,c.siBool,1,1,100,0) posz = [,1] oLayout.AddEnumControl(PosZ, posz,, c.siControlBoolean) xsi.SetValue(PosZ, TRUE) poszAmount = oPSet.AddParameter3(PosZ_Amount, c.siFloat,1,0,100,0) oLayout.AddItem(PosZ_Amount, Z, c.siControlNumber) xsi.SetValue(poszAmount, 1) oLayout.EndRow() oLayout.EndGroup() ### # ROTATION oLayout.AddGroup( ROTATION ) oLayout.AddRow() RotX = oPSet.AddParameter3(RotX,c.siBool,0.5,0,1000,0) rotx = [,1] oLayout.AddEnumControl(RotX, rotx,,
Re: Norman's rig for XSI
Thanks for sharing Max! I love your rigging work BTW :) Morten Den 15. januar 2014 kl. 09:11 skrev Max Evgrafov summ...@gmail.com: https://vimeo.com/84121414 https://vimeo.com/84121414 -- Max Evgrafov.(Summatr) https://vimeo.com/user3098735/videos https://vimeo.com/user3098735/videos http://www.youtube.com/user/Summatr/videos http://www.youtube.com/user/Summatr/videos
Re: Norman's rig for XSI
I see your likes Morten. Thank a lot for You ! 2014/1/16 Morten Bartholdy x...@colorshopvfx.dk Thanks for sharing Max! I love your rigging work BTW :) Morten Den 15. januar 2014 kl. 09:11 skrev Max Evgrafov summ...@gmail.com: https://vimeo.com/84121414 -- Max Evgrafov.(Summatr) https://vimeo.com/user3098735/videos http://www.youtube.com/user/Summatr/videos -- Евграфов Максим.(Summatr) https://vimeo.com/user3098735/videos --- Хорошего Вам настроения !!! :-)
Re: turbulize OBJECT position around value
The problem with set data is that you can't just set the pos, you have to set the global (as Rob says) Simon Reeves London, UK *si...@simonreeves.com si...@simonreeves.com* *www.simonreeves.com http://www.simonreeves.com* *www.analogstudio.co.uk http://www.analogstudio.co.uk* On 16 January 2014 13:14, Thomas Volkmann li...@thomasvolkmann.com wrote: Try the attached script, but by all means don't look at it...it's rather old pingo van der brinkloev xsil...@comxnet.dk hat am 16. Januar 2014 um 13:28 geschrieben: Hi all, I need to add some random motion to some objects... And here I thought I'd get data kine.global.pos feed that into a turbulize around value and into a set data and execute and... og well.. I can't just do that. Why not? I'm having trouble with the set data node no matter what I do. Any pointers would be greatly appreciated, so I don't have to brute force animate a LOT of objects. - it's objects with collission, so I need real geo. - I'd rather not mess with particles on this one. Cheers!
Re: VES Award Nominations
Congrats to those involved on this list - these nominations are well deserved! Morten Den 14. januar 2014 kl. 22:35 skrev Ben Houston b...@exocortex.com: http://www.visualeffectssociety.com/12th-Annual-VES-Awards-Nominees I notice some softimage guys nominated for Elysium: Torus (Whiskytree) and PETA 98% Human (The Mill.) Congratuations! -- Best regards, Ben Houston Voice: 613-762-4113 Skype: ben.exocortex Twitter: @exocortexcom http://Clara.io - Professional-Grade WebGL-based 3D Content Creation
New solidangle.com
Check it http://www.solidangle.com, and maybe even try Arnold in Softimage.
Re: New solidangle.com
awesome, great work Stephen! On Thursday, 16 January 2014, Stephen Blair wrote: Check it http://www.solidangle.com, and maybe even try Arnold in Softimage.
Re: New solidangle.com
Site looks nice. grabbed a trial/demo to play with :) -- Jon Swindells jon_swinde...@fastmail.fm On Thu, Jan 16, 2014, at 09:17 PM, Cristobal Infante wrote: awesome, great work Stephen! On Thursday, 16 January 2014, Stephen Blair wrote: Check it [1]http://www.solidangle.com, and maybe even try Arnold in Softimage. References 1. http://www.solidangle.com/
Re: New solidangle.com
Congrats..!! Looks awsome!! So Arnold is finally ready for the public...Great news..! cheers, oli Am 16.01.2014 20:12, schrieb Stephen Blair: Check it http://www.solidangle.com, and maybe even try Arnold in Softimage.
Re: New solidangle.com
Sweet stuff, good work guys! Nice to see this out in public now... -Tim On 1/16/2014 1:26 PM, Jon Swindells wrote: Site looks nice. grabbed a trial/demo to play with :) -- Jon Swindells jon_swinde...@fastmail.fm On Thu, Jan 16, 2014, at 09:17 PM, Cristobal Infante wrote: awesome, great work Stephen! On Thursday, 16 January 2014, Stephen Blair wrote: Check it http://www.solidangle.com, and maybe even try Arnold in Softimage. -- Signature
Re: New solidangle.com
Finally :) Huray !!! On 16 January 2014 20:34, Tim Crowson tim.crow...@magneticdreams.comwrote: Sweet stuff, good work guys! Nice to see this out in public now... -Tim On 1/16/2014 1:26 PM, Jon Swindells wrote: Site looks nice. grabbed a trial/demo to play with :) -- Jon Swindells jon_swinde...@fastmail.fm On Thu, Jan 16, 2014, at 09:17 PM, Cristobal Infante wrote: awesome, great work Stephen! On Thursday, 16 January 2014, Stephen Blair wrote: Check it http://www.solidangle.com, and maybe even try Arnold in Softimage. --
Re: New solidangle.com
Wow this is great At good timing. From: Stephen Blair Sent: Thursday, January 16, 2014 14:13 To: softimage@listproc.autodesk.com Check it http://www.solidangle.com, and maybe even try Arnold in Softimage.