How to use mcjTeleblender’s kit of blender-python scripts to render a Poser scene
In blender you can import an obj file, for example a Poser7 scene which was exported as an obj/mtl file
but before rendering that scene using the wonderful Cycles engine you must create special materials
which can be very tedious
that’s one of the main purpose of the whole mcjTeleblender kit
You still need to install the mcjBlendBot part of the kit from mcjTeleblender’s web page.
Lets say i exported the default poser7 scene in my c:\test\ folder under the name poser7scene.obj
unfortunately poser was not nice enough to save the needed texture images
so i manually copy them from poser’s textures folders and paste them in the c:\test\ folder
i open notepad and type the following
import mcjBlendBot
mcjBlendBot.setGloss( 0.05, 0.15 )
mcjBlendBot.setImageSize( 1280, 720 )
mcjBlendBot.setCyclesSettings( "EXPERIMENTAL", "GPU", "CUDA", 1000 )
mcjBlendBot.setSmooth( True )
mcjBlendBot.setEdgeSplit( True )
mcjBlendBot.loadfix( "c:/test/poser7test.obj", "CYCLESMATS", "", True )
i save this as poser7test.py in the c:\test\ folder
using Windows’s Start/Run or by running a batch file i do
"C:/Program Files/Blender Foundation/Blender/blender.exe" -P "C:/test/poser7test.py"
if all goes well, Blender will start, and just as ordered, it will run our poser7test.py
script which, in turn, will load the scene poser7test.obj, and create for us all the gazillions of special materials
We just have to add some lights, position the camera and render
Poser can use the alpha layer of a given image for transparent materials like the corneas, eyelashes, hair etc
but Daz and my scripts expect standalone transparency maps, so you will have to fix transparent materials.
if your PC is not equipped with an NVidia CUDA card (and recent drivers) but instead uses an ATI/AMD card with OpenCL
then replace the line that reads
mcjBlendBot.setCyclesSettings( “EXPERIMENTAL”, “GPU”, “CUDA”, 1000 )
by
mcjBlendBot.setCyclesSettings( “EXPERIMENTAL”, “GPU”, “OPENCL”, 1000 )
if your video card supports neither, replace it with
mcjBlendBot.setCyclesSettings( “EXPERIMENTAL”, “CPU”, “OPENCL”, 1000 )
Click thumbnail to see full-size image