XSI - Scripts and Plugins Thread


#41

thanks .

in xsi . the sdk and script can be mixed ? out of my image . lol . for my head fixed in max and maya script . the sdk and script is very different between them . for the tools is c++ for sdk . and im not good at c++ .

i know python . so use python . work with xsi sdk and mixed with xsi script ? wooo. sounds fantastic .


#42

Here is a new plugin I wrote for XSI.

With this tool you have the ability to view your saved FG and Photon maps in your 3D-Viewport of XSI. After installation, you can find it under Get-> Property-> JV_MapMiner.

download .xsiaddon
download demo_scene
read the article

Cheers
Vladimir


#43

Attached are two simple plugins,
you should extract them, and put them under the XSI_5…/…Aplication/Plugins.
They are located in the bottom <Animation> Menu.

Oz_Zero_In_Out: will check the selected object’s Fcurves, and will check if there are keys
that start and/or end at the scene’s in/out frames. If it find a match, it will zero it’s
tangents. When doing contiguous animation across different shots, you need to maintain
linear interpolation across cuts, usually xsi will create an ease in or out on first and last
keys, so you’ll need to do this manualy. Note that this script will only zero keys that
fall on the <in> and/or <out> of the scene.

Oz_Normalize_Tangets: Sometimes when dealing with Fcurves, xsi will give wrong results, and might cause a tangent handle to be way too long, creating a very sharp
interpolation between two keys. Select Objects, and run the command, set the threshold,
and hit OK. The Threshold is the “distance” between two frames to check.
If key #1 is at frame 1, and key#2 is at frame 11, and one or more right tangent handles of the first key are over frame 5 (halfway) , setting a threshold of 0.5 will shorten all handles that longer than 0.5*(secondkey-firstkey)

rename the attached .txt file to .rar and extract.


#44

Hi all,

I hope to become more active in this thread as I started working on XSI.

I thought a renamer tool would be cool to have as there isn’t one within XSI, and I didn’t see one on this thread, so here it is:

>> download the .rar .xsiaddon here <<

C&C welcome as this is one of my first XSI tools.
thank you


#45

for plot trajectories by object’s (or curves,or particles,…) points
supports Shape & Transform animations

.zip or copy code below

'VBS''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''' PlotPointsTrajectories \ depol@mail.ru \ ''''''''''''''''''
'''''''''''''''''' step 1. select some geometry with points ''''''''''''''''''
'''''''''''''''''' step 2................... run the script ''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
set cl = selection(0)
set pnts = cl.activeprimitive.geometry.points
nowcount = 0
lasttraj = -1
set v = xsimath.createvector3
s = getvalue( "PlayControl.In" )
e = getvalue( "PlayControl.Out" )
for f = s to e
	SetValue "PlayControl.Key", f
	SetValue "PlayControl.Current", f
	refresh
	if nowcount < pnts.count then
		nowcount = pnts.count
		for t = lasttraj + 1 to nowcount - 1
			SICreateCurve cl.fullname &"_traj_"& t , 1 , 0
			lasttraj = nowcount - 1
		next
	end if
	if pnts.count > 0 then
		for c = 0 to nowcount - 1
			set tr=cl.kinematics.global.transform
			set v=xsimath.mapobjectpositiontoworldspace(tr,pnts(c).position)
			SIAddPointOnCurveAtEnd cl.fullname &"_traj_"& c , v.x, v.y, v.z
		next
	end if
next
tim = timer
nowtime = hour(tim)&"_"&minute(tim)&"_"&second(tim)
set n = GetPrim ("Null")
SetValue n&".Name", cl.fullname&"_"&nowtime
for c = 0 to nowcount - 1
	ParentObj "B:"&n , cl.fullname &"_traj_"& c
	SetValue cl.fullname &"_traj_"& c &".Name",_
	cl.fullname &"_"& nowtime &"_traj_"& c
next

#46

You haven’t got 'em yet?!?!
What are you waiting for?
If nothing, proximity map rocks!!

http://www.alamaison.fr/3d/lmWeightMapTools/index.html

and tutorials to get you started (check on the related panel for more vids):

http://www.youtube.com/watch?v=eq2-cz0w5Rs&mode=related&search=
http://www.youtube.com/watch?v=7gL03PwB1LY&mode=related&search=
http://www.youtube.com/watch?v=YdwKSvS3pnU&mode=related&search=
http://www.youtube.com/watch?v=Hjnwo8lIqD8&mode=related&search=

Cheers!!!


#47

I’ve attached a .rar (rename the .txt to .rar) with three little plugins,
unrar and place those, in the plugins folder, of your user or workgroup softimage folder:

1. Distribute wire color: select an object with a certain wireframe color property, Shift+Select other objects, from the top-right <Select> menu, choose Oz_Distribute_WireColor, it will copy the wireframe color property from the first object,
to the rest.

2. Select by Wire Color: Select an object, from the top-right <Select> menu, choose Oz_SelectByWireColor, and it will select all objects sharing the same wire frame color.

3. Random Position and Rotation: Select objects, from the lower <Animation> menu,
choose Oz_Random_pos_rot.

Scripts 1 and 2 are usful when you need to select objects that are not in the same Layer,
or do not reside in the same group. I find it very useful.

Script 3 is usful for making simple explosion animation of objects.


#48

I made this plugin for XSI 6.5 users using the new drag and drop event. It allows you to drag and drop your .obj files into XSI. It uses a custom preference to expose the import options and works with multiple files. The custom preference can be found under File>Preferences>Custom>Obj Import Options. Install this .xsiaddon and start dragging and dropping!

 [objDnD.xsiaddon](http://steven-caron.com/downloads/tools/objDnD.xsiaddon)

[size=2]objDnD_js.xsiaddon[/size]

 Special thanks go out to Greg Punchatz, Aloys Baillet, David Lassonde, Stephen Blair, and the [XSI Wiki](http://softimage.wiki.avid.com/index.php/Events_%28XSISDK%29#OnDragAndDrop)

[size=2]added a jscript version of the plugin for the non python adopters. notify me of any issues with the jscript version since it was a fast conversion from my original python script[/size]


#49

this tool useful for unusual UV editing (with bend deformer for example),
animate UV`s and also you can edit W coordinate of UVW set.

softimage.ru/dep_PolygonalUVW.zip

  • install addon,
  • create polygonal object with UV,
  • select polygonal object and run “Property - Texture Projection - Polugonal UVW Object”
  • for work demonstration try to apply Wave or Shape Jitter deformer to *_PolyUVW object
  • turn on texture decal view mode & push Play button.

Enjoy :slight_smile:


#50

here is new variant of the ‘PlotPointTrajectories’ script (especially fo particles count change during simulation)
'PlotParticlesTrajectories (VBS)
'author: depol@mail.ru
'select particle cloud & run the script

 set clo= selection(0) 
deselectall
refresh
CreateModel , clo.name &"_plot_traj_1"
set m= selection(0)
ParentObj "B:"&clo, m
ResetTransform m, siObj, siSRT, siXYZ
for f= 0 to 100
SetValue "PlayControl.Key", f
SetValue "PlayControl.Current", f
refresh
set pc= clo.activeprimitive.particles
if pc.Count > 0 then
for p= 0 to pc.Count - 1
pid= pc( p ).id
tname= m.name &".p_traj_"& pid
set traj= activesceneroot.FindChild( tname )
if typename(traj) = "Nothing" then
set crv= SICreateCurve ( "crvlist", 3, 0 )
ParentObj "B:"&m, crv
ResetTransform crv, siObj, siSRT, siXYZ
setvalue crv&".name", "p_traj_"& pid
end if
set pos= pc( p ).position
SIAddPointOnCurveAtEnd tname , pos.x, pos.y, pos.z, False, 0
next
end if


#51

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.