Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Material Replace Not Working Yet?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
d1dave
DeleD PRO user


Joined: 20 Apr 2006
Posts: 10

PostPosted: Sun Jun 04, 2006 2:57 am    Post subject: Material Replace Not Working Yet? Reply with quote

I have several small details in my model which I just assigned the grey system texture simply as a placeholder until I found a suitable texture to use. I thought I could just use the material replace option to just swap any face textured with the system texture with the texture I really wanted to use later without selecting each tiny little place the texture is used (VERY time consuming) but it doesn't seem to work. Am I doing something wrong? I open the material replace window and select the system texture on the left and the wood texture on the right which I want to use and click replace but it does nothing. Please help.

Dave
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sun Jun 04, 2006 6:55 am    Post subject: Reply with quote

You need to have the polygons you want to work with selected. The quickest way of doing this is to select your object, goto Polygon mode, and then select all polygons by using ctrl-A. Then use the Replace Material function.

However, it seems to be more intuitive to just have an object selected when using the Replace Material function. A problem with that, would be that it then really replaces all materials of all polygons, which might not be what you want. Maybe the Replace Material function should have an option so you can choose. Something like "Replace materials in selected objects" and "Replace materials of selected polygons". What do you think?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sun Jun 04, 2006 9:27 am    Post subject: Reply with quote

What about that:
You will implement a "Select face by material", where you select an object or more, right click on the material button (in the Material Picker) and an context menu will pop up where you have the choice to "Select faces by material", and all faces which are having that material will be selected.
With that context menu, there can also be some other options to make material management easier, like "rename material" oder "delete material".
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Sun Jun 04, 2006 1:49 pm    Post subject: Reply with quote

Rename material already exists. Confused
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sun Jun 04, 2006 2:21 pm    Post subject: Reply with quote

So does delete material. It's just that you have to go to the material editor for that and in case there will be such a context menu, why not include those functions there, too?
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
d1dave
DeleD PRO user


Joined: 20 Apr 2006
Posts: 10

PostPosted: Sun Jun 04, 2006 3:28 pm    Post subject: Reply with quote

Yes, select faces by material would be a very nice feature or am I mis-understanding that it is already possible? Manually selecting just the faces I want to change is exactly what I am trying to avoid having to do. There are at least a few hundred small spots I want to change and manually selecting them is alot of work. And then if I decide I need to scale them once the texture is applied it usually unselects everything and I would have to do it all again if I didn't get it right. Maybe I'm still not understanding.

Dave
Back to top
View user's profile Send private message
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sun Jun 04, 2006 4:27 pm    Post subject: Reply with quote

No no, it's right. It doesn't work yet, they still have to build it in. Right now, there's no other possibility than to select all faces yourself.
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Sun Jun 04, 2006 5:01 pm    Post subject: Reply with quote

Then why not select all objects and then select all faces?
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sun Jun 04, 2006 6:37 pm    Post subject: Reply with quote

Because he only wants to select faces that are having a specific material. If you would select all objects and all faces, every face would be selected, no matter what material they have.
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Sun Jun 04, 2006 7:33 pm    Post subject: Reply with quote

Mr.Fletcher wrote:
Because he only wants to select faces that are having a specific material. If you would select all objects and all faces, every face would be selected, no matter what material they have.
But your only replacing faces that have material x on them...
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sun Jun 04, 2006 8:17 pm    Post subject: Reply with quote

If you want to change a particular material in a scene, simply select all your objects, goto Polygon mode and select all your polygons. Then use the Replace Material tool by selecting the material you want to change, and the material you want it to be changed to. No need to select faces by hand - the Replace Material tool will determine which of the selected polygons should get the new material. I think that's what VD is trying to explain here too, he's right. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sun Jun 04, 2006 8:20 pm    Post subject: Reply with quote

Ah! Alright, I didn't know of this tool. Then, it's an easy way to do what he wants to do.
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sun Jun 04, 2006 8:31 pm    Post subject: Reply with quote

We need more tutorials... Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
d1dave
DeleD PRO user


Joined: 20 Apr 2006
Posts: 10

PostPosted: Mon Jun 05, 2006 4:32 am    Post subject: Reply with quote

Great, thank you everyone. I was selecting everything in object mode and trying the material replace and it wasn't working. I switched to polygon and selected everything and it worked perfectly.


Still, a select faces by material option would be nice. I'm still now stuck with the problem of the material scaling being messed up and I still don't want to have to select each face separately to fix it nor do I want to mess up the scaling on all the other faces that are right already. It would also be useful if you were to change textures and needed to rotate just the new texture without having to manually select everything.

But, thank you everyone for all the help. Now that I know how the material replace works, it will be easier to test different textures for appearance.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum