Issues instancing lights in ICE

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Issues instancing lights in ICE

Post by sonictk » 27 Aug 2013, 05:20

Hi all:

I'm trying to learn ICE and use it in my workflow, and I'm attempting to do a scene where I am trying to use the positions of a point cloud to instance lights. However:

http://i.imgur.com/8FvdqPP.jpg

The light roots are all instanced, but they do not emit any light when I render the scene. I tried to recreate the setup in this simple tutorial but I got the same issue as well.

http://xsisupport.com/2009/12/22/using- ... es-in-ice/

And here too:

Would anyone be kind enough to help me out with what I'm doing wrong here?

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: Issues instancing lights in ICE

Post by caledonian_tartan » 27 Aug 2013, 07:05

just checked. it should work, but in my example i needed to set the orientation to 1,0,0,-90.
icelights.jpg
You do not have the required permissions to view the files attached to this post.
SI 2015 @ WIN7-64

User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Re: Issues instancing lights in ICE

Post by sonictk » 27 Aug 2013, 18:08

Oh wait I just realized that it works in mental ray with XSI lights...but I'm using Arnold lights. Hmm. For some reason those don't work.

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: Issues instancing lights in ICE

Post by caledonian_tartan » 28 Aug 2013, 06:55

SItoA supports ICE instanced lights. You simple have to set two attributes called ArnoldLightColor and ArnoldLightIntensity, and they will be automatically pushed as the value of the corresponding parameters of the Arnold lights.
Also you need to make the ICE attributes pass through a Log Value first. (Quoted)
arnoldlights.jpg
here's a compound with some more attributes for arnold lights.
Set Arnold Point Light Data.xsicompound
You do not have the required permissions to view the files attached to this post.
SI 2015 @ WIN7-64

User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Re: Issues instancing lights in ICE

Post by sonictk » 29 Aug 2013, 00:02

Hi, I was also reading that support article but I still can't seem to get it to work...

This is my current scene:

http://i.imgur.com/vHB16c8.jpg

And the ICE tree for the point cloud object:

http://i.imgur.com/BJ1TGmU.jpg

I've tried changing the instance shape node from object/object+children as well, along with plugging in the compound as well, but no luck. I'm not that experienced with ICE; I still can't figure out what I'm doing wrong here. Would you mind explaining the process in a little more detail or taking a bigger screenshot of your ICE tree example? :D Sorry I'm still trying to learn bits of ICE here and there, so I'm not that familiar with all the different nodes etc.

EDIT: I tried making a simpler scene just as a test, but I still can't get it to work. If you had some time, would you mind taking a look at the ICE tree I did to see where I went wrong?
You do not have the required permissions to view the files attached to this post.

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 09:02
Location: Montreal Canada

Re: Issues instancing lights in ICE

Post by xsisupport » 29 Aug 2013, 01:30

The solution is already shown above. Compare what you're doing with that.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Re: Issues instancing lights in ICE

Post by sonictk » 29 Aug 2013, 08:07

?? I kind of understand the ICE graph, but I realized what was happening previously...for some reason, I needed to Destroy the Scene every time I made a change or else the lights wouldn't appear. :-\

Also, if I change the value of the light intensity or edit any arnoldLight parameter that I'm passing through ICE, I either need to resimulate or destroy the scene every time in order to get the lights to re-update...I still feel like I'm doing something wrong here?

http://i.imgur.com/J4h8ynd.jpg

I tried following the example as closely as possible...

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: Issues instancing lights in ICE

Post by caledonian_tartan » 29 Aug 2013, 08:30

i fear destroying the scene when using this, is essential (atm)...
SI 2015 @ WIN7-64

User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Re: Issues instancing lights in ICE

Post by sonictk » 29 Aug 2013, 11:09

Ah, ok. Thank you so much for the help! :D For a few hours I thought I had broken something...

User avatar
sonictk
Posts: 124
Joined: 04 Jan 2012, 03:01

Re: Issues instancing lights in ICE

Post by sonictk » 01 Sep 2013, 05:56

Hmm, I've been trying to rotate a set of spot lights that I instanced in ICE through Arnold...trying to use Set Particle Orientation didn't work, so I thought it was because of the spot_interest that I was supposed to move instead, so I tried passing arnoldLightLook_at through the ICE tree as well, which didn't work either. Is there something else I'm supposed to do first for it to work?