change hard coded color in mdl files?
Results 1 to 9 of 9

Thread: change hard coded color in mdl files?

  1. #1
    SOH-CM-2024 Cees Donker's Avatar
    Join Date
    Jun 2005
    Location
    Zoetermeer, Netherlands
    Age
    68
    Posts
    4,642

    Question change hard coded color in mdl files?

    Hello guys,

    I vaguely remember there was a utility that enabled the user to change hard coded color in mdl files. Does anyone remember this and know what I mean?

    :isadizzy:

    Cees

  2. #2
    Quote Originally Posted by Cees Donker View Post
    Hello guys,

    I vaguely remember there was a utility that enabled the user to change hard coded color in mdl files. Does anyone remember this and know what I mean?

    :isadizzy:

    Cees
    Hello Cees,

    The Model Material Editor is called MDLMAT by Martin Wright and you can get it Here:
    http://fly.to/mwgfx/
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  3. #3
    SOH-CM-2024 Cees Donker's Avatar
    Join Date
    Jun 2005
    Location
    Zoetermeer, Netherlands
    Age
    68
    Posts
    4,642
    Thank you Milton!



    Cees

  4. #4
    Milton,
    Can you provide a bit of instruction on how to use MDLMat? I've wanted to use it to change some colors of untextured parts but I have no idea how to find the parts to change the colors, or how to find the colors if not the parts.

  5. #5
    I have not used the program but it seems intuitively obvious.

    See attached. Help is in bottom right quadrant.

    Just browse to your model using the ? button, browse the lines for the color you want (check all to see what else is there or if there are multiples of the same one).

    Once selected, the color shows top right.

    Use color selector to change, then use the << arrows to load the new color into the Diffuse/Ambient/ect slot(s).

    Then save.

    Hope this helps.
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  6. #6
    There is no easy way to tie a particular material to a particular part of the mdl. The materials list is at the start of each LOD (along with the texture list) and the drawing code that follows will call up different materials and textures as appropriate but there is no way to tell by looking at the code which particular bit of the model is currently being drawn (just another block of triangle coordinates).
    The same material will usually be applied to many different parts of the model so any changes to the material will affect every part that uses it. This is not usually a problem as it is only the one or two bits that aren`t covered by textures that you need to change for visual effect.

    If you can`t work out which to change (say if they are all the same colour) then change one at a time to a bright green or something any fly the model to see if the exposed part has changed colour. Obviously use a copy of the mdl for this testing (or keep a copy of the original safe). Once identified go back to a fresh copy of the original mdl and just change that entry to the colour you really want.

    Note that each LOD has its own materials list so you will have to make similar changes in each LOD if you don`t want the old colour to appear at distance.

    Normally it is the Diffuse colour you will need to change to fix untextured parts.

  7. #7
    Thank you Martin for that explanation. As a modeler, I guess I take these things for granted, but it helps to have the "inside" rest of the story.
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  8. #8
    SOH-CM-2017
    Join Date
    Jun 2005
    Location
    Utah, USA
    Age
    83
    Posts
    1,132
    Blog Entries
    1
    I usually make a blank texture folder for the aircraft then change the color of suspect parts to bright primary colors. Kind of a PITA, but it's the best method that I have found so far. Sometimes;with luck, I find that offending external payloads,etc. can be rendered invisible without affecting other visible parts. You don't get the 'ghost effect' that you sometimes see when using alpha texture. I guess that I am just parroting Martin after re-reading his post.

  9. #9
    SOH-CM-2024 Cees Donker's Avatar
    Join Date
    Jun 2005
    Location
    Zoetermeer, Netherlands
    Age
    68
    Posts
    4,642
    That's exactly how I worked to get parts differently colored!



    Cees

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •