Forum: Poser - OFFICIAL


Subject: Ideas for creating footprints?

Lz2483 opened this issue on Jun 03, 2005 ยท 44 posts


Lz2483 posted Sat, 04 June 2005 at 9:37 PM

I seem to have figured out the most difficult part. So while this isn't a comprehensive tutorial, it will give those who have shown an interest a good start. This is a fast method used to get a reasonable result but will by no means address all the problems you will encounter. I don't mean to sound condescending but I will assume that you are fairly new to Poser so these instructions may be a little irritating to those of you who know the interface. A standard displacement map (solid black and white)doesn't really provide a realistic impression, so the difficult part is getting a refined diplacement map (gradient) that will give the "impression" a realistic 3 dimensional look. Keep in mind this is still a WIP, so it will require some tweeking to get it right. This example uses a footprint as the desired effect, However, this principle can be applied to virtually any 3D object to create the illusion of an imprint. These instructions require Poser 6 (Poser 5 will also work with some slight differences in the interface) and any paint program that allows basic image editing (specifically light/contrast control and image inversion) In this example I will use Photoshop 7. The idea is to get an image of the foot that can be used as a gradient displacement map. In these examples I am useing DAZ's reduced resolution V3. Setting Up Load your figure into Poser. Rotate the figure 180 degrees (z axis) so the feet are facing straight up. Next, position your Main Camera directly above the feet facing down. Load a square plane from your Props/Primitives and rotate the square plane so that it is positioned between the camera and the figure.(See Figure1) Now slowly lower the square plane so that just the bottoms of the feet poke through the square plane. At this point you will need to make slight adjustments to the feet and toes in order to create the desired effect. From the main camera, you should be able to see the bottoms of the feet which will create the displacement map.(See Figure2) Adjust the Main camera so that the foot fills the screen (See Figure3) Creating Render/Displacement Map These next steps are crucial, so follow the steps carefully. Open up the Materials Room and under props select the square plane. Change the Diffuse and Specular Color to black. Next, select the V3 figure and under the material tab select the "skin feet" material. Change this material to white. Your Document Window in Poser should now look similar to Figure4. (Notice that in this example the Document Display Style is set to Smooth Shaded) This next step will have the biggest effect on how realistic your displacement map turns out. It is also a matter of trial and error, not to mention personal taste that will control the final product. In Figure4 you will notice that I have several lights set up. These lights are infinite lights and are only for lighting the figures and posing them. For this last step you will probably acheive the best results using 1 or 2 spotlights. But again that is only a suggestion since the idea here is to create a light and shadow effect on the part of the V3 figure that is showing through the square plane. For this reason you will want to position the lights so that they create a contrast of light and shadow that best mimics the shape you want to achieve for the displacemant. Figures 5 & 6 show the lighting placement I've used for this example. You will note that the lights are dimmed and do not shine directly on the bottom of the foot of the V3 figure. You are now ready to make a render. Switch back to the Main Camera view, set your render settings at a fairly high quality render since the better the render the more detailed your displacement map will be. Don't be afraid to use the highest setting since you have very low demand on your memory with this set up. In addition, select the Render Dimensions. In this box check "Render to exact resolution", uncheck constrain aspect ratio, set image resolution to 1000x1000 and select the highest resolution you can, in this case I have mine set to 1200.(Although admittedly this is overkill, I'm not worried about file size at this point) While this isn't crucial the idea is to get a very high quality render. Once you have these settings Render from the Main Camera view. When done export the rsulting image to whatever file you save your renders to. This render is the image we will use to create the gradient displacement map. My render straight from Poser 6 is displayed in Figure7 (This is not what I would consider optimal, but for the purposes of this simple tutorial it will do for now) For these final steps you will need to open your paint program (These instructions use Photoshop 7) Open the render you just made and select Image - Adjustments - Brightness/Contrast. Again, the settings you use here will all depend on personal taste so feel free to experiment with different settings, however, I have used a Brightness setting of plus five and a Contrast setting of minus sixty two. My render now looks like Figure8 Next, select Image - Adjustments - Invert. Your render should now look similar to Figure9. As a final adjustment I selected Image - Rotate Canvas - 180 (degrees) in order to apply it to a scene I created in Poser. (This can also be adjusted in the Material Room if you wish) You now have a gradient displacement map! To apply the map follow these directions. (I will assume that you are applying it to the ground plane in Poser. Open the Materials Room and select the Advanced tab, under the Objects drop down list select Props and then Ground. If you wish you can plug in a texture or just use the default. The 18th node from the top is the Displacement node. Right click the little plug icon to the right, select New Node - 2D Texture - Image Map. This will create an image map node. The first node is the Image_Source node, at this point it should say "None" to the right. Left Click on this word and it will open a standard Browser. Browse to the location where you saved your gradient displacement map and select this file. (Make sure the node is plugged in. It may also be a good idea to uncheck the Shadow_Catch_Only box) The amount of displacement you choose will depend on the strength of the map you made. The more contrast between light and dark, the less displacement you will need. This is going to depend on the way your render turns out as well as how much you adjust the render in Photoshop. A good place to start would be a displacement of 1.0 (you can go up or down from there as needed)you may also try negative values for different effects. In general a positive diplacement will result in lighter areas standing out while darker areas appear as depressed. Reverse that if you use a negative displacement value. At this point there are a few kinks that need to be worked out such as a realistic image resolution (after all, 1200 pixels/inch is a bit of overkill resulting in file sizes that are a bit too large) Image size and pixels/inch can be adjusted in Photoshop by selecting Image - Image Size and adjusting the Width, Height and Resolution to acheive more realistic file sizes. (Personally, I like an image map of 2000x2000 and a resolution of about 300 pixels/inch, this results in a file size of about 70KB) Also this will only give you one "footprint"; if you want a series of footprints you will need to clone or copy and paste the displacement map. Finally, scale will also be an issue. This can only be addressed in a limited way within the Material Room by adjusting the U scale and V scale as well as the U Offset and V Offset for the Displacement node. Let me know if you have any success with this method or any improvements/ideas to add.