julian johnson Posted December 15, 2019 Share Posted December 15, 2019 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 Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 15, 2019 Share Posted December 15, 2019 or cop_volume_slice.hip Quote Link to comment Share on other sites More sharing options...
julian johnson Posted December 15, 2019 Author Share Posted December 15, 2019 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 Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 15, 2019 Share Posted December 15, 2019 cop_volume_slice_attempt4.hipnc 1 Quote Link to comment Share on other sites More sharing options...
julian johnson Posted December 15, 2019 Author Share Posted December 15, 2019 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. Quote Link to comment Share on other sites More sharing options...
anim Posted December 15, 2019 Share Posted December 15, 2019 just use SOP import COP, it does exactly what you need cop_volume_slice_sopimportcop.hipnc 1 Quote Link to comment Share on other sites More sharing options...
julian johnson Posted December 15, 2019 Author Share Posted December 15, 2019 Tomas thanks so much. That is exactly what I need :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.