Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 13-04-2007, 06:44 PM   #1
meredith
Subscriber
 
Join Date: May 2005
Location: new zealand
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default lens shader (latlong) :(

Hello all
I have a problem that is really frustrating me!
I have textured my two planes that i want a render of. I have made a scene for them and am trying to use the lat long lens found at this website
http://www.vi-motion.de/latlong_Tutorial/
to render off a hdr image to get some more realistic reflections - using my mac. The problem is once i have installed the latlong lens shader and attached it to the camera, when i go to batch render with mental ray - it will not render. So i opened script editor to see what's happening. It showed

Image name is now latlong
// Result: saving temporary file /Users/markellis/Documents/maya/projects/odd bits/scenes/latlong__469.mb //
// Result: Rendering with mental ray... //
// Result: Rendering Completed. See Console for more information. //

Any ideas, anyone. Man I have been looking everywhere to what's the problem, even though i am a mental ray beginner, but can not find anything on how to fix it.
Any help would be much! appreciated.
Thanks a heap.

Last edited by meredith : 13-04-2007 at 06:47 PM.
meredith is offline   Reply With Quote
Old 02-05-2007, 05:52 AM   #2
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Check to see if you have Final Gather turned on. HDRI lighting depends on it. Also make shure you have a HDRI image loaded in your IBL ( Image Based Lighting ) attributes for your IBL to work.
THX1138 is offline   Reply With Quote
Old 04-05-2007, 07:09 AM   #3
meredith
Subscriber
 
Join Date: May 2005
Location: new zealand
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply, nope i have both of those and its not doing anything. Here some more details if it would help. I have added the latlong_lens.mi to the '/Mayax.x/mentalray/include directory' and the latlong_lens.dll to the '/Mayax.x/mentalray/lib directory'
Then i have copied the render_latlong_lens.xpm and latlong_lens.fti to the '/Mayax.x/icons directory'
Have then added these lines to my maya.rayrc file.

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

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

Then loaded the latlong_lens.mi in maya under the mental ray shader manager.
meredith is offline   Reply With Quote
Old 04-05-2007, 07:11 AM   #4
meredith
Subscriber
 
Join Date: May 2005
Location: new zealand
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply, nope i have both of those and its not doing anything. Here some more details if it would help. I have added the latlong_lens.mi to the
'/Mayax.x/mentalray/include directory'
The latlong_lens.dll to the
'/Mayax.x/mentalray/lib directory'
Then i have copied the render_latlong_lens.xpm and latlong_lens.fti to the
'/Mayax.x/icons directory'
Have then added these lines to my maya.rayrc file.

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

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

Then loaded the latlong_lens.mi in maya under the mental ray shader manager. Finally linked the latlong_lens to the camera i'm rendering.

Thank you heaps for reading my post, hopefully you can work out what's happening.
Would you have any good tutorials for mental ray beginners by the way.
Cheers

Last edited by meredith : 04-05-2007 at 07:15 AM.
meredith is offline   Reply With Quote
Old 05-05-2007, 05:18 AM   #5
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
Thanks: 0
Thanked 69 Times in 68 Posts
Default

It's still not installed correctly in my opinion. You should have had some stuff to put in a maya folder thats located in your C/:windows Documents and settings folder. The same thing happpened to me years ago when I tried to install a mental ray shader. I was told to put some stuff in that maya folder. Did the lense shader come with install instructions?
THX1138 is offline   Reply With Quote
Old 14-05-2007, 09:17 AM   #6
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

what about not batch rendering but doing a single render - same problem?
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 15-05-2007, 02:22 AM   #7
meredith
Subscriber
 
Join Date: May 2005
Location: new zealand
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the posts, yeah i know its not installed correctly since when i try to use mental ray it wont work.
Nope wont work rendering it in maya, only batch render.
Yep the following is the installation instructions, there also is a source folder included in the lat long folder called source. In it are three folders all coded. But it doesn't say anything about what there for.

latlong_lens for Mental Ray v1.0 by Ralf Habel
ralf.habel@vi-motion.de

"Installation:

Copy latlong_lens.mi to the /Mayax.x/mentalray/include directory.

Copy latlong_lens.dll to the /Mayax.x/mentalray/lib directory.
(Or latlong_lens.so for Linux.)

Copy render_latlong_lens.xpm and latlong_lens.fti to the /Mayax.x/icons directory.



Add to your maya.rayrc file the lines

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

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

after similar declarations.

The shader will show up in the Mental Ray Lenses tab.


For standalone use:

The lens shader has one parameter which mirrors the output
on a centered vertical line:

lens "latlong_lens" ("m_vmirror" [0,1])

Be sure to turn off scanline rendering.



A tutorial on how to use the shader can be found at:

http://www.vi-motion.de/latlong_Tutorial/
"
Cheers, Mark
meredith is offline   Reply With Quote
Old 24-05-2007, 02:56 PM   #8
hakers
Registered User
 
hakers's Avatar
 
Join Date: May 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx a lot so much better
__________________
hello
hakers is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.