Hi Utkarsh: The script you sent yesterday solved the problem for me, now I can 3D volume render the data! Thanks for the help!
Yufei On Sun, Apr 12, 2015 at 3:58 PM, Utkarsh Ayachit < [email protected]> wrote: > Attached is a XML that you can load as a plugin using the Tools | > Plugin Manager. This will add a new "Import CSV As Volume" source > under the "Sources" menu. On creating this new source, you'll be able > to select the CSV file and specify the relevant meta-data as > properties. I've setup the defaults to match the file you sent. The > Python code assumes that the CSV file has data in the same order as > VTK expects i.e. X varying first, then Y and then Z. Hence the image > dimensions are flipped. > > Also, this is designed to work only for a single process mode, it'll > need some work if it's to work in parallel too. > > Utkarsh > > > > On Fri, Apr 10, 2015 at 3:35 PM, Utkarsh Ayachit > <[email protected]> wrote: > > You cannot volume render data coming in from a CSV file. If you want > > to sned me a sample CSV, I can send you a Programmable Source code > > than will produce a volume renderable dataset. > > > > > > On Fri, Apr 10, 2015 at 12:21 PM, yufei shen <[email protected]> wrote: > >> Good afternoon: > >> > >> I am just beginning to use Paraview, and I'm using it to plot a 3D > current > >> scalar field, with x,y,z being the coordinates of a point in space, > while > >> the forth column value represents the intensity of current passing > through > >> that point. My input file is .csv. > >> > >> After I have tetrahedralized my points, the figure show up in the > plotting > >> window perfectly with surface, point or any other representations except > >> VOLUME. I can adjust color together with alpha values, however, as soon > as I > >> switch to 'volume', everything just disappears. I've also tried the same > >> thing on all platforms (Mac, linux, Windows), but the problem is not > solved. > >> > >> I wonder what's causing this problem? Should I used a different input > file > >> format other than .csv? It seems what I am doing is really simple > compared > >> with paraview's capability. I have also checked the archives but could > not > >> find any solution to this... > >> > >> I really appreciate your help! > >> > >> Best Regards > >> Yufei > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the ParaView Wiki at: > >> http://paraview.org/Wiki/ParaView > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
