Join Leon van den Heever for an in-depth discussion in this video Optimizing the scene, part of Maxwell Render for Product Visualization.
- [Instructor] As mentioned before we have a number of knives missing within the knife holder. In this video to optimize our scene a little, I've opted to use instances of some of the existing knives, to create the additional knives that we need. Zoom in onto the knife holder, position the views something like this. And we'll then focus on the larger knives first. Looking at what we already have in the knife holder, At the back left is knife one.
While the knife leaning against the holder is knife two. And it's place in the holder is this left center slot which is currently empty. For the left front slot considering the knife sizes that we have, we can use the same size as knife four, found in the top right slot. Now we could go ahead and clone it. But why have the extra overhead if we don't really need it. So let's go ahead and create an instance of knife four instead, which we'll then place in the front left slot.
Now as you know from the context menu you will find the instance command, and the control-alt-I shortcut which is currently associated with it, on my system is what I configured in the Maxwell Studio preferences window. Now let's go ahead and create a single instance, and see what happens. What we see is that the instance is not in the same coordinates space as knife four.
Now because I don't want to be moving the pivots on the knife objects, I do not want to be resetting them. Now let me quickly just show you why. No need for you to follow along, just watch and understand my reasoning behind this. Because I won't be able to do and undo when doing a reset, I'll first go ahead and clone knife four. Using the clone, I'll do a coordinate reset. Now don't worry about where the knife has moved to within the 3D space. We'll deal with that in a minute.
The important thing to note is that the knife object pivot is zeroed to the scene origin, and obviously trying to position or rotate the knife with the pivot being in this position is pretty much going to be a nightmare for us. Now you can of course center the pivot to the object, but now the pivot will continue to use world orientation irrespective of using object or pivot mode.
Now because of the angle of the knives, this is still going to make our lives unnecessarily difficult. So for that reason I will not be using the reset pivot command on the knives. So I'll go ahead and delete the clone, and then let's look at the instance again. The reason the instance moved, is because it is directly affected by the coordinates of the knives group which is its parent and because it is a child of that parent. Now I've purposely set up this issue so that you know why it is happening, and how to fix it if it does happen to you.
And it probably will. If you select the knives group, you will see that it's rotations are not zeroed, and this is what is causing our issue. Now you can follow along with me, and let's fix this together in a way that I think appropriate for this particular situation. So first, delete the instance that we created, and then multi select all the knives within the knives group, and drag and drop them to the bottom of the object manager to remove them from the group.
You can now either do a reset on the knives group, which will zero all the transformations, or simply go ahead and add them to a new group if you prefer. With the transformations reset, let's just simply drag and drop the knives back into the knives group. Now using my create instance shortcut to create an instance of knife four, you will note that the pivot is now located as we would want it.
With instance selected, activate the rotate tool, and remember that the shortcut for rotate is the e key and you can also hold down shift and then rotate and get it to a position of 180 degrees. For the next step feel free to pause the video for a moment if you need to. Press the w key and then move the instance of knife four to the bottom left slot of the holder. If it helps, these are the coordinates that I ended up using.
Now with that done, let's fill this bottom row of slots with five instances of knife seven. Again I'm just using my instance shortcut to quickly create them. Again, there's no need for you to watch me position each instance. You can do this on your own before starting with the next video and I'll do the same in between. So to wrap up, we've optimized the scene a little by using instances, and you've seen the importance of understanding the impact that using the pivot reset can have and the potential issues that it can cause us.
So get those knives positioned, save your work frequently, and I'll then see you in the next video.
- Importing scene assets
- Organizing the Object Manager
- Optimizing a scene
- Adding and composing the camera
- Setting up initial lighting
- Setting up additional lighting
- Using Multilight to tweak the lighting