• About us
  • Contact Us
  • Terms and Conditions
  • Forum
  • Materials
  • Shaders
  • Tools
  • Video
  • Learn
  • Gallery
My Mental Ray
Go Back   MyMentalray Forum > mental ray Standalone > Shader Writing
Reload this Page Lens shader recalculation in IPR
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes

Old 03-25-2008, 12:10 PM   #1
of-air
Hobbyist
 
Join Date: Nov 2006
Posts: 9
Default Lens shader recalculation in IPR

hey,

first let me just say thanks for all for sharing your knowledge,
I learned alot.

ok, to my problem,
I created two shaders,the first acts as a lambert that outputs
frame buffers. and the second is a lens shader that let you
pick the frame buffer it will show.

what I want is to be able to change the number of frame
buffer I want it to output without rerendering the scene.

all of the FB data is there I just want it to show using the
IPR, every time a diffrent FB.

hope this makes sense and someone could help,
Ofer.
of-air is offline   Reply With Quote
of-air
View Public Profile
Send a private message to of-air
Find More Posts by of-air

Old 06-26-2008, 12:08 PM   #2
ctrl.studio
Hobbyist
 
ctrl.studio's Avatar
 
Join Date: Jun 2008
Posts: 9
Default

I didn't get what you're trying to do. sure I dunno what ya mean by 'all the FB data is there'. there're some fb data that could be read by imf_disp on render time but for that you'll need probably the integration library. also that fb stuff is generally deleted on the end of the rendering.

but probably you could achive something like you're after by using mr passes. you'll save the main pass with geometry and all of that. then you hide all the geometry and merge the pass you saved with the current scene, where you have just a lens shader to switch fb. fbs are saved with passes.

max
ctrl.studio is offline   Reply With Quote
ctrl.studio
View Public Profile
Send a private message to ctrl.studio
Find More Posts by ctrl.studio
Reply

« Previous Thread | Next Thread »

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Switch to Linear Mode
Hybrid Mode Hybrid Mode
Threaded Mode Switch to Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 04:03 AM.

Contact Us - Welcome to MyMentalRay Forum - Archive - Top
Copyright © 2008 My Mental Ray Community. All Rights Reserved.
No part of this website may be reproduced unless for personal use without prior written permission from The My Mental Ray Community.