{"action":"created","issue":{"url":"https://api.github.com/repos/enthought/mayavi/issues/225","labels_url":"https://api.github.com/repos/enthought/mayavi/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/enthought/mayavi/issues/225/comments","events_url":"https://api.github.com/repos/enthought/mayavi/issues/225/events","html_url":"https://github.com/enthought/mayavi/issues/225","id":96099327,"number":225,"title":"mayavi smart downsampling for volumetric rendering","user":{"login":"22csnyder","id":10726729,"avatar_url":"https://avatars.githubusercontent.com/u/10726729?v=3","gravatar_id":"","url":"https://api.github.com/users/22csnyder","html_url":"https://github.com/22csnyder","followers_url":"https://api.github.com/users/22csnyder/followers","following_url":"https://api.github.com/users/22csnyder/following{/other_user}","gists_url":"https://api.github.com/users/22csnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/22csnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/22csnyder/subscriptions","organizations_url":"https://api.github.com/users/22csnyder/orgs","repos_url":"https://api.github.com/users/22csnyder/repos","events_url":"https://api.github.com/users/22csnyder/events{/privacy}","received_events_url":"https://api.github.com/users/22csnyder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-20T16:15:09Z","updated_at":"2015-07-20T21:32:09Z","closed_at":null,"body":"Good afternoon,\r\n\r\nI am accustomed to calling:\r\nix,iy,iz=np.indicies(src)\r\nmlab.pipeline.volume(mlab.pipeline.scalar_field(ix,iy,iz,src))\r\n\r\nMy new problem is that src is too large. Specifically the np.indicies call runs out of memory, but I suspect the second line would have problems as well.\r\n\r\nThe obvious solution is to try downsample when the user is zoomed out and show full resolution when the user is zoomed closer in. I'm sure someone has tried to write this before. It might even be literally built into mayavi but I don't know it.\r\n\r\nWhat are my best options for doing this?\r\n\r\nThanks,\r\nChris"},"comment":{"url":"https://api.github.com/repos/enthought/mayavi/issues/comments/123049595","html_url":"https://github.com/enthought/mayavi/issues/225#issuecomment-123049595","issue_url":"https://api.github.com/repos/enthought/mayavi/issues/225","id":123049595,"user":{"login":"22csnyder","id":10726729,"avatar_url":"https://avatars.githubusercontent.com/u/10726729?v=3","gravatar_id":"","url":"https://api.github.com/users/22csnyder","html_url":"https://github.com/22csnyder","followers_url":"https://api.github.com/users/22csnyder/followers","following_url":"https://api.github.com/users/22csnyder/following{/other_user}","gists_url":"https://api.github.com/users/22csnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/22csnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/22csnyder/subscriptions","organizations_url":"https://api.github.com/users/22csnyder/orgs","repos_url":"https://api.github.com/users/22csnyder/repos","events_url":"https://api.github.com/users/22csnyder/events{/privacy}","received_events_url":"https://api.github.com/users/22csnyder/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T21:32:09Z","updated_at":"2015-07-20T21:32:09Z","body":"I'm going to move this to the mayavi users help email chain group (I've forgotten the name). I've had quite some trouble getting tvtk to play nicely with mayavi for volume rendering. It seems to be in a minority of the examples."}}