Digital Art Zone

 
     
HU on a little mat zone issue
Posted: 30 April 2013 04:31 PM   [ Ignore ]
Addict
Avatar
RankRankRankRank
Total Posts:  5138
Joined  2012-04-07

Have been bravely modeling with the latest edition ... saving more often than ever lol ..

Okay ... if one has a kazillion Shading Domains/mat zones which over the course of the project get replaced and so forth ... it used to be that one could export out the finished .obj file, import it into D/S and make the figure. Except for maybe one or two “just in case” calls for default or something, all the rest of the unused mats were NOT a part of the .obj.

At least D/S3 didn’t read them.

Now with the latest Hexagon, D/S still doesn’t read the unnecessary materials. [which I think is great]
However D/S4.0 lists them ALL. :-( eeekkk ....

Didn’t brave the file to 4.5 to see what it would do ... cleaned it up in Hexagon and it works as should now in 3 and 4.0.

So I’d like to repeat to whoever might ever consider updating this lovely program [and I sincerely hope it does get upgraded] to make some kind of a “multi-choice” selection for 1 action, like “delete”. One by one is NOT fun.

When I checked the exported from Hexagon .obj back imported back into Hexagon [so it should have shown me a clean .obj file as the previous edition did], it showed that it had saved out the Shading Domains and EVERY shading domain had a ‘ghost’, empty material shading domain also on its group.

Image Attachments
one_panel_missed.png
 Signature 
Profile
 
 
Posted: 30 April 2013 09:04 PM   [ Ignore ]   [ # 1 ]
Active Member
RankRank
Total Posts:  280
Joined  2011-05-02

Depending on the job I sometimes “vet” the .obj file and its .mat file with Notepad+ and delete all the trash, If you have not done it before, it is worth experimenting on a couple of simple test files first with say two or three unused materials, just to get the idea. After a while it becomes fast and easy as they are only text files after all.

Profile
 
 
Posted: 01 May 2013 09:35 PM   [ Ignore ]   [ # 2 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5138
Joined  2012-04-07
TapiocaTundra - 30 April 2013 09:04 PM

Depending on the job I sometimes “vet” the .obj file and its .mat file with Notepad+ and delete all the trash, If you have not done it before, it is worth experimenting on a couple of simple test files first with say two or three unused materials, just to get the idea. After a while it becomes fast and easy as they are only text files after all.

Was wondering if that was possible. Thought I had cleared them ‘the hard way’ via Hexagon, but nope, and back with a fury of “more”! sigh ...

So, to “vet” the file ... do I just delete the call reference or also all those numbers underneath it, before the next call reference?

 

Image Attachments
001.png
 Signature 
Profile
 
 
Posted: 01 May 2013 10:04 PM   [ Ignore ]   [ # 3 ]
Member
Avatar
Rank
Total Posts:  205
Joined  2003-10-09

Just delete the usemtl line and yr good to go.

 Signature 

Renderosity. http://www.renderosity.com/mod/bcs/index.php?vendor=29771

Rendo Freebies. http://www.renderosity.com/mod/freestuff/index.php?username=ghostman

RDNA http://www.runtimedna.com/Ghostman/

Profile
 
 
Posted: 01 May 2013 11:36 PM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5138
Joined  2012-04-07

That’s good news, thank you so much.

 Signature 
Profile
 
 
Posted: 02 May 2013 01:39 AM   [ Ignore ]   [ # 5 ]
Active Member
RankRank
Total Posts:  280
Joined  2011-05-02

Notepad+ will also show all references to the usemtl lines in a separate window if the search option is used, very handy.

Profile