View Full Version : one material, two objects
I have last problem (if is it in XSI impossible i end with XSI).
I need to asign one material/texture to two/tree/... objects (noo grouping) i need on one object XZ mapping and on different object the same material but with XY/spherical projection.
Must i have two materials? I cinema4D and MAYA i need only one.
How/where can i see all my materials/textures used in my scene?
|
|
StefanA
07-30-2003, 10:51 PM
You really need to check out the manuals. In the "Shaders, Lights & Cameras" you'll find all the information that you need. Your questions are getting extremly basic and I feel you need to dig a little deeper in the manuals before posting questions like this.
It never hurts to do a little reading
but im totaly lost in help :-(
im not able to find enything :-(
Sorry this is impossible in XSI, you better move over to maya....
In an application that costs 13.000$ why would it be possible to assign different textureprojections to object, what are you thinking man?? Pfft
i was working on low price cinema4D and there is match moore modeling tools than in XSI, render is little bit slower, and that problem with textures is standart. So i was thinking that SW witch is moore moore expensive will be able to do moore.
StefanA
07-30-2003, 11:06 PM
okno read the first reply, if that doesn't help read the reply again. If that doesn't help you... no one can help you.
A tip... in the "Shaders, Lights & Cameras" manual read Chapter 6, projections and Supports (pages 155 - 195 ).
there is nothing about that how can i dislpay all materials
You cant display all materials in the scene because xsi doesnt use a centralized system for organizing materials. Think of a material as any other property in XSI, it can be applied to both single meshes or groups, if you want to share one material with several objects...
Now please read in the manual before you ask any more questions...
Atyss
07-31-2003, 03:49 AM
You might want to have a look at this tutorial. Warning: not suited for beginners.
http://www.bernardlebel.com/tutorials/XSI_individualTextSharedMat/IndividualTextSharedMat.htm
Cheers
Bernard
i definitely ended with XSI
Sorry to hear that... I am really surprised that you find it so constricting...
StefanA
07-31-2003, 10:08 PM
Seriously. If anyone (like Okno) is trying to learn a new software you need to forget "how" the other piece of software worked. There are major differances in how all softwares work. So trying and get (ex XSI) to operate like Maya or Cinema4D you are doomed to fail.
With that said I think that Okno should study the tutorials and manuals that are availble. It seems that you haven't done that and the questions you had could easily been found in the manuals (or any of the huge listing of tutorials that can be found at Mr. Harriss (http://www.edharriss.com.) site).
We don't mind helping out when you have a problem. But when it's obvious that you don't take the time to read those... we (I) don't really understand why I should spend my time helping you.
With that said, I still hope you learn XSI and that you come back and astonish us with some great images. I belive you 'll have fun with 3D regardless of which software you use. And in the end, all that counts is the final image that you made... not how you made it.
peace! :wavey:
.stefan andersson
Originally posted by wurp
Sorry this is impossible in XSI, you better move over to maya....
In an application that costs 13.000$ why would it be possible to assign different textureprojections to object, what are you thinking man?? Pfft
err ... am I missing something obvious?? In the image node select the object from the dropdown and a projection.
NewScene
CreatePrim "Cube", "MeshSurface"
CreateProjection "cube", , siTxtDefaultPlanarXY, , "Texture_Projection"
CreatePrim "Sphere", "MeshSurface"
Translate , 18.529982820613, 0, 0, siRelative, siView, siObj, siXYZ
CreateProjection "sphere", siTxtSpherical, , , "Texture_Projection"
AddToSelection "cube", , True
CreateGroup
ApplyShader "Lambert", , , , siLetLocalMaterialsOverlap
CopyPaste , "Shaders\Texture\Image.Preset", "TransientObjectContainer"
SIConnectShaderToCnxPoint "TransientObjectContainer.Image", "Group.Material.Lambert.diffuse"
SetInstanceDataValue "sphere", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection"
SetInstanceDataValue "cube", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection"
SetDisplayMode "Camera", "texturedecal"
Originally posted by fey
err ... am I missing something obvious?? In the image node select the object from the dropdown and a projection.
NewScene
CreatePrim "Cube", "MeshSurface"
CreateProjection "cube", , siTxtDefaultPlanarXY, , "Texture_Projection"
CreatePrim "Sphere", "MeshSurface"
Translate , 18.529982820613, 0, 0, siRelative, siView, siObj, siXYZ
CreateProjection "sphere", siTxtSpherical, , , "Texture_Projection"
AddToSelection "cube", , True
CreateGroup
ApplyShader "Lambert", , , , siLetLocalMaterialsOverlap
CopyPaste , "Shaders\Texture\Image.Preset", "TransientObjectContainer"
SIConnectShaderToCnxPoint "TransientObjectContainer.Image", "Group.Material.Lambert.diffuse"
SetInstanceDataValue "sphere", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection"
SetInstanceDataValue "cube", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection"
SetDisplayMode "Camera", "texturedecal"
Obviously, it was a joke :rolleyes:
I thougth itīs a valid question how to apply different projections in ONE material and didnīt expect sarkasm. Sorry for the confusion.
I ws working on low price Cinema4D and i thing that is it very nice program (Modeling, subds, nurbs, bodypaint, fast render, dynamic, pyro, hair, cloth) so i was thinking that if i try some f the "profi" programs so i become the same function and even moore, but
in Cinema4D is mutch better modeling tool )and i thing that subds are not slower thah in XSI).
I know that on animacion is XSI nice but now im interrested in slill images.
My first thing in XSI:
http://3dgrafika.cz/showimage.php3?id=10778
Saturn
08-01-2003, 09:25 AM
I don't see any problem to apply diffretn projection on diffirent object sharing the same material.
It's trivial.
First Group object
Then apply a material ( let's say a image on lambert shader ).
Switch to rendertree and double click on Image node.
In texture projection tab, you a popup list where you can choose the object that share the material and apply a different UV projection per object.
try this script it will do the job :
CreatePrim "Sphere", "MeshSurface"
MakeLocal "sphere.geomapprox", siDefaultPropagation
SetValue "sphere.geomapprox.gapproxmosl,sphere.geomapprox.gapproxmordrsl", Array(1, 1)
SetValue "sphere.geomapprox.gapproxmosl,sphere.geomapprox.gapproxmordrsl", Array(2, 2)
Duplicate "sphere", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0
Translate , 9.48498472079921, 0, 0, siRelative, siView, siObj, siXYZ
Duplicate "sphere1", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0
Duplicate "sphere2", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0
SelectObj "sphere3", , True
AddToSelection "sphere", , True
AddToSelection "sphere1", , True
AddToSelection "sphere2", , True
CreateGroup
ApplyShader "Lambert", , , , siLetLocalMaterialsOverlap
CopyPaste , "Shaders\Texture\Image.Preset", "TransientObjectContainer"
SetDisplayMode "Camera", "texturedecal"
SIConnectShaderToCnxPoint "TransientObjectContainer.Image", "Group.Material.Lambert.diffuse"
CreateProjection "sphere3,sphere,sphere1,sphere2", siTxtSpherical, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection"
SetInstanceDataValue , "Group.Material.Lambert.Image.tspace_id", "Texture_Projection"
CreateProjection "sphere3", siTxtPlanarXY, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection1"
SetInstanceDataValue "sphere3", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection1"
CreateProjection "sphere1", siTxtCylindrical, siTxtDefaultSpherical, "Texture_Support", "Texture_Projection1"
SetInstanceDataValue "sphere1", "Group.Material.Lambert.Image.tspace_id", "Texture_Projection1"
SelectObj "Texture_Support2", , True
ToggleVisibility
SelectObj "Texture_Support", , True
ToggleVisibility
it would be nice to have a centralized materials list. come on now.. just because it doesnt exist in XSI doesn't mean it's not a good idea. shader balls too for that matter.
currently if i have a certain material on a bunch of different clusters on different objects and i want to change something about it.. i have to change it X many times or copy/paste it X many times. add to that the time it takes to expand things in the explorer to get to the material and copy it and the time spent to find the other corresponding material and pasting it..
maybe there's another way i'm not aware of.. but this way wastes a ton of time.
Originally posted by d8ed
it would be nice to have a centralized materials list. come on now.. just because it doesnt exist in XSI doesn't mean it's not a good idea. shader balls too for that matter.
currently if i have a certain material on a bunch of different clusters on different objects and i want to change something about it.. i have to change it X many times or copy/paste it X many times. add to that the time it takes to expand things in the explorer to get to the material and copy it and the time spent to find the other corresponding material and pasting it..
maybe there's another way i'm not aware of.. but this way wastes a ton of time.
Shaderballs is a terrible idea, specially in XSI period :)
About the centralized material editor, what you want to do is share one material with several objects, and you can do that in xsi quite easily..
Just make a group, put all the objects you want to share the same material in it and assign a material to the group itself.
i know the group way. that only works if the entire object is one material. what about clusters? if you've got a cluster on one object that's the same as a cluster on another object? how do you deal with that? and shaderballs arent a bad idea at all. and if you don't want them, don't use them. they're like the manipulators.. i prefer the XSI button manipulation but i can understand if others don't.
tachy0n
08-02-2003, 07:15 PM
Originally posted by wurp
Just make a group, put all the objects you want to share the same material in it and assign a material to the group itself.
BTW this works with clusters also... just select all your polygon clusters (in as many objects as you like) and group them. Then apply a material to that group.
tachy0n.. i had no idea that would work. grouping clusters! i assumed it only worked on geometry. damn assumptions!
wolver1ne
08-02-2003, 09:03 PM
I'm personally amazed the way everything is simply and logicly made in XSI, even for begginers like I. I've been trying to learn MAX before but never could get a hold of it. When I found about XSI and gave it a shot I couldn't believe how flexible, yet powerful the software is. Certainly, XSI doesn't have some features that MAX or some other program has, but it's also vise versa. It's all matter of finding your way in a certain software.
So I pretty much agree with what has been said here, if one software doesn't have a certain feature it certainly doesn't mean you should consider another one right away, instead it's better stick to one and look for workarounds which is actually a good way of learning the program.
As for the topic, link that Atyss has provide shows a good example of how easy it is to apply same material to more than one object.. (mainly in the begin of the tutorial) and also how easy it is to modify different attributes per object. The possibilities are basically endless. :D
Yuy for XSI! :P
CGTalk Moderation
01-15-2006, 06:00 PM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.