Re: Images effects in MR

Date : Fri, 28 Dec 2007 19:09:11 +0100
To : XSI(at)Softimage.COM
From : "Fred Valleur" <fred.valleur(at)gmail.com>
Subject : Re: Images effects in MR
Hi,

check out the "IMG Functions" in the mental ray docs, that should help you get started if you want to go the shader way.

mi_img_get_color and mi_img_put_color let you read and write directly to a texture at given texels coordinates.

   Hope this helps,
   Frederic.
  
--
Frederic Valleur | LaMaison

On Dec 27, 2007 11:30 AM, Harry Bardak <hb_xsimailinglist(at)hotmail.com > wrote:

Hi everyone.


I was wondering how to apply an custom image effects ( like the one in XSI ) within mental ray.
I mean applying an effect before to use the texture on my shader.
Typically I would like to apply a diffuse convolution on my environment map but I need to do it outside XSI ( via HDRshop ).
That's why I would to have a node for it.

Is there any direction where I can have a look ? I don't know how mr handle image loading and how I can apply an effect in image's raster space.


The others option is to use Fxtree and make a plugin for it.
But last time I checked when you load a HDR image the fxtree seems to apply a gamma correction. I would like to keep it linear and of course in float depth.
So I am a bit stuck here.

Any ideas ?





Harry Bardak
TD / Compositor.

Http://perso.wanadoo.fr/harry.bardak/
+33 6 76 63 35 54
+44 781 661 4147

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi





Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.