comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: ellipsoid 3D
items: Re: ellipsoid 3D

ellipsoid 3D
type: item
description: Hi, I'm a begginer in IDL image processing, so if someone lends me some help, that'd be great. I'm trying to make an ellipsoid in 3D. Not solid, but hollow ellipsoidal in 3D. Anybody help?
creator: adisn123
date: 2006-08-03T18:07:19-00:00

Re: ellipsoid 3D
type: item
description: Thanks Rick. You're more helpful than I hoped for. Either clipping or mesh works fine with me, but I think I like mesh more since it has more capabilities. Rick Towler wrote: > adisn123 wrote: >> The main purpose of this was to take a portion of ellipsoid and examine >> it in 3D. >> >> I remember there is IDL routine or function that takes a part of the >> whole volume and display it. >> >> I'm not sure of what it is yet, but working on it. > > As always, there are a couple of ways to do this. You can either use > the MESH_CLIP function or set the CLIP_PLANES property of your orb. > Remember that the orb is a subclass of IDLgrModel so you'll need to look > at the documentation for IDLgrModel to find info on the CLIP_PLANES > property. > > From my experience, using CLIP_PLANES is easier as you don't need to > deal with keeping track of the clipped vertices and polygon connectivity > data. There are a couple of limitations though. Since the clipping is > done internally and you don't have access to the clipped vertices you > only can make simple slices of your object. For instance you couldn't > "slice out" or remove only a quarter of your ellipsoid by specifying two > clipping planes orthogonal to each other which pass thru the ellipsoid's > origin. This would in fact leave you with only 1/4 or the ellipsoid. > The other limitation is that some graphics drivers don't use optimized > rendering paths when clipping planes are enabled so drawing objects that > use clipping planes can be slow. > > On the other hand, since MESH_CLIP returns the clipped vertices, you can > use them to piece together more complicated objects. Using MESH_CLIP > you could remove a quarter of your ellipsoid by slicing twice with a > plane that passes thru the origin to return the two halves. Then slice > one of the halves into a quarter and stick the quarter and half back > together. > > Defining the clipping planes can be a bit tricky. I find it easy to > define the plane as a set of 4 vertice…
creator: adisn123
date: 2006-08-04T16:14:49-00:00