Re: sharing nodes between materials?

Date : Fri, 21 Apr 2006 10:57:30 +0200
To : <XSI(at)Softimage.COM>
From : "Tim Leydecker" <BauerOink(at)gmx.de>
Subject : Re: sharing nodes between materials?
Hi Guys,

first off, thanks for the insights provided. I´ll check out your scripts
Guillaime (the other ones are cool as well) but will stay away from
using the share_tree_section.js - as I´m not expected to risk anything:-)

Checked the docs on using overrides a bit more, there´s a section
about "Editing Multiple Objects" (can´t provide a link, the
XSI documentation seems not to support this, seach for
overrides, it´s a link in the middle of page 1, about).

I´ll give it a try now, hope it doesn´t need groups or partitions
to work as this would make things even more complicated, if
all I want is to add an overriding parameter regardless of partition...

Would you guys mind if I´d submit a feature request to softimage
asking for a revamp of the rendertree to display multiple materials
and allow for crossconnections? Plus addig something like a Maya
attribute spreadsheet (all parameters of selection, orderly editable)?


Cheers

tim

P.S: Sometimes I wish I had attended programming classes,
now I´ll submit a feature request instead...


----- Original Message ----- From: "guillaume laforge" <guillaume.laforge.3d(at)gmail.com>
To: <XSI(at)Softimage.COM>
Sent: Friday, April 21, 2006 7:55 AM
Subject: Re: sharing nodes between materials?



http://www.vol2nuit.fr/guillaume/xsi_scripts/rendering/scripts/share_tree_section.js

1 In a material select the node you want to share from an explorer.
2 Run the script and pick the parameter you want to connect in the other
material.

In the XSI object model you will find the source object. From the sdk doc :

"Sources are references to data which are instantiated. For example, a shape
source becomes a
ShapeClip<mk:(at)MSITStore:C:\Softimage\XSI_5.1\Doc\XSISDK\xsidevref.chm::/ShapeClip.htm#ShapeClip>in
the animation mixer when it is instantiated there."

To find a node connected to an other in the render tree we use "NodeB =
NodeA.parameters("something").Source". So we can imagine than all the render
tree nodes are like image or shape clip ! Why it is not exposed in the
material explorer is a mystery for me ?

I think I used this script only for two projects and in one I suspect lot of
crash because of this nodes, Use it at your own risk !

Cheers




On 4/21/06, Bernard Lebel <3dbernard(at)gmail.com> wrote:

Strange, last time I tried it was perfectly possible in XSI 4.2. But only through scripting :-)


Cheers Bernard



On 4/20/06, Perry Harovas <perryh(at)netzero.net> wrote:
> It still isn't possible in 5.0 or 5.1
>
> For me, this is a huge issue that would be very welcome
> as a change in a future version.

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi




-- Guillaume Laforge freelance TD | cg Artist


--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.