Jump to content

Instances


Bernard

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
Link to comment
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

Link to comment
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

Link to comment
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

Link to comment
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
Link to comment
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
Link to comment
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

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...