Jump to content
Sign in to follow this  
Bernard

Instances

Recommended Posts

Hello,

I've got a particle system generating colored particles (ramp: $LIFE).

Then I instanced boxes to the particles.

Now I want to pass the color of the particles to my instanced geometry (boxes)

How can I do this? (an example hip file would be very welcome :D )

using H 9.1.173, windows xp

thanks,

bernard

Edited by Bernard

Share this post


Link to post
Share on other sites

Hey,

Here's a link for the "Houdini Master Class Course Materials"

http://www.sidefx.com/index.php?option=com...&Itemid=132

Download the "Shading and Rendering in H9" course material. In there there's some example files together with a powerpoint/openoffice presentations discussing the subject.

Hope this helps,

Cheers

Share this post


Link to post
Share on other sites
Hey,

Here's a link for the "Houdini Master Class Course Materials"

http://www.sidefx.com/index.php?option=com...&Itemid=132

Download the "Shading and Rendering in H9" course material. In there there's some example files together with a powerpoint/openoffice presentations discussing the subject.

Hope this helps,

Cheers

Thanks,

I will look into this valuable material....

bern

Share this post


Link to post
Share on other sites
Hey,

Here's a link for the "Houdini Master Class Course Materials"

http://www.sidefx.com/index.php?option=com...&Itemid=132

Download the "Shading and Rendering in H9" course material. In there there's some example files together with a powerpoint/openoffice presentations discussing the subject.

Hope this helps,

Cheers

Hello,

thanks for the link, but in the Powerpoint presentation I don't find anything of passing color to shader....

bern

Share this post


Link to post
Share on other sites

there's a file there called "procedural.hip" that does what you want.

cheers

Share this post


Link to post
Share on other sites
there's a file there called "procedural.hip" that does what you want.

cheers

OK, thanks ihab.

I looked at the hip and they used copy sops. Is it also possible without the use of 'copy sops' ?

I've got a Location POP emitting particles going through a Color POP( ramp with $LIFE)

I've use the Instance Geo . Connecting the Material SOP to my POPNetwork and overiding the color doesn't seen to work...

I want the cubes inherit the color of the particle points.

I included my hip file. Maybe you can find what's wrong.

Thanks,

bern

instance_h9.hipnc

Edited by Bernard

Share this post


Link to post
Share on other sites

hello,

does anybody have a solution for this simple scene: particle system, instanced geometry, transfer particle color(not 'point' color) to shader....

In Houdini 8.2 it was so easy as '1-2-3'....

thanks

Edited by Bernard

Share this post


Link to post
Share on other sites

hey,

the problem with your file is that the material sop was looking for primitive attributes (1st drop down menu) I changed it to point attributes and everything works as expected. When i used $CR, $CG and $CB in the colors of the material i had an error so i replaced it with a point expression. I attached your modified file.

Cheers

instance_h9.hipnc

Share this post


Link to post
Share on other sites
hey,

the problem with your file is that the material sop was looking for primitive attributes (1st drop down menu) I changed it to point attributes and everything works as expected. When i used $CR, $CG and $CB in the colors of the material i had an error so i replaced it with a point expression. I attached your modified file.

Cheers

instance_h9.hipnc

Thanks ihab,

you are fantastic!

now it works....and I can stop pulling my hair out.

greetings,

bern

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×