Jump to content

Velocity Volume To 8bit RGB Image Slices?


julian johnson

Recommended Posts

I need to create an image sequence representing the slices of a velocity volume as normalized, positive 8bit RGB values in a .raw file. I'm pretty sure it's possible with a cop2network and a vopcop2gen (and I've seen a couple of scenes that do this for a density volume) but I'm totally unclear how to read the velocity into the vopcop2gen and then iterate over the velocity slices and make the appropriate conversions. If anyone has any pointers they would be gratefully received. Documentation seems quite thin. I've tried using V as the image plane in vopcop2gen but just get a blank...

Julian

Link to comment
Share on other sites

Thanks Tesan :-). That's been the scene I've been playing with this afternoon from Jeff Wagner:

https://www.sidefx.com/forum/topic/25607/?page=1#post-118620

but I can't figure out how to get the velocity to show. Here's what I've been doing to that scene. Being very thick on this one...

 

cop_volume_slice_attempt.hipnc

Link to comment
Share on other sites

Thanks Tesan, that's definitely food for thought :-). I can definitely 'see' the V plane now....I'll see if I can understand what you're doing with the gamma/colour correct. I need to be able to unpack the image data at the end back into the original velocity values and reconstruct the original velocity field.

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...