The following functions are specific to materials and the use of materials with the Material Editor:
you can get the materials in the material editor slots 1 through 24.
The Compact Material Editor sample slots are full in 3ds Max (that is, you have a maximum of 24 unique materials displayed in the Editor). Solution: Although the Compact Material Editor can only display a maximum of 24 unique materials at once, you can create new, 'empty' material slots by resetting some or all of your current displayed materials. Jan 13, 2004 3ds max; Getting more material slots? Results 1 to 4 of 4 Thread. I have all my materials in multi sub object materials. You can have up to 99 per material. Its then just a matter of adding the material modifyer to the object and selecting a. You add realism to scene objects by adding materials to their surfaces. Material texture can include information from bitmap images, as well as bump maps for a 3D effect. In this tutorial the battlefield terrain, as well as the tree, rock, cannon, and windmill, all get their appearance from bitmap texture mapping. Cannon texture Rock texture Set up the scene: Continue from the previous lesson.
EXAMPLE |
Oct 20, 2016 Hey VRay users, today I’ll be discussing how you can use the Ambient Occlusion map VRayDirt to enhance your images. Ambient Occlusion, or AO for short, is an old rendering technique used as an approximation for true global illumination. On the Material/Map Browser, double-click the Bitmap map type. (Bitmap is in the Maps Standard group.). 3ds Max opens a file dialog. In the file dialog, navigate to the sceneassetsimages folder, click desert.jpg to highlight it, then click Open. The image is a desert landscape, taken during the day. Hi, for a final year project i am doing a virtual tour of a design show. Currently Material editor has 24 slots for materials. Is there any way that anyone knows of, of increasing the amount of material slots as i think i may run out. No - and there's no need to do so. The editor slots are for. UPDATE- Using the Resource Collector in 3ds Max. Designed for all levels of 3ds Max and Vray users, you'll learn how to create your own Vray material library. Materials are key to achieve photo realism in your images. In this class we will go through step by step how to.
complements the getMeditMaterial function allowing you to place a material into the numbered material editor slots.
Accepts either materials or texture maps as <material>.
Loads the default 3ds Max material library file.
Loads the named 3ds Max material library file, which becomes the current material library.
If the file name does not have a fully specified directory path, the function searches through all the currently configured bitmap paths.
Returns true if the loads succeeds, false if it fails.
Saves the current material library into the named file.
Returns true if the save succeeds, false if it fails.
This method displays the File Open dialog and allows the user to select a material library to load.
Displays the standard Save File As dialog to allow the user to save the current material library.
If the current material library has been saved previously (has been named) this method saves the material library to the same file.
Otherwise it displays the standard Save File As dialog to allow the user to save the current material library.
For details on the quiet: option available in 3ds Max 8 and higher, please see Quiet Mode
Returns the current material library file name as a String value.
Provides access to the Render Map function available in the Material Editor.
The function returns a Bitmap value containing a rendering of the given texture map.
If you specify the optional into: argument, the function renders the map into the supplied bitmap, taking size and other attributes from the existing bitmap. If you don't, a new bitmap value is created using the size: and fileName: arguments in its creation.
If the into: and size: parameters are not specified, the default size in [200,200].
The scale: argument is a scale factor applied to 3D TextureMaps. This is the scale of the surface in 3d space that is mapped to UV and controls how much of the texture appears in the bitmap representation.
If the filter: argument is true, the bitmap is filtered. It is quite a bit slower to rescale bitmaps with filtering on. Defaults to false.
If the display: argument is true, the resulting bitmap is displayed using the virtual frame buffer; otherwise it is not. Defaults to false.
EXAMPLE |
The above will render a map to a bitmap and save it as a .bmp file. |
This provides control over the visibility of textures in the shaded viewport.
You specify the material containing the texture map, the texture map in that material to be controlled and a boolean to turn the display on or off,
FOR EXAMPLE: |
Note that for multimaterials, you need to specify the appropriate sub-material (using [] indexing, for example). |
See showTextureMap() function for details.
The following 3ds Max System Global Variables are applicable to the Material Editor:
Contains a virtual array of materials and root level maps corresponding to the currently opened material library.
You can get library materials via array indexing and iterate over them in a for loop.
The array can be indexed by number, or by name or string to select by material name.
This variable is read-only.
See MaterialLibrary Values for more information.
Contains a virtual array of materials and root level maps corresponding to the slots in the material editor.
You can access material editor materials and root level maps via array indexing and iterate over them in a for loop.
The array can be indexed by number to specify slot number or name or string to select by material and root level map name.
FOR EXAMPLE: |
This variable is read-only, but the elements (the materials in the slots) are assignable.
See MaterialLibrary Values for more information.
Contains a virtual array of materials and root level maps corresponding to the materials and root level maps present in the scene. You can get scene materials and root level maps via array indexing and iterate over them in a for loop.
The array can be indexed by number, or by name or string to select by material or root level map name.
This variable is read-only.
See MaterialLibrary Values for more information.
MAXScript can access the active slot in the material editor.
The system global variable activeMeditSlot contains the index of the currently active Material Editor slot.
You can read this value to find the active slot, or assign an integer (between 1 and 24) to it to set the active slot.
EXAMPLE |
You begin with a scene that has only a few materials in it.
Set up the lesson:
- On the Quick Access toolbar, click (Open File), navigate to scenesmaterials_and_mappingintro_to_materials and open army_compound.max.Note: If a dialog asks whether you want to use the scene’s Gamma And LUT settings, accept the scene Gamma settings, and click OK. If a dialog asks whether to use the scene’s units, accept the scene units, and click OK.Except for the vehicles, the jeeps and helicopter, this scene contains no materials. The buildings and terrain have a featureless, plastic look to them that is typical of newly created geometry in 3ds Max.
You’ll begin by adding textures to the utility containers in the fenced area at the rear of the compound.
Isolate the utility containers:
- On the main toolbar, open the Named Selection Sets drop-down list, and choose the Utilities selection set. 3ds Max selects the various containers.
- Right-click the viewport to display the quad menu, and choose Isolate Selection. This command is in the upper-right, Display quadrant.3ds Max displays the utility containers in the center of the viewport, and hides the other scene geometry.
- Use (Orbit) to adjust the view so you can see all five containers clearly. The isolated set of containers
Silver oak online casino no deposit bonus. Now you’re ready to begin creating materials for these objects.
Apply a basic material to the oil tanks:
- Activate (Select Object).
- Click an empty area of the viewport to deselect the Utilities set, and then click OilTank01 (the front cylindrical object on the right) to select it.
- Ctrl+click OilTank02 and OilTank03 to select them as well.
- On the main toolbar, click (Material Editor) to open the Slate Material Editor. Tip: If this is the first time you are using the Slate Material Editor, you might need to resize it so you can easily see all three of the columns in its interface.Also, to see changes in the viewport, it will help to minimize the Slate Material Editor while you work, and then restore it when you need to work on materials some more.The Material Editor is a workbench for creating, adjusting, managing, and applying materials to objects. The main portions of its interface are:
- On the left, a Material/Map Browser panel where you can choose material and map types (or ready-made materials) to add to the scene.
- In the middle, a View panel where materials and maps appear as nodes that you can wire together.
- On the lower right, a Parameter Editor where you can edit the material and map controls.
Tip: If the Compact Material Editor opens instead, then on the Material Editor menu bar, choose Modes Slate Material Editor. The Compact Material Editor has a smaller window, with conspicuous sample slots near the top of its interface. - On the Material/Map Browser panel at the left, locate Materials Standard Standard, then drag the Standard entry from the Browser and drop it in the active View (the large panel labeled View1 in the center of the Editor). A node for the Standard material appears in the active View.
- Double-click the Standard material node to display parameters for the material in the Parameter Editor on the right side of the Slate Material Editor.
- In the material Name field, near the top of the Parameter Editor, enter Oil Tanks as the material name. Notice that as you enter the name in the Name field, the name in the title bar of the node also updates.It is good to get in the habit of naming a material as soon as you create it. In a complex scene, intelligible material names are useful.
- On the Blinn Basic Parameters rollout, below the Name field, click the color swatch that is labeled Diffuse. 3ds Max opens a Color Selector dialog.Use the Red/Green/Blue controls on the Color Selector to choose a yellow color. Set Red = 200, Green = 200, and Blue = 0.The diffuse color of a material is the color that appears under diffuse, or scattered, light. It is what we usually think of as “the” color of a material, and what you will set first, when you create a basic material such as this one.
- Click OK to close the Color Selector.
- On the Slate Material Editor toolbar, click (Assign Material To Selection). In the viewport, the oil canisters turn yellow.
- Look at the material preview in the title bar: It now has angled corners. Double-click the preview to make it larger so you can get a better look. Angled corners on a material preview mean that the material has been applied to at least one object in the scene. When the angled corners are solid white, as they are in this case, the material is said to be hot. When you make changes to a hot material, the scene changes immediately, and usually the viewport display shows the material changes you have made.You will take advantage of adjusting a “hot” material in the next set of steps.
Make the oil tanks shiny:
- On the Blinn Basic Parameters rollout, in the Specular Highlights group, change the value of Specular Level to 90. Bright highlights appear on both the sphere in the preview, and the oil tanks in the viewport.
- Also in the Specular Highlights group, change the Glossiness value to 32. Left: Preview with the oil tank materialRight: Specular highlight controls with Glossiness = 32As you can see the preview and in the graph to the right of the Specular Highlight and Glossiness controls, the highlight is now narrower. Specular Level controls how bright highlights are, while Glossiness controls highlight width. In general, shinier materials have smaller highlights.Bonus slot machine games play for fun. Welcome to the unlimited access to Slotozilla’s over 3000+ free slots games to play for fun! We are the most extensive website devoted to slot machines in particular. Play 30+ FREE 3-reel and 5-reel slots: Mountain Fox, Treasures of Egypt, Flaming Crates, Prosperous Fortune, Magic Wheel, Fruit Smoothie, Party Bonus, Video Poker and more! FREE Online Slot Machines! Win at least 500 credits and press the sweepstakes button to enter. We bet you love to play free slot games online, that is why you got here! So, good news, free slots is something we are crazy about as well. SlotsUp's team is the slot machine games fans collaborated in one project to deliver you thousands of free casino slot games (more than 7000 online slots to be clear) available for you to play for fun. Bonus Games & Features. For players in a land-based casino, like Harrah’s, a slots bonus would refer to the bonus game, or feature you get to play on a slot machine, like a free spin round, or spinning the Wheel of Fortune. The main types of slot machine bonus are: Free Spins (for example, you might be awarded 10 free games) Pick and Choose.
Make sure that the three oil tanks are still selected, and that the Oil Tanks material is still active.
You have used basic material controls, Diffuse color, Specular Level, and Glossiness, to create a simple material that has the appearance of a moderately shiny paint. This completes the material for the oil tanks.
Apply a texture map to the ammunition canister:
- In the Slate Material Editor active View, move the Oil Tanks node to one side.
- Drag another Standard material node into the active View. Double-click the node to display the material parameters, then in the Name field, change the name of the material to Canister.
- In the Slate Material Editor Material/Map Browser panel, at the left, locate Maps Standard Bitmap, and drag this map type into the active View. 3ds Max opens a file dialog.
- In the file dialog, click to highlight the file metals.checker.plate.jpg (it is in the project folder sceneassetsimages, like all the maps for the tutorials), and then click Open. 3ds Max adds this Bitmap node to the active view.
- Drag from the Bitmap node’s output socket (the circular control at the right of the node). When you drag, 3ds Max creates a wire. Drop the wire on the input socket for the Canister node’s Diffuse Color component.The Bitmap is now wired to the material.
- Click the new Bitmap node to highlight it.
- On the Slate Material Editor toolbar, click (Show Shaded Material In Viewport) to turn it on. (If you use a legacy viewport driver, this button's tooltip reads, 'Show Standard Map In Viewport.') A red diagonal shape appears in the Bitmap title bar, to indicate that Show Material is active.
- Click the Canister node to highlight it again.
- Move the Slate Material Editor window so you can see both the objects in the viewport, and the Canister node in the active View. Make sure that none of the utility objects is selected, then drag from the output socket of the Canister node (the output socket is the round control at the right of the node), drag to the viewport, and then release the mouse over the blue canister in the middle of the group. Dragging from the output socket of the Canister material3ds Max applies the Canister material to the ammunition canister.Dragging and dropping from the output socket of a material node is an alternative to using (Assign Material To Selection).
For the ammunition canister, you will use a bitmap. Bitmaps are a versatile way to add visual detail to scenes, and we use them extensively in this scene. When a bitmap is used to provide an object’s color, it is also known as a texture map. The texture map you apply to the canister shows a section of metal plating with a “checkered” pattern.
Adjust the metal plate mapping:
- Select the canister object, which is named Ammo, and go to the Modify panel.
- Open the drop-down Modifier list, and choose UVW Map from the list. Tip: Once you open the list, you can press U a couple times until the list highlights UVW Map, and then press Enter.
- In the Parameters rollout Mapping group, choose Box. The radio buttons at the top of the Mapping group (Planar, Cylindrical, Spherical, and so on) tell the UVW Map modifier how to project the map onto the object. Box mapping projects the map from all six sides, so the texture display is more uniform.
- Also in the Mapping group, set Length = Width = Height = 2.0m. Now the mapping is uniform and looks good from any angle.The texture corrected using UVW Map
If you zoom in, you can see that the mapping is not as good as it could be. The top and sides of the canister look all right, but there is streaking where the top of the canister has beveled faces.
Streaks in the texture when using the default mapping
To fix this, you use a modifier called UVW Map.
Clean up the Slate Material Editor interface:
- In the Slate Material Editor active View, click a node to select it, then press Ctrl+A to select all nodes in the View.
- Press Delete. Deleting nodes from the active View simply cleans up the View for further work. It does not remove the materials from the scene: You can still see the materials you created in the Material/Map Browser Scene Materials group.If you need to edit a material again, you can drag it from this group and into the View as an instance.Note: You also have the option of maintaining multiple Views of the materials for your scene. See the 3ds Max help for more details.
Apply a 3D material to the generators:
- Select Generator01 and Generator02, the large boxy objects to the left.
- In the Slate Material Editor, drag another Standard material node into the active View. Double-click the node, then name the material Camouflage.
- Drag a Noise map from the Material/Map Browser panel into the active view, and wire it to the Camouflage material’s Diffuse Color component.
- Double-click the Noise node to display its parameters. On the Noise Parameters rollout, click the color swatch labeled Color #1. 3ds Max opens a Color Selector.
- Change Color #1 to a dark green: Red = 0, Green = 175, Blue = 0.
- Click the color swatch labeled Color #2. On the Color Selector, change Color #2 to a tan: Red = 200, Green = 155, Blue = 0.
- Click OK to close the Color Selector.
- Click the Camouflage material node again to make it active.
- Click (Assign Material To Selection), and then click (Show Shaded Material In Viewport) to turn it on. (If you use a legacy viewport driver, this button's tooltip reads, 'Show Standard Map In Viewport.') The map appears in the viewport, but the camouflage pattern isn’t very apparent.
- On the Noise Parameters rollout, change the Noise Threshold values. Set High = 0.51 and Low = 0.49. In addition, change the Size value to 18.0. Now the generator casings have a recognizable camouflage pattern. A bonus of the procedurally generated 3D Noise texture, is that the pattern is not quite the same on either generator. (This effect is more apparent when you render the scene: In viewports, both generators look much the same.)
Finally, for the generators, you will use a 3D procedural map. A bitmap is simply a digital image such as a scan or a photograph. A 3D map, on the other hand, is generated by 3ds Max.
You now have a reasonably realistic texture for all of the containers in the utilities area of the compound.
View the entire scene again:
- On the status bar, near the bottom of the 3ds Max window, click to turn off (Isolate Selection Toggle). The viewport shows the entire scene once again.
Apply a texture map to the terrain:
- In the Slate Material Editor, drag another Standard material node into the active View. Double-click the node to display the material parameters, then in the Name field, change the name of the material to Terrain.
- In the Slate Material Editor Material/Map Browser panel, at the left, locate Maps Standard Bitmap, and drag this map type into the active View. 3ds Max opens a file dialog.
- In the file dialog, choose terrain.jpg, and then click Open.
- Wire the new terrain texture to the Terrain material node’s Diffuse Color component.
- Click the new Bitmap node to make it active, and on the Slate Material Editor toolbar, click (Show Shaded Material In Viewport) to turn it on.
- Drag from the Terrain material node’s output slot, and in a viewport, release the mouse over the Ground object. The Ground object turns brown, but it doesn’t show the texture map. This is a sign that the object doesn’t have mapping coordinates.Primitive objects such as boxes and spheres have default mapping coordinates, but editable geometry such as Ground, which is an Editable Poly, does not. You have to assign mapping coordinates by applying UVW Map.
- Select the Ground object, and go to the Modify panel.
- Use the Modifier List to apply a UVW Map modifier. For the terrain, the default Planar projection works fine, and the map terrain.jpg is already the right size for the scene, so your work in this lesson is now complete.
For the last step in this lesson, you will apply a texture to the terrain beneath and surrounding the compound.
Army compound with textured utility containers and terrain
Save your work:
3ds Max Material Editor
- Save the scene as my_fieldhq_containers_and_terrain.max.