From: Bruce S. <Bru...@nc...> - 2011-08-06 05:08:24
|
This is essentially a Python question, not a VPython question. Like other programming languages, Python can read data files. To construct 3D images from the data you probably will want to use the VPython "faces" object. You may find it convenient to use the platform-independent file dialog boxes provided by VPython for selecting a file. In the VPython documentation see "Read/Write Files" on the pull-down menu "Work with objects". Bruce Sherwood On Wed, Aug 3, 2011 at 10:57 PM, Andreas Horn <ma...@an...> wrote: > Hi there, > > I am very new to vPython and have the following question: > Would it be possible somehow to three-dimensionally display Nifti-Images via NiBabel in 3D using vPython? Nifti is a 3d-file type we use in Neuroscience. > Where would I start? Is there some way to extract 3D-Information from external files in vPython at all? > > Thank you so much for your help! > > Yours, sincerely, Andreas Horn > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |