Gael,

Thanks very much for your patience, you were correct, i was building my 
structured grid in the wrong 'axis order', and hence the implicit 
connectivity was all over the place and in my inexperience i interpreted 
the bad result as indicating it maybe wasn't possible.

following the example where the points for the structured grid are added 
in order of each z-plane (previously they were by x, then y, then z) i 
am now back on the right track, with volume stuff working.

cheers muchly,

-i




Le 22/06/2011 10:49 AM, Gael Varoquaux a écrit :
> On Wed, Jun 22, 2011 at 10:36:40AM +0200, Ivan PRICE wrote:
>
>> Thanks Gael, i realise this must be pretty basic stuff for you. I
>> agree that it a structured grid that i think i need, but my problem
>> remains that if i create a structured grid using
>> tvtk.StructuredGrid() as in the examples, i can no longer use
>> 'volumetric' visualisations, (scalar cut plane/iso surface) unless i
>> perform a delaunay-3d afterwards, which is not practical for the
>> data.
> You should be able to use iso surfaces and scalar cut plane. If you need
> to do a delaunay 3D, it's because you have missing connectivity.
> However, structured grid has implicit connectivity, so I do not see how
> this is happening. Are you sure that you did create a structured grid?
> You can compare to try to apply the modules you are interested in on the
> examples in the documentation that create a structured grid. They should
> work.
>
> HTH,
>
> Gael
>
>


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to