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

Home » Public Forums » archive » placing polylines/polygons exactly on a surface?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
placing polylines/polygons exactly on a surface? [message #47168] Fri, 27 January 2006 00:50
Weihua FANG is currently offline  Weihua FANG
Messages: 26
Registered: January 2006
Junior Member
Hi, all

A 3D visualization of roads is to be created with 3 types of data:
a) elevation data: elev(m,m): a 2 dimensional array
b) a satellite image for texture: image_sate (m, m): a 2-dimensional
array
c) road lines, road_vertex (3, n, n): a 3-by-n floating-point array
representing a 3-D vertex

I did it by the following steps:
1) created an IDLgrSurface Object and set DATAZ property to elevation
array
2) set the texture of the surface to the satellite image array

things worked fine till now.

3) created an IDLgrPolyline Object and set the DATA property to
road_vertex.

the road line is not exactly on the surface. Some parts of the line
are over and the rest are inner the surface.

I am wondering, how to place polylines or polygons exactly on a
surface? I found IDLgrContour object can display contours on a surface
quite well though.

Can someone please give me some hints?

Thanks a lot.

Fang
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Quiz and Essay Contest
Next Topic: Re: Swap memory utilization by IDL

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

Current Time: Wed Oct 08 15:28:32 PDT 2025

Total time taken to generate the page: 0.00471 seconds