wannabeArtist
09-14-2009, 09:34 AM
Hello,
I've been looking at the ICE trainings, but I haven't found an answer for this yet:
How do I get points from a cube as 3d vectors?
I want to use them to set up the bbox min and max values in mental ray's physical sun, because they are not exposed in it's the ppg in xsi.
Here's what I've done so far - I don't know how far off I am with this, but the trouble seems to be that the upper part produces 3d vector per point (array?) and the lower part wants 3d vector per object.
I did try building an array of size 8 and selecting random elements from it just to see if this works, but the miss match error persists - any suggestions welcome :)
http://i28.tinypic.com/2e30i1c.jpg
I've been looking at the ICE trainings, but I haven't found an answer for this yet:
How do I get points from a cube as 3d vectors?
I want to use them to set up the bbox min and max values in mental ray's physical sun, because they are not exposed in it's the ppg in xsi.
Here's what I've done so far - I don't know how far off I am with this, but the trouble seems to be that the upper part produces 3d vector per point (array?) and the lower part wants 3d vector per object.
I did try building an array of size 8 and selecting random elements from it just to see if this works, but the miss match error persists - any suggestions welcome :)
http://i28.tinypic.com/2e30i1c.jpg