Welcome to the Blender3D Forum

Forum Coordinators:  Lobo3433

Blender3D F.A.Q (Updated: 2015 May 01 10:31 am)

download.php?fileid=49775&key=9227

Welcome to the Blender3D Forum!
Your place to learn about Blender, ask questions,
exchange ideas, and interact with the other Blender users!

Gallery | Freestuff | Tutorials

 
Visit the Renderosity MarketPlace. Your source for digital art content!
 




 Subject: Blender Cycles Materials from Poser/DS

PickledPapaya opened this issue on Sep 25, 2012 · 31 posts

Top of Forum Unsubscribe Print

  PickledPapaya ()  ( posted at 9:42PM Tue, 25 September 2012 


I am using the mcjTeleblender script to export/import into Blender for using the Cycles Render Engine.  I had some questions about materials, but not sure how many folks here are familiar with them.

Basically I had imported V4 with the Elite Natasha texture, and got some black eyes.  Based on some suggestions I read I changed the Cornea and the Tear to a Transparent BDSF.  Still not quite correct.

I was wondering if someone had some tips on eye settings, and eyelash settings.  I figure since it is all now oer in Blender, and I am working materials there, this is a good place to ask!  :)

The pic is what the eyes look right now...


  LaurieA ()  ( posted at 11:04PM Tue, 25 September 2012 · edited on 11:05PM Tue, 25 September 2012

Is there an architectural glass texture? Yanno, no refraction but reflection? I'd try that. Maybe make it slightly rougher than glass, but not too much. If you can edit the ior, make it around the IOR of water (1.333)

Laurie

My ShareCG Freebies for Poser and DS


  RobynsVeil ()  ( posted at 11:05PM Tue, 25 September 2012 

Hope you don't think I'm following you around... :biggrin: - I'm so NOT! But you're moving in much the same way I am in so many ways I guess we keep bumping into each other. :smile:

First off, the pupil I just set to DiffuseBDSF(Black).

Cornea:
aa

Iris:
aa

Lashes:
aa

...and while the result is nothing to write home about (still getting my head around lighting) it sort-of works:
aa

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  PickledPapaya ()  ( posted at 8:52AM Wed, 26 September 2012 · edited on 8:54AM Wed, 26 September 2012


No problem, I appreciate the help, and its more fun exploring with someone, and thanks for the tips, those helped a lot!

The lashes I had needed a little different (those above gave me white lashes)  I posted what I used.  The texture is just a Transparency texture, so I think did it right?

I also have the eyesurface turned transparent only, but I may revisit that, since I got no reflection (dead eyes).  I also think I need to tweak the tear.

Probably best to just get some good eye material setup and save those materials off, and replace the imported ones in the future.  I am going to look into doing that.

I gotta run out for a few, but I will kick-off a render, and post when I come back what it looks like at the present.


  PickledPapaya ()  ( posted at 9:04AM Wed, 26 September 2012 · edited on 9:05AM Wed, 26 September 2012


It finished quick, I am not fully baking any of these while tweaking.

EDIT: hmm...I think I need to adjust my camera settings, now that I posted and look at it


  LaurieA ()  ( posted at 12:43PM Wed, 26 September 2012 · edited on 12:44PM Wed, 26 September 2012

Quote -

No problem, I appreciate the help, and its more fun exploring with someone, and thanks for the tips, those helped a lot!

The lashes I had needed a little different (those above gave me white lashes)  I posted what I used.  The texture is just a Transparency texture, so I think did it right?

I also have the eyesurface turned transparent only, but I may revisit that, since I got no reflection (dead eyes).  I also think I need to tweak the tear.

Probably best to just get some good eye material setup and save those materials off, and replace the imported ones in the future.  I am going to look into doing that.

I gotta run out for a few, but I will kick-off a render, and post when I come back what it looks like at the present.

I'm thinking you may need to plug something there into the reflection input, but that's just a guess. Got a reflection map? And if there's a way to make it not 100% I'd use that too. What I know of Blender nodes however, wouldn't fill the bottom of thimble ;). I come from Poser and Luxrender so I am much more familiar with Lux materials, but I would think the same principles apply, since they're both unbiased renderers and work in a similar fashion.

Laurie

My ShareCG Freebies for Poser and DS


  PickledPapaya ()  ( posted at 4:17PM Wed, 26 September 2012 

There is a glossy node and @Casual had a node setup in his mjcTeleBlender thread at Daz.  I added it, turned it down a little, and dropped a HDRI Environment Texture to give something to reflect and eyes look better!  (click for bigger)


  RobynsVeil ()  ( posted at 9:57PM Wed, 26 September 2012 

Stunning work - I'm envious, Pickled! Sheesh, you've really moved quickly... I'd love to get a tenth done you have.

Struggling with hair *and* masks *and* lighting... trying to get a higher gloss setting for the lips, but NOT in the lips material. The reason: you get this hard (unrealistic) edge where the material ends. So, I've loaded up Antonia and selected skin_HEAD and lips by material. Dang, they're mutually exclusive! So, to do a fade on the glossy using a mask is going to be a bit of a neat trick.

Basically, I'm like Laurie: what I really understand of how a trans-map and how lighting and how MixBDSF shader and quite a few other things work would fit into one of those little indents at the business end of a thimble. :blink:

Your figure's hair, particularly, has me interested. Who's hair, and how did you do the settings?

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  PickledPapaya ()  ( posted at 10:14PM Wed, 26 September 2012 · edited on 10:14PM Wed, 26 September 2012

You totally underestimate yourself!  I don't understand half of what you just said, LOL!  Laurie talks circles around me as well.

Here is what I did to make the above:

1) Loaded v4 in DS (yea, i know, but I am in the render mood, and its less work to export right now), added AerySouls hair (alphaseed, sorry, it does the best job of any hair to have those nice fine strands, but it usually kills render time), loaded my new Natasha Elite skin (which was just on sale a few days ago for 70% off, those Elite skins are worth every penny, I've got the three I wanted now)

2) Added LSTank Top freebie

3) General V4 Pose

4) Set camera

5) Export via mjcTeleBlender

6) In Blender changed background to Sky

...then I had those eye issues above.  Thats it!  That was the 9/26 10am render.  That's why I am so impressed!!!  I never got this level of realism by doing so little.

I suppose you can do the same for the lips I did for the eyes...make it a mix shader, a factor of around 0.05 and gloss on the bottom of the mixer. Texture on top.  I may try it as well. Oops, just re-read your issue...yea thats a problem, you'll need a mask with a fading edge out from lips

I can't let go of Vicky, there is just too much good stuff for her!

I am gonig to start playing now with settings, one by one, and see how it works.

BTW, are you using a GPU/Cuda render?  I am, but its a laptop, and only 96 cores(?) for it, so its not terribly fast...but it lets me keep working while rendering. :)

If you get discouraged, drop V4 in real quick, get yourself a nice render, enjoy it, have a cool drink, pat yourself on the back, then dig in again! :tongue1:


  PickledPapaya ()  ( posted at 10:22PM Wed, 26 September 2012 


Here is the hair settings...this must be auto-generated by the mjcTeleBlender script.  I believe it has a lot of stuff in there that is not needed (like I dont think the mapping nodes are necessary, but maybe so?), but it works.

I have not looked into it at all. 

This is what I meant by starting to look at settings.  I am going to start tweaking these and see how it affects it.

I'm a Tinker/Trial-n-error type of guy  ;-)


  LaurieA ()  ( posted at 10:26PM Wed, 26 September 2012 

Lookst to me like they are just separating the gloss, transparency and diffuse. Looks like it should all be there. ;)

Laurie

My ShareCG Freebies for Poser and DS


  RobynsVeil ()  ( posted at 10:45PM Wed, 26 September 2012 

You've done HEAPS, Pickled, heaps more than I've been able to accomplish! Is that the Desir Hair? That I have.

Guess I'll need to have a go of this app... got me all excited, now. :biggrin: But then, you make it sound so *easy*! Sheesh, I've written shaders in matmatic but Blender Cycles materials got me stumped. I'd converted my masks to pngs so I could use the alpha channel... your approach appears to work well, for jpgs, tho.

Mind you, I'm trying to do a mask for lip gloss that does a natural fade - I *have* the mask! Set up the shader? Another deal altogether.

Also, how do you about re-sizing/scaling a hdr? In the Compositor?

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  PickledPapaya ()  ( posted at 11:01PM Wed, 26 September 2012 · edited on 11:03PM Wed, 26 September 2012


I didn't resize it, I grabbed one (off of flickr, qeuirectangular, around 2048 px), and plugged it into the World, Use Nodes, under Surface, choose color, selected Environment Image, opened the file, left it at equirectangular and color.  I did boost the power a little.

Yes, its Desir Hair

Its late here, midnight, gotta sleep! :wink:


  RobynsVeil ()  ( posted at 4:38AM Thu, 27 September 2012 

Oh, okay. Well, I'm using an actual HDRi (had to load it up in QtPfsQUI to find out what the dimensions were so I could put that in the Render section, Dimensions area under resolution... found out from a tutorial somewhere you have to get those dimensions right or the image would not show up as background: it would be a blur.

Shader for World now looks like:
aa

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  PickledPapaya ()  ( posted at 7:58AM Thu, 27 September 2012 

On a side note, I did upgrade to Blender 2.64 RC2.  Supposedly it has cycles improvements, more nodes, bug fixes etc.

(I am also intrigued by the motion tracking  :)  ...I am obviously easily distracted)

I am going to look into that HDRi stuff you mention.  Do you have a link to the tutorial?


  RobynsVeil ()  ( posted at 8:49AM Thu, 27 September 2012 

This is the one I was referring to, Pickled... sheesh, going to bookmark this! Took me over an hour to find it again :blink:

http://www.youtube.com/watch?v=G5J8X14yFaw

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  PickledPapaya ()  ( posted at 8:53AM Thu, 27 September 2012 · edited on 8:54AM Thu, 27 September 2012

Cool, thanks!  (it's Matt, but "Pickled" is fine, if you prefer :tongue1: )


  RobynsVeil ()  ( posted at 8:55AM Thu, 27 September 2012 

Nah, Matt works for me - I'm Robyn. I know - not particularly imaginative, my 'pen name' :lol:

Almost midnight, and the family's all asleep, as I should be. They sometimes wonder a bit about me. And so they should... :biggrin:

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  heddheld ()  ( posted at 1:08PM Thu, 27 September 2012 

@ RV never heard that before about background images, will have to have a paly lol

@ PP have you tried the new key mapping?? I h8 it lol took me months to learn to r/click and they changed that but even worse they changed trans rotate and scale as soon as I hit a whole new set of shortcuts I went back to normal keymap ;-)


  RobynsVeil ()  ( posted at 5:04PM Thu, 27 September 2012 · edited on 5:07PM Thu, 27 September 2012

There are some things I'm obstinate about, and one is which mouse button selects. It really seemed to be change for change's sake for Blender's default to be right-click. And in node window, left-click to select doesn't work very reliably, so I *have* to right-click to drag nodes around. Whenever I install a new version of Blender, that's one of the first things I change: that, and I remove that animation thingie (Video Sequence Editor) window for which I have yet to find a purpose... perhaps when I do dynamic cloth in Blender, I might go there.

About background images in world: the only way I can even *see* that background image at all is when I have the render camera active [NUMPAD 0]: otherwise it's a blur of colour.  And I have *no* idea how - in those tutorials - those people manage to rotate that camera around the figure. As soon as I try to rotate with middle-mouse button, the camera automatically switches to some other and I can't see the background anymore. :sad:

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  heddheld ()  ( posted at 6:10PM Thu, 27 September 2012 

I got used to r/clicking(shame poser cant lol ) never tried the VSE yet or the BGE, but really want to play with its physics so will get round to that one day. Most of the other stuff I have touched on just to get the basics and find a lot of the time once you know a bit about "A" part "b" makes more sense, guess theres just sooooooo much to learn. Blenders cloth is pretty much the same as posers and you DONT need the VSE to do dynamic cloth just the timeline, hey an if you dont like the sim just rewind tweak the mesh an run again much more fun then poser. Dont think you'd like the way I work in blender ;-) , I have 2 monitors so one does all modeling (perp,top.etc) and the outliner and properties other has graph node uv editors and timeline an a bit of room for anything else I fancy

ok your prob with moving the VIEW with middle mouse takes it out of camera mode(numpad 0) , to move cam in that mode make sure cam is selected then use R T or G, handy for tweaking but if you need a major move on the cam then best to pop out of cam mode an just push the camera around, another trick thats handy is to add an empty then use a damped track on cam(can use track to but damped is better lets you rotate the cam if u need to get horizion level)

 

 


  PickledPapaya ()  ( posted at 4:17PM Fri, 19 October 2012 

Because I am so lazy, and am hating the multi-step process, I have made a script that is a 1-click Poser to Blender Cycles, using the mcjTeleblender framework (available here).  It does not bring in lights or camera, but the materials is the hardest part anyway.

Since I am not a great programmer, I have pillaged some of Smith Micro's Python scripts to get it done.  Since I cannot get an OK to share a modified SM Python script, I am going to leave it to you to do the modification, for personal use:

1) Download the Poser Export Python Script from THIS PAGE

2) Download PoserToCyclesPart1.txt from THIS PAGE, copy all and insert it into #1 above on line #204 (between "fileName, dst = getFile()" and "if fileName:")

3) Download PoserToCyclesPart2.txt from THIS PAGE, copy all and insert it into #1 above, at the end of the file

4) Save the new file as something like:  PoserOBJ_Export_BlenderCycles.py

Thats it.  When you run the new Python script, it will ask you for a file name for the OBJ.  This filename will also be used to create a directory and put the OBJ, MTL, PY, BAT and all of the collected MATS into.  It will then launch Blender and import it all in using mjcTeleBlender.

Cool stuff!  :thumbupboth:

If SM tells me I can put it all together for you, I will, but it's really not that hard.  Feel free to add to it, if you are up to the task of adding camera's, light or changing scale in some way!!!!  (...hint, hint, wink, wink, nudge, nudge...) :tongue1:


  RobynsVeil ()  ( posted at 4:59PM Fri, 19 October 2012 · edited on 5:00PM Fri, 19 October 2012

EPIC! Thank you, Matt. I've followed all your steps right up to importing using mjcTeleBlender only because I'm working on this detailed compositing thing in Blender atm - 2.64 is amazing.

Thanks again - you're a legend!! :thumbupboth:

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  LaurieA ()  ( posted at 5:38PM Fri, 19 October 2012 

Yeah, I may have to give this a run ;). Thanks.

Laurie

My ShareCG Freebies for Poser and DS


  PickledPapaya ()  ( posted at 11:04AM Mon, 22 October 2012 · edited on 11:06AM Mon, 22 October 2012

I have modified the script to include automatic camera setup and render size ala mjcTeleblender!!!  :tongue2:  (I also added an auto-scale to the end of the script, so it sizes the object up in Blender by a factor of 4.8768)

Steps:

1) Download the Poser Export Python Script from THIS PAGE

2) Download PoserToCyclesV3.txt from THIS PAGE, copy all and just paste/replace everything in the above (1) script after line #124 (i.e. delete all after line 124 in #1, and paste this in its place)

Save as a new script and go!  When you run the new Python script, it will ask you for a file name for the OBJ.  This filename will also be used to create a directory and put the OBJ, MTL, PY, BAT and all of the collected MATS into.  It will then launch Blender and import it all in using mjcTeleBlender.

I tested a bunch, but if you find it failing, or not quite right...let me know.  I may have missed something.  I am running Blender 2.64a, I believe.  (NOTE: if you don't want something, hide it, before running the script, such as the Ground)


  PickledPapaya ()  ( posted at 6:51PM Tue, 23 October 2012 

Got the OK to give the whole thing.

Here is the download:  PoserOBJ_Export_BlenderCycles

Was going to make a interface...but got lazy.  It works.  Feel free to enhance, rewrite, etc!

It scales to 4.8768, but if you prefer 2.438 for more accurate Blender metric units, just do a search/replace.

If your Blender location is different, its in there too, to modify.

Now I am off to play, and learn! :tongue1:


  LaurieA ()  ( posted at 9:45PM Tue, 23 October 2012 

Wow, that's awesome. Thanks PP!! :)

Laurie

My ShareCG Freebies for Poser and DS


  RobynsVeil ()  ( posted at 7:04AM Thu, 25 October 2012 

Matt, you're a legend. Something new and incredibly cool to play with this weekend *AFTER* I get all this home network mess cleaned up. This will be my reward... :smile:

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


  posefloor ()  ( posted at 6:56PM Mon, 25 February 2013 

 Hello,  this script looks awesome!  Is anyone still supporting this?

 I cant get it running.  Im new to poser, but I figured out  file> run python script.

    It seems to run but I get an error:

 NameError: global name 'bCamFoc' is not defined : 

 help please!  

{ is there a video tutorial anywhere? }

 

 

 

 

 


  rapidator ()  ( posted at 11:18AM Wed, 19 February 2014 

Hi,

 

this one is nearly a year old. Is it still of interest?

 

I found the error in the script that causes the NameError.

 

Change Line 190 from:

print bCamFoc

to

print blndrCamFL

 

Thats it. You find a hint in line 133

 

Bye


  RobynsVeil ()  ( posted at 9:35PM Wed, 19 February 2014 

Doesn't look like pickled-papaya.com is still online... anyone have a copy of this script?

Mint 17LTS/Win7Pro - Blender 2.74 - PoserPro 2014(in)/Matmatic - GIMP - Lightworks12
Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[we realise that people hold in contempt that which they do not understand] 


 To create a post you must first sign in or register an account.