Lglass installing problem with maya 2010


#1

hi,

I’m facing a problem of installing Lglass in Maya 2010.
I received this massage
" // Warning: (Mayatomr.Scene) : pSphere1: can’t resolve light links, ignored // "

Is there anyone know why? I wander is it my maya.rayrc have been edited wrong?

my maya.rayrc
#*****************************************************************************

Evaluated at startup time of the plug-in to fill the mental ray registry.

#*****************************************************************************/

mental ray registry entries set here will be applied

in mental ray for Maya upon plug-in load. They may be used to

adjust mental ray library search path to look for

shader binaries in my local directory first

registry “{_MI_REG_LIBRARY}” value “C:/myshader/Release;{MAYABASE}/lib” end registry

define some useful registry variables

registry “{MAYABASE}” value “<INSTALLDIR>/mentalray” end registry

registry “{SYSTEM}” value “windows” end registry

registry “{DSO}” value “dll” end registry

mental ray registry commands within the _MI_MAYA_STARTUP key

will be executed upon first rendering in mental ray only.

registry “{_MI_MAYA_STARTUP}”

value “mental ray startup upon rendering” # required, don’t remove

These commands are invisible to Maya, they may be used to

load auxiliary libraries into mental ray, like image plug-ins.

link “myimageformat.so”

force some standard shaders into mental ray hidden to Maya

(not using explicit directory path here when using network rendering)

link “myshader.{DSO}”

force the declaration of my shaders into mental ray, in case

it was not loaded with mental ray for Maya Node Factory

mi “C:/myshader/include/myshader.mi”

link “{MAYABASE}/lib/l_glass.{DSO}”

mi “{MAYABASE}/include/l_glass.mi”

echo “mental ray for Maya - custom startup done”

end registry


#2

LGlass is so, so old!

It was great at the time because we had no other options for good glass (just about) but these days the Mia shader should do everything you need for realistic glass. I think the only extra thing LGlass has is fake dispersion.

I actually can’t find a download link for it. :scream:


#3

yup. no doubt Lglass is old, but the fake dispersion did save pretty much on render times.
dielectric_material can achieved glass too, but I can’t blur the reflection unless I blur the environment image, which will affect other object’s glossiness.

Mia shader is pretty good to create metal stuff, and it did able to achieved Lglass result but in a more expensive render time of manner. I often found there is some un-smooth and annoying noise if there is transparency with glossiness, even though I increased the sample to 64. I’m guessing might because of the light’s shadow sample, but it will be expensive render time if I increase the shadow to high samples as well.

I wanna install Lglass, just in-case i need it. Not necessary, but no harm to have extra option.


#4

Hi, I managed to find the shader on CreativeCrash (duh, silly me) but it insta-crashes Maya 2012 here when I render.

At the bottom of the shader’s properties in the Attribute Editor you should be able to type in the name of your lights one by one in the ‘lights’ section, to resolve the light linking manually. Perhaps changing the lighting mode to 1 (which I think means ‘inclusive’, ie use the lights I say so here).


#5

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.