[c++] Pass Environment / Bump slot / Subdivision

Date : Mon, 22 Jan 2007 18:28:59 +0000
To : XSI(at)Softimage.COM
From : Michael Gangolf <miga_miga(at)gmx.de>
Subject : [c++] Pass Environment / Bump slot / Subdivision
Hi
I have three c++ questions:

1. How can I access the active pass environment to see if there is an image 
used as an environment shader (like a HDRI file)?

2. I want to find out if there is something plugged into the "bump" slot of my 
material and if yes which image. How to do that in c++? Or is there a better 
way to find out if the material got a bump map?

3. Is there a way to check the subdivision level of an object 
(geomapprox.gapproxmosl and geomapprox.gapproxmordrsl)? At the moment I'm 
using a JScript inside my c++ plugin, but I want to get rid of that :)

Thanks for the help,
Michael
---
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.