Re: "use backround shader"?

Date : Thu, 21 Sep 2006 16:17:41 -0400
To : XSI(at)Softimage.COM
From : Joey Ponthieux <j.g.ponthieux(at)LaRC.NASA.GOV>
Subject : Re: "use backround shader"?
Tim,
Is this what you are after?


CreatePrim "Grid", "MeshSurface"
ApplyShader , , , , siLetLocalMaterialsOverlap
SetValue "grid.Material.Phong.diffuse.green", 0
SetValue "grid.Material.Phong.diffuse.blue", 0.213
SetValue "grid.Material.Phong.diffuse.red", 0.548
CreatePrim "Cone", "MeshSurface"
SetValue "cone.cone.height", 2
SetValue "cone.polymsh.geom.subdivu", 16
Translate , 0, 0.685967952581877, 0, siRelative, siGlobal, siObj, siXYZ, , , , , , , , , , 0
DeselectAll
CreatePrim "Sphere", "MeshSurface"
SetValue "sphere.sphere.radius", 0.5
Translate , 1.46547779148352, 0, 0, siRelative, siGlobal, siObj, siXYZ, , , , , , , , , , 0
Translate , 0, 1.76485213125763, 0, siRelative, siGlobal, siObj, siXYZ, , , , , , , , , , 0
GetPrimLight "Infinite.Preset", "Infinite"
Rotate , 0, 102.412241730532, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , 0
Rotate , -41.7042949110134, 0, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , 0
SetValue "Infinite.light.soft_light.shadow", True
SetValue "Infinite.light.soft_light.factor", 0
SelectObj "Passes.Default_Pass.Background_Objects_Partition"
SelectObj "Passes.Default_Pass"
CreatePartition
SelectObj "cone"
CopyPaste "cone", , "Passes.Default_Pass.Partition", 1
SelectObj "Passes.Default_Pass.Partition"
AddProp "Override"
SIAddEntryToOverride "Passes.Default_Pass.Partition.Override", "cone.Scene_Material.surface", -1
SelectObj "Passes.Default_Pass.Partition.Override"
CopyPaste , "Shaders\Material\Shadow.Preset", "TransientObjectContainer"
SIConnectShaderToCnxPoint "TransientObjectContainer.Shadow", "Passes.Default_Pass.Partition.Override.material-surface", False



Joey Ponthieux NCI Information Systems Inc. NASA Langley research Center ____________________________________________________________ Opinions stated here-in are strictly those of the author and do not represent the opinions of NASA or any other party.



Tim Leydecker wrote:
Hi guys,

I´m looking for the equivalent or even a superior
counterpart to Maya´s "use backround shader".

Where do I find such type in XSI?

Cheers

tim

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



--- 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.