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

Home » Public Forums » archive » An IDLgrPolyline drawing position bug that's THICK dependent
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
An IDLgrPolyline drawing position bug that's THICK dependent [message #81916] Fri, 09 November 2012 11:04 Go to previous message
kagoldberg is currently offline  kagoldberg
Messages: 26
Registered: November 2012
Junior Member
(IDL 8.2.1 on Mac OSX 10.7.5 and 10.8.2 both)

I'm having an odd bug with IDLgrPolyline objects being drawn with an unexpected x direction displacement ONLY when THICK is not 1. Has anyone else seen something like this?

In my object's IDLgrModel, I have an IDLgrPolygon (box) and a IDlgrPolyline (border) with the same x,y,z values except for a +1. on the border so it draws on top. They are both added to a IDLgrModel and Translate and Scale are applied.

When THICK=1, everything lines up. When THICK=2 or higher, the border is drawn shifted by about 200 pixels to the right (not up and down), and THICK is the only thing I change. (I tried intermediate THICK values from 1 to 1.8 and they all line up fine. >= 2 is the problem.)

I tried writing a few simple test programs to isolate and demonstrate the problem, but those all work as expected, at every THICK value, so I'm perplexed.)

Any ideas from the IDL brain trust?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: TIFF Read/Write Bug?
Next Topic: Debugging a widget program (someone else's)

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

Current Time: Wed Oct 08 16:02:00 PDT 2025

Total time taken to generate the page: 0.00194 seconds