Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Once more.. Re: Using the same procedural texture for diffuse and bump...

Once more.. Re: Using the same procedural texture for diffuse and bump...

2004-05-13       - By Morten Bartholdy

 Back
Reply:     1     2  

Lawrence, thanks for taking the time.

I couldn't get your script working - I get this:
'ERROR : "Syntax error - [line 5]"

It is the first CopyPaste , line, and with my limited knowledge of scripting
syntax I can't see what might be wrong.

Anyway I tried following the commands and eventually I got it sort of
working by unchecking Wrap in the Texture Edit node.

Sort of, because it is a bit hard to see if the bump matches the turbulence
color, and I can't really get the Vector State and Texture Edit nodes to
drive the diffuse color mapping as well as the bump - I guess it is time to
hit the docs again - no reason to bother you anymore :)

Thanks!

Morten



-- -- Original Message -- --
From: "Pankhurst, Lawrence" <Lawrence.Pankhurst@(protected)>
To: <XSI@(protected)>
Sent: Thursday, May 13, 2004 2:43 PM
Subject: RE: Once more.. Re: Using the same procedural texture for diffuse
and bump...


> Hi Morten,
>
> I'm not sure where yours is going wrong, what do you end up with? Below
are
> my steps from the logging in the script editor, perhaps that will help!
If
> you change the path of KA_Turbulence to what it is on your machine I think
> you should just be able to run it as a script.  Give me more details and
> I'll see if I can help, have you unchecked clamp in the bumpmap generator
> node?
>
> Cheers
>
> Lawrence
>
> CreatePrim "Sphere", "MeshSurface"
> SetValue "sphere.polymsh.geom.subdivv", 24
> SetValue "sphere.polymsh.geom.subdivu", 24
> ApplyShader "Lambert", , , , siLetLocalMaterialsOverlap
> CopyPaste ,
> "L:\XSI_Workgroup\Data\DSPresets\Shaders\Texture\KA_TurbulenceRGB.Preset",
> "TransientObjectContainer"
> SIConnectShaderToCnxPoint "TransientObjectContainer.KA_TurbulenceRGB",
> "sphere.Material.Lambert.diffuse"
> CopyPaste ,
"Shaders\Texture\texture_space_controller\Texture_edit.Preset",
> "TransientObjectContainer"
> SIConnectShaderToCnxPoint "TransientObjectContainer.Texture_edit",
> "sphere.Material.Lambert.KA_TurbulenceRGB.Coord"
> CopyPaste ,
> "Shaders\Texture\texture_space_generators\Texture_space_generator.Preset",
> "TransientObjectContainer"
> SIConnectShaderToCnxPoint
> "TransientObjectContainer.Texture_space_generator",
> "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.input"
> SetValue
>
"sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.Texture_space_generat
> or.project", 0
> CreateProjection "sphere", siTxtSpatial, siTxtDefaultSpherical,
> "Texture_Support", "Texture_Projection"
> SetInstanceDataValue ,
>
"sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.Texture_space_generat
> or.select", "Texture_Projection"
> SetValue "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.torus_z",
> False
> SetValue "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.torus_y",
> False
> SetValue "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.torus_x",
> False
>
> CopyPaste , "Shaders\Texture\Bump\Bumpmap.Preset",
> "TransientObjectContainer"
> DisconnectAndDeleteShaders "TransientObjectContainer.Bumpmap"
> CopyPaste , "Shaders\Texture\Bump\Bumpmap_generator.Preset",
> "TransientObjectContainer"
> RemoveShaderFromCnxPoint "Clips.noIcon_pic",
> "TransientObjectContainer.Bumpmap_generator.input", False
> RemoveShaderFromCnxPoint "Clips.noIcon_pic",
> "TransientObjectContainer.Bumpmap_generator.input", False
> SIConnectShaderToCnxPoint "sphere.Material.Lambert.KA_TurbulenceRGB",
> "TransientObjectContainer.Bumpmap_generator.input"
> SIConnectShaderToCnxPoint "TransientObjectContainer.Bumpmap_generator",
> "sphere.Material.normal"
> SelectObj
> "sphere.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection.GeoTxtOp"
> FreezeObj
> CopyPaste , "Shaders\Texture\State\Vector_state.Preset",
> "TransientObjectContainer"
> RemoveShaderFromCnxPoint
>
"sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.Texture_space_generat
> or", "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.input", False
> SIConnectShaderToCnxPoint "TransientObjectContainer.Vector_state",
> "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.input"
> SetValue
> "sphere.Material.Lambert.KA_TurbulenceRGB.Texture_edit.Vector_state.mode",
6
> SetValue "sphere.Material.Bumpmap_generator.clamp", False
> SetValue "sphere.Material.Bumpmap_generator.factor", 300
>
>
>
>
>
>
> -- --Original Message-- --
> From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf
Of
> Morten Bartholdy
> Sent: 13 May 2004 11:03
> To: XSI@(protected)
> Subject: Once more.. Re: Using the same procedural texture for diffuse and
> bump...
>
> Lawrence, sorry if I miss something obvious here, where do I freeze the
> spatial projection to make this work?
>
> If I freeze the GeoTxtOp I am unable to get the same projection attaching
> the VectorState and TextureEdit like in your tree.jpg, so I guess I am
> missing something.
>
> TIA!
> Morten
>
>
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> Information in this email may be privileged, confidential and is
> intended exclusively for the addressee.  The views expressed may
> not be official policy, but the personal views of the originator.
> If you have received it in error, please notify the sender by return
> e-mail and delete it from your system.  You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
>
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
>
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following text in body:
> unsubscribe xsi
>

---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi