PDA

View Full Version : - Does SubScatter for MR Work?


CIM
10-23-2003, 05:16 AM
http://www.lightengine3d.com/index2.html

Ok, I've been trying to get SubScatter for MR to work, however, I simply get blackness on whatever I apply it to. I've e-mailed the creator and he said it works for him.

So, has anyone actually been able to get it to work? If so, what did you do? If you didn't, e-mail the creator, and tell him it's not working so he knows and can fix it.

squeige
10-23-2003, 06:31 AM
I beleieve u need to get the plguin to make it work.... not only the shader

CIM
10-23-2003, 06:50 AM
Originally posted by squeige
I beleieve u need to get the plguin to make it work.... not only the shader

Nope. The MR shader is seperate. I've tried the plugin version, and that actually does work. I'm trying to get the MR version to work.

squeige
10-23-2003, 06:52 AM
Well I had got it to work, but it was telling me it wasn`t authorized

CIM
10-23-2003, 07:20 AM
There's a version for MR: http://www.lightengine3d.com/downloads/plugins/subScatter/md_subScatter_shaderPack.zip

augustus
10-23-2003, 07:55 AM
I couldn't get it work either. Allways gives me this error :

--
API 0.0 error 301031: call to undeclared function "mr_subScatter"
API 0.0 error 301036: while defining material "blinn1SG": undefined shader "mr_subScatter1"
--
:shrug:

Pixero
10-23-2003, 08:11 AM
I get Subsurface scatter to work.
You have to connect it to a shading groups Mental Ray material shader.
On the sub scatter node link the light in the scatterlights box and under extra attributes turn it to mode 2 and voila! Subsurface scattering.

Pixero
10-23-2003, 08:17 AM
Augustus have you edited the maya.rayrc file and added the lines in their proper place:

link "{MAYABASE}/lib/md_subScatter.{DSO}"

mi "{MAYABASE}/include/md_subScatter.mi"

Otherwise it wont load correctly.

The maya.rayrc file is located in: C:\Program\AliasWavefront\Maya5.0\mentalray

Just open it in a texteditor.

augustus
10-23-2003, 08:26 AM
Originally posted by Pixero
Augustus have you edited the maya.rayrc file and added the lines in their proper place:

link "{MAYABASE}/lib/md_subScatter.{DSO}"

mi "{MAYABASE}/include/md_subScatter.mi"

Otherwise it wont load correctly.

The maya.rayrc file is located in: C:\Program\AliasWavefront\Maya5.0\mentalray

Just open it in a texteditor.

Ah, sorry. 5.01 update overwrote the maya.rayrc file:D

Pixero, great thanks. This make it work.

Ozren
10-23-2003, 10:32 AM
Anyone actualy knows when is the final version comming out?

thx

Pixero
10-23-2003, 10:44 AM
I dont know if there are the same limitations in the Sub surface scatter MR shader as in the Maya beta plugin.
I can use more than one light and render at greater resolution with the MR shader.

Ozren
10-23-2003, 10:54 AM
Oh thx :) I didnt know that, so i didnt even want to try it.

Anyone done some good SSS? any pics?

Ozren
10-23-2003, 01:11 PM
I get no valid license found. How do i get a license?

Thx alot

Digidim
10-23-2003, 06:04 PM
Originally posted by Pixero
I get Subsurface scatter to work.
You have to connect it to a shading groups Mental Ray material shader.
On the sub scatter node link the light in the scatterlights box and under extra attributes turn it to mode 2 and voila! Subsurface scattering.

...could you please explain more exactly how you get it to work...

Pixero
10-23-2003, 06:55 PM
OK! Since a picture says more than a thousand words here is the explanation.

http://w1.702.comhem.se/~u70208061/bilder/pics/sss01.jpg

http://w1.702.comhem.se/~u70208061/bilder/pics/sss02.jpg

Connect the MR subsurface scatter shader to the Shadinggroups MR material shader.

http://w1.702.comhem.se/~u70208061/bilder/pics/sss03.jpg

Link lights in the Scatterlights window in the MR subsurface scatter shader. Just click refresh.

Under extra attributes turn it to mode 2.

Thats it.

Digidim
10-23-2003, 07:15 PM
lol...thatīs exactly what iīve done...but itīs still not working ? Strange...:surprised

Digidim
10-23-2003, 07:24 PM
...just noticed some Differences in the Subscatter Attributes between yours and mine...take a look at the Attached file...

Pixero
10-23-2003, 07:38 PM
Hmm. Maybe one of us has an older version. When did you download yours? Mine is at least a couple of months old.
Is yours the Mental ray shader or the Maya render shader?

Digidim
10-23-2003, 07:40 PM
...i downloaded mine (MR-Shader) today...maybe you could send me yours ?

danmacha@teleline.es

Pixero
10-23-2003, 08:03 PM
I just downloaded the MR shader from lighengines site and in the md_subScatter.mi file mine seems to be newer? Really strange.

The file downloaded today:

# History:
# 04.15.03 markd: created
# 04.22.03 markd: added standard lambert/blinn controls
# 06.05.03 markd: added parameter defaults


The file on my computer:

# History:
# 04.15.03 markd: created
# 04.22.03 markd: added standard lambert/blinn controls
# 06.05.03 markd: added parameter defaults
# 07.25.03 markd: parameter changes

Digidim
10-23-2003, 08:31 PM
ok...i installed your version and it is working now...:buttrock:

Ozren
10-24-2003, 08:27 AM
Digidim, Pixero can someone send me that older version pls?

Thx alot

administrator@hrquartermile.com

shine77
10-24-2003, 08:38 AM
Can someone send it to me to at sd@travelnet.is (sd@travelneet.is)
Iīve been trying for so long to get it to work.
Thanx

Ozren
10-24-2003, 09:57 AM
Thank you Pixero, just got it and it works, but only in mode 0 and 1. If i put mode 2, i get nothing :shrug:

galactor
10-24-2003, 10:01 AM
Strange indeed. I've tried to adjust the new "extra attributes" but i still don't get the recently downloaded version to work. Could someone sent me the older version , or put it online somewhere.

galactor88@hotmail.com

THX :: Galactor ::

Pixero
10-24-2003, 10:26 AM
If I remember right the different modes (0, 1, 2) under the extra attributes have something to do with using included, excluded or all light.
But I could be wrong.....

shine77
10-24-2003, 10:45 AM
Does someone have any renderings he would like to share.
Showing the shader in action.

Ozren
10-24-2003, 10:54 AM
hmm i havent figured it out completly, but i think modes 0 and 1 are the same, and SSS then uses selected lights, in mode 2 it uses non selected, or it could be vise versa..... I am not 100% shure, but testing...

Osaires
10-24-2003, 09:07 PM
I read on there page ther is limitations:

: Scattering calculated for 1 light source only
: Rendering restricted to 320 x 240 pixels

but this is the demo version, where is the full version?

also heard MR have a sss option, not sure if that's true.

btw. anyone know a good tutorial?

Ozren
10-24-2003, 09:33 PM
The version for Maya renderer is beta.

The version for Mental Ray is full. Just get the shader pack, tho the one on his site is not working properly. I mailed him today, maybe he replaces it with working one.

Anyway read the whole topic ...

squeige
10-26-2003, 04:47 AM
can some1 send me the working version??
squeige@msn.com

Osaires
10-26-2003, 11:11 AM
Can't get the mr version to work, can somone pleas send me to the working version for mr :)

Osaires@hotmail.com

proxim0
10-27-2003, 09:12 PM
Umm yah same problem as everone else, if you could send the old to that would be cool

Mike@digitalday.net (Mike@digitalday.net?subject=SubScatter Shader)

CIM
10-28-2003, 03:16 AM
A version that works seems to be posted now. :)

proxim0
10-28-2003, 05:49 AM
Hey thanks :thumbsup: I just downloaded the shader yesterday and it didnt work but the new ones does ! thanks for the heads up !

Elvis75k
10-28-2003, 08:41 AM
i've tried the shader pack and follow all the instrucrtion about the rayrc.. when i render the scene i can see only the alpha channel? Where you get this working version?? Help me please!

thanks in advance.. I've already tested the dirtmap that work fine for me! :rolleyes:

Ozren
10-28-2003, 09:03 AM
CIM, yes i got some preety resoults..dont have time now...later ill post something. Just one thing i didnt figure out is sampling....

augustus
10-28-2003, 10:22 AM
I've done a few quick tests with this shader. It has done its job well on dark areas, but there was a strange noise pattern on bright areas. Increasing sample count (and/or sample radius) doesn't solve this problem. Also, i couldn't get any specularity, but it's not important. I will not talk about speed issues.

But of course, i still want to say thanks to the people who wrote this for their efforts. :applause:

Elvis75k
10-28-2003, 02:22 PM
No problems here!

:p :p :p

kfc
10-29-2003, 06:32 AM
There's a line about renderman shaders included in the pack. but i couldn't find it in the zip file. is that included in the older zip?
just wonder... because i would like to test that out.

It's not shown in the website too right?
is anyone here got more info on this?

Elvis75k
10-29-2003, 08:15 AM
..dear luky user that make the sss to work... can you made a scene with a fetus --- lights, surfaces --- a-la-matrix.. and upload for us?? I think you can make low poly mesh just to describe a bit... for ex.: an egg instead a sphere.. CAN YOU??
Thanks from all of us!

Recursive
10-29-2003, 04:34 PM
OK, I have gotten the shader to work if you connect it to the color of a surface shader.

But I havent been able to get the sss effect to work when using it with a shader(lambert, phong) together with a color texture.

Has anyone found a way to do this?

If I plug it into the ambient channel, nothing happens, if I plug it into the incadesence then no color, only the sss effect shows up.

if i try to blend the sss with a texture in a layer texture/shader then eather only sss or color shows up.

(this with the mentalray shader)

CIM
10-31-2003, 06:13 AM
Just connect your color texture to Absorption.

proxim0
10-31-2003, 06:50 PM
I dont know if connecting your texture to your absorbtion works how it should, I had to invert my texture to have the absorbtion display somewhat correctly but it was still washed out, is that hows it suppost to connect ?

Vinc
11-03-2003, 01:17 PM
Hi all
I did some try with the mental ray shader pack and after many test, i have great result but there is strange artifact in the same way than if i have a low resoltion shadow map (it's a little bit more starnge since i render in ray tracing...) and, the worst is that i cannot use a second light. If i select 2 light, on the next render, the output window show me error for every ray of this second light, even if I reselct only 1 light....:surprised
So, are you sure that the shader pack for MR are not in demo mode like the ones for Maya standard????
Or may be I have a not working version, but it's the very last i find on the lightengine3d site :shrug:
Please, help me, i really need of the great shader for MR
Vinc

Vinc
11-04-2003, 11:04 AM
Please answer my Previous question, I really need to know...
Is the MR shader pack of the Mark Davies subscatters in demo mode or not???
Thanks
Vinc

Ozren
11-04-2003, 11:13 AM
MR shader is not demo. Maya shaders are in beta.

Recursive
11-04-2003, 01:50 PM
it might not be a demo, but I cant get it to work with more then one light at a time eather.

its possible to get around this in post, but that would be a real pain in the...

Vinc
11-04-2003, 03:46 PM
If it's not in demo.... is anybody able to use 2 light for the scattering???( without having milloin of error message in the output windows) :shrug:
And if so.... what are the version used? the old one (that i don't have...) or the version updated the 10/21/03 ( wich i used and that give me the errors messages)?
It's an fabulous shader, I'm so disapointed to not be able to work with it in a full process.
Thanks Ozren and green86 fot your answer :)
Vinc

CIM
11-04-2003, 08:56 PM
The MR shader is still beta, so clearly it's probably not going to work 100%.

coocoo
11-07-2003, 10:01 PM
I feel pretty dumb after reading everybody's replies but I can't still get this shader to work (still renders black). I tried the mode seting to both 1 and 2.
I get this error:
PHEN 0.2 error 051011: shader "mr_subScatter" not found

Could anyone help??? BTW, I downloaded today (11/07/03)

If the old version works, could someone e-mail me?
happyhanzo@hotmail.com


Thank you

Pixero
11-08-2003, 11:17 AM
Are you sure youve installed into the right directories?
the dll file into: C:\......\AliasWavefront\Maya5.0\mentalray\lib
and the mi file into: C:\.......\AliasWavefront\Maya5.0\mentalray\include
and dont forget to edit the maya.rayrc file.
Hope this helps.

coocoo
11-08-2003, 07:32 PM
Thank you for your advice.
I've placed the .mi, .so, .mel, and .xpm in the right place and modified the maya.rayrc as instructed.
I am using Linux and that might be the reason...

Has anybody had any luck with this shader on Linux??

Danwhitton
11-12-2003, 11:02 AM
I downloaded the shader pack for mr. I have no idea how to install it, maybe its simple, but there is no read me for idiots like me. I saw the reply on the bottom, saying to edit the rayrc. file. where do I find it. OH ya also do I need to get 5.0.1 I haven't downloaded it yet. A little heavy for my wimpy DIAL UP!

thanks

Dan

Pixero
11-12-2003, 12:00 PM
You dont need Maya 5.01.

To be able to see the mental ray custom shaders you need to add:
MAYA_MRFM_SHOW_CUSTOM_SHADERS = 1
to the Maya.env file in your maya user directory. If you dont have this file just create one with a texteditor.

Install to the proper directories (.dll to ...Maya5.0/mentalray/lib
.mi to ...Maya5.0/mentalray/include. Script to your mayauser script folder and icon to your maya user prefs/icons folder.)
Edit the maya.rayrc file. The maya.rayrc file is in C:\Program\AliasWavefront\Maya5.0\mentalray

Open it with a text editor and add

link "{MAYABASE}/lib/md_subScatter.{DSO}"

mi "{MAYABASE}/include/md_subScatter.mi"


Restart maya and look in the scripteditor for this:
// parsing C:/Program/AliasWavefront/Maya5.0/mentalray/include/md_subScatter.mi
// mr_subScatter

Everything should be fine.

Using Mental ray custom shaders in maya is a bit of a struggle since there are no official helpfiles. Try searching cgtalk for other posts on the subject.

Good luck!

ronige
01-07-2005, 12:07 PM
I did this but don't work. I,m with MAya6.0 and I download the right pack and I link the right names of the files but it keep aborting MR.What I do wrong!?!

link "{MAYABASE}/lib/subsurface.{DSO}"

mi "{MAYABASE}/include/subsurface.mi"

The maya.rayrc file is located in: C:\Program\AliasWavefront\Maya6.0\mentalray

Maya say to me
// Error: (Mayatomr.Export) : mental ray startup failed with errors //
// Info (Mayatomr): Aborted //
// Error: (Mayatomr.Export) : mental ray startup failed with errors //
// Info (Mayatomr): Aborted //

CGTalk Moderation
01-16-2006, 11:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.