comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: a polygon version of polyline..
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: a polygon version of polyline.. [message #41134 is a reply to message #41131] Wed, 29 September 2004 16:54 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
George Millward wrote:
> Hi there,
>
> I have a 3D object program which plots magnetic field lines (in 3D
> space) as polylines. This is fine - but I would like to change it so
> that they are coloured 'tubes' - polylines with a certain circular
> cross section and a 'shiny' finish. The look I am after is the one
> you often see with magnetic field topologies (Solar magnetic fields
> models etc.)
>
> Simple question is: does anyone know how to do this - or could they
> point me to a ready-made procedure.

Cool! I'm afraid you might have to write your own. The MESH_OBJ routine
does "cylinders" and "extrusions", but only straight ones, I think. A
bendy tube will have the same connectivity as a straight one, but you're
going to have to warp those vertex positions--ouch! MESH_OBJ is written
in IDL so you may get some ideas from the source code.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Disable Virtual Machine
Next Topic: uniform expansion

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 10:43:46 PDT 2025

Total time taken to generate the page: 1.20280 seconds