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 

Replace Materials question

 
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
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Sun Aug 20, 2006 6:41 pm    Post subject: Replace Materials question Reply with quote

I have a small industrial warehouse type building, which was built by carving out polyline rooms from a large cube shell.

Most of the walls were mapped with one material ("material20") but I now want them to be with another material ("wall24"). Unfortunately, the "replace material" dialog box doesn't really work. It replaces the material on one or two surfaces, but the majority of them are unaffected.

I've uploaded the map file to http://www.mindcontrol.org/~hplus/material-replace.dmf
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Sun Aug 20, 2006 7:09 pm    Post subject: Reply with quote

The Material Replace command works with selected polygons only. Have you tried selecting polygons and see what happens?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Sun Aug 20, 2006 7:10 pm    Post subject: Reply with quote

Yes; I went into polygon mode and did ctrl-A (to select all), and it still didn't work on more than a few polygons.
Back to top
View user's profile Send private message
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Sun Aug 20, 2006 7:15 pm    Post subject: Reply with quote

FWIW, I made it work by:

1) select all faces
2) verify it still doesn't work
3) delete selection
4) undo
5) now, replace material works!
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Mon Aug 21, 2006 8:21 pm    Post subject: Reply with quote

I think this has something to do with the level being lightmapped. The original Replace Material functionality was designed without lightmaps in mind. Remove the lightmaps and everything seems to work allright. Can you confirm?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Mon Aug 21, 2006 9:03 pm    Post subject: Reply with quote

Yes, the light maps were removed by the "delete and undo" step, so that's probably what made it work.
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