Jump to content

[Redshift] accessing CHOP network from inside RS vopnet


Recommended Posts

Yep, that is the limit of the Redshift Volume, it accepts no inputs at this time.

However, you can supply two fields to control the look. Use your CHOP value to modulate the field in question. Brightness would typically be associated with heat or temperature but you can create any custom field. 

Just think of it as a standard Houdini pyro task. How would you route brightness from CHOPs into pyro in general?

Once you have that solved and you can see the result in the viewport, write out a .bgeo.sc sequence from the DOP I/O node and assign a Redshift Volume as the material.

 

Another option would be to add a rsMaterial and connect it to the surface input. The rsMaterial does have an emission component which can accept input from an attribute. Write your CHOP value to a point attribute (scatter into a volume) then fetch the attribute in the VOP network using a rsPointAttribute node. Redshift gets a little slow on export using this technique but you should experience ok render times with points counts up to several thousand. 

For an example on routing point attributes to rsMaterial check out the Redshift procedural planet example file I posted in the thread you started for Redshift examples.

Edited by Atom
Link to comment
Share on other sites

Thanks Atom! Where I am stumbling is my understanding of

Quote

" Write your CHOP value to a point attribute (scatter into a volume)"

In the attached image you can see I have defined a new point attribute at the Obj level, and then inside at SOP level used the following VEXpression to reference the CHOP data. ` backquotes seemed to be necessary

`v@point = chop("/obj/music/LOW_OUT/low")*10`

 

And then in my RS vopnet created a ParticleAttributeLookup piped to emission_color of a RS_Material which in turn is piped to the Surface parameter (picture 3)

Am I on the right track?

attribute1.png

attribute2.png

attribute3_vopnet.png

Edited by art3mis
Link to comment
Share on other sites

Here are a couple of ways.

You can directly modulate the Source Volume Scale using a CHOP expression.

Untitled-1.jpg

That same expression can drive the Emission weight in the vopnet too. So you can skip the step of converting CHOP to an attribute and routing it through the Redshift attribute system.

ap_rs_CHOP_To_Modulate_EMIT.hiplc

ap_rs_CHOP_To_Modulate_Source_Volume.hiplc

Edited by Atom
  • Thanks 1
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...