How to apply a texture map when particles emit from position

Discussions about SOFTIMAGEs© Interactive Creative Environment©
devjulu
Posts: 1
Joined: 23 Sep 2009, 12:00

How to apply a texture map when particles emit from position

Post by devjulu » 23 Sep 2009, 13:26

Hi Guys,

I have emitted particles from Position of a grid and added get texture map node to color node , particle size is 0.5 and shape is box, but particles are not changing the color as per the texture of the grid. similarly, if I'm emitting particles from a surface or object , texture map is working fine.

i have another similar problem. I'm not able to give texture color to corresponding points above textured object

Can anyone solve this problem?

Thank You,

Debadas Mohanty
You do not have the required permissions to view the files attached to this post.

grahamef
Posts: 281
Joined: 23 Jun 2009, 19:01

Re: How to apply a texture map when particles emit from position

Post by grahamef » 25 Sep 2009, 17:44

If you are emitting from positions instead of location, then EmitLocation hasn't been properly defined.

One way to solve that is to get the particle position, get the closest location on the grid, get the texture map color, and use that to set the particle color.

Or instead of emitting from positions, you can get the grid point positions, get the closest location on the grid, and then emit from those. Since you are emitting from locations, you can use EmitLocation.