Member hkrol Posted March 15, 2011 Member Report Share Posted March 15, 2011 Hello! I'm trying to import a rawvox edited in another program. As far as I can see my header and the data should work (http://www.3d-coat.com/forum/index.php?showtopic=3002). But when I import the file 3dc asks for the bit depth (which I did specify in the header). But when I set it to the corresponding value and click ok, nothing gets imported. My header looks like this: 58 4f 56 52 a0 01 00 00 60 01 00 00 10 02 00 00 08 00 00 00 416 width 352 height 10 slices 8 bits See the attached file if you want to try out. thanks, Henning brain_slice.zip Quote Link to comment Share on other sites More sharing options...
Member hkrol Posted March 16, 2011 Author Member Report Share Posted March 16, 2011 Okay I got it to work. Python was not writing the exact values I told it to. I'm using a different and easier function now: pack('<ccccLLLL', "X", "O", "V", "R", 416, 352, 528, 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.