Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 13-04-2007 , 05:44 PM
Banned
Join Date: May 2005
Location: new zealand
Posts: 193

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
https://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 05:47 PM.
# 2 02-05-2007 , 04:52 AM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
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.

# 3 04-05-2007 , 06:09 AM
Banned
Join Date: May 2005
Location: new zealand
Posts: 193
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.

# 4 04-05-2007 , 06:11 AM
Banned
Join Date: May 2005
Location: new zealand
Posts: 193
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 06:15 AM.
# 5 05-05-2007 , 04:18 AM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
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?

# 6 14-05-2007 , 08:17 AM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095
what about not batch rendering but doing a single render - same problem?


everything starts and ends in the right place at the right time.
# 7 15-05-2007 , 01:22 AM
Banned
Join Date: May 2005
Location: new zealand
Posts: 193
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:

https://www.vi-motion.de/latlong_Tutorial/
"
Cheers, Mark

# 8 24-05-2007 , 01:56 PM
hakers's Avatar
Registered User
Join Date: May 2007
Posts: 17
thx a lot so much better


hello
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads