PDA

View Full Version : Dynamic Ambient Occlusion


JDex
02-22-2008, 05:24 PM
After years of all Mental Ray, all the time, I'm wanting to learn the basics of using the real-time shading features in XSI. I've gone through what tutorials I've been able to find, but now I want to add an OpenGL shader to XSI and I can't seem to find the way.

Can anyone point me in the right direction, or walk me through getting the Dynamic AO shader found at http://http.download.nvidia.com/developer/SDK/Individual_Samples/featured_samples.html (February 2005 - between 1/3 and 1/2 of the way down the page) into XSI as a preset that can be wired into a OpenGL network?

Using XSI 5.11 or 6.5. Thanks!

xrenmilay
04-09-2008, 08:17 PM
Hello! So you want to do realtime shaders?
Well this is the approach.... begin learning shader writing. The wikipedia has a really good source for that. First learn how to write basic phong shaders ect. Once you start writing hlsl the rest of shader concepts and syntax begin to fall in to place like Fx and Cg shaders. In the mean time you can play with the uber shaders that come with xsi which are located here ~\Softimage\XSI_5.11_Foundation\Addons\GPUSurfaceF X\preset. Lots of code to disect there. I use this one for my parallax occlusion shader GPUSFX_UBER_OGL_NV20_.Preset. There is another OpenGL shader that comes with xsiGame and I play with all the time at work. However it's much harder to get access to so I am posting it here. This is what you will get using the uploaded shader.
http://hellseed.com/fileadmin/images/quivers.jpg

JDex
04-20-2008, 12:33 AM
Thanks xrenmilay,

I've actually made quite a bit of progress, and if it all works out I'll be sharing.

Ermak
06-27-2008, 04:31 AM
xrenmilay (http://community.softimage.com/member.php?u=790)
Please talk me, what a pictures Default_N.png etc., as you use in own scene? Please send me your scene file with Dynamic Ambient Occlusion. (eraermak@mail.ru). Best regards!
SoRrY mY baD eNgliSh...

Zafar Iqbal
06-27-2008, 05:05 AM
Thanks xrenmilay,

I've actually made quite a bit of progress, and if it all works out I'll be sharing.

nice nice - looking forward to it.