Jump to content
Sign in to follow this  
akaliln

the question about pc open (solved)

Recommended Posts

Hi everyone, I have a little confuse about pc open.

Normally we create a pc open need a current element "P" to be the query position. and then search the target file by radius.

but what if i create pc open in cvex shader builder to work with vex volume procedural in Shop. where is the current P comes from? we still need a "P" to be the query position to do searching. (plz let me know if I'm wrong thx)

if I connect pc open query pos to geo vop global parameter "P" then do the rest of part. although it still work but no idea how. and I don't know how to export the parameters to check on the spread sheet. 

 

 

Edited by akaliln

Share this post


Link to post
Share on other sites

if you bind P in cvex shader belonging to Volume Procedural it will be populated with voxel positions in the object space of the object the shader is applied to

Edited by anim

Share this post


Link to post
Share on other sites

Also volume is not like points or prims, you can not just directly use spreadsheet to check the information in spread sheet. If you really need to check the P information, I would suggest create a vector field name it Position, then store the P into Position and I would scatter the points to sample the Position field by using volumesamplev.

Share this post


Link to post
Share on other sites
12 hours ago, anim said:

if you bind P in cvex shader belonging to Volume Procedural it will be populated with voxel positions in the object space of the object the shader is applied to

thx for your reply. now I understand how it works. problem solved! thank you.

Share this post


Link to post
Share on other sites
11 hours ago, jimeng20 said:

Also volume is not like points or prims, you can not just directly use spreadsheet to check the information in spread sheet. If you really need to check the P information, I would suggest create a vector field name it Position, then store the P into Position and I would scatter the points to sample the Position field by using volumesamplev.

cool! thank you. I think it could be bind out the parameter directly then check from the sop level. 

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  

×