Welcome to the Blender3D Forum

Coordinators: Lobo3433


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

Author
Message

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Tue, Sep 25, 2012 9:42 pm

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...

Quote  Report Print Save

LaurieA  

Homepage »

Stats

Back to Top

Posted Tue, Sep 25, 2012 11:04 pm, Edited Tue, Sep 25, 2012 11:05 pm

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

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Tue, Sep 25, 2012 11:05 pm

Hope you don't think I'm following you around... - 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.

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 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 8:52 am, Edited Wed, Sep 26, 2012 8:54 am

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.

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 9:04 am, Edited Wed, Sep 26, 2012 9:05 am

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

Quote  Report Print Save

LaurieA  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 12:43 pm, Edited Wed, Sep 26, 2012 12:44 pm

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

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 4:17 pm

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)


Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 9:57 pm

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.


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

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 10:14 pm, Edited Wed, Sep 26, 2012 10:14 pm

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!

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 10:22 pm

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  ;-)

Quote  Report Print Save

LaurieA  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 10:26 pm

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


Laurie

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 10:45 pm

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. 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 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Wed, Sep 26, 2012 11:01 pm, Edited Wed, Sep 26, 2012 11:03 pm

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!

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 4:38 am

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 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 7:58 am

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?

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 8:49 am

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


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

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 8:53 am, Edited Thu, Sep 27, 2012 8:54 am

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

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 8:55 am

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


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

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

heddheld  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 1:08 pm

@ 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 ;-)

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 5:04 pm, Edited Thu, Sep 27, 2012 5:07 pm

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.

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

heddheld  

Homepage »

Stats

Back to Top

Posted Thu, Sep 27, 2012 6:10 pm

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)


 


 

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Fri, Oct 19, 2012 4:17 pm

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!  

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...)

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Fri, Oct 19, 2012 4:59 pm, Edited Fri, Oct 19, 2012 5:00 pm

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!!

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

LaurieA  

Homepage »

Stats

Back to Top

Posted Fri, Oct 19, 2012 5:38 pm

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


Laurie

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Mon, Oct 22, 2012 11:04 am, Edited Mon, Oct 22, 2012 11:06 am

I have modified the script to include automatic camera setup and render size ala mjcTeleblender!!!    (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)

Quote  Report Print Save

PickledPapaya  

Homepage »

Stats

Back to Top

Posted Tue, Oct 23, 2012 6:51 pm

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!

Quote  Report Print Save

LaurieA  

Homepage »

Stats

Back to Top

Posted Tue, Oct 23, 2012 9:45 pm

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


Laurie

Quote  Report Print Save

RobynsVeil  

Homepage »

Stats

Back to Top

Posted Thu, Oct 25, 2012 7:04 am

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...

____________________

Mint 17/Win7 - Blender 2.71 - PoserPro 2014 (inches)/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] 

Quote  Report Print Save

posefloor  

Homepage »

Stats

Back to Top

Posted Mon, Feb 25, 2013 6:56 pm

 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? }


 


 


 


 


 

Quote  Report Print Save

rapidator  

Homepage »

Stats

Back to Top

Posted Wed, Feb 19, 2014 11:18 am

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

Quote  Report Print Save

Unread Post(s) Unread Announcement You are a visitor.

You cannot post new threads.
You cannot reply to threads.
You cannot edit your posts.
You cannot delete your posts.
Read Post(s) Read Announcement
Unread Post(s) (Locked) Unread Sticky
Read Post(s) (Locked) Read Sticky
 
Powered by Bondware
Newspaper Software | Email Marketing Tools | E-Commerce Marketplace