Complex dynamic question?

Status
Not open for further replies.

foo

Usenet Archive
Joined
Sep 9, 2001
Messages
144
Reaction score
0
Hi, MDL Expert

I recently encounter an intractable question about complex dynamic. In my MDL program, I need dynamically display two or more recatangle shapes which one shape's bottom side line is overlaped by next shape's top side line. When dynamically display, these superposotioned lines are not display, only outline is displayed correctly. I try my shapes with MicroStation's copy or move tools, the case is same as my program. Is it MicroStation's BUG ?

Any help are apppreciated!

Foo.
 
foo wrote:
Hi, MDL Expert

I recently encounter an intractable question about complex dynamic. In my MDL program, I need dynamically display two or more recatangle shapes which one shape's bottom side line is overlaped by next shape's top side line. When dynamically display, these superposotioned lines are not display, only outline is displayed correctly. I try my shapes with MicroStation's copy or move tools, the case is same as my program. Is it MicroStation's BUG ?

Any help are apppreciated!

...

I think the lines are being drawn by inverting the bits underneath them so that black becomes white and white black etc. If you draw two lines, the second line inverts and cancels out the effect of the first. You may have seen a similar thing happening with the handles of selected elements disappearing when multiple selections overlap.

A workaround of drawing the elements in hilite color yourself may leave dynamics on screen (but I haven't tried it).

Steve
 
I think the lines are being drawn by inverting the bits underneath them so that black becomes white and white black etc. If you

Basically correct.
Technically speaking it's a binary XOR operation.
The second XOR operation reverse any effect of the first.

Best!
/Chris Z.

"steve_h" wrote:
foo wrote:
>
> Hi, MDL Expert
>
> I recently encounter an intractable question about complex dynamic. In
> my MDL program, I need dynamically display two or more recatangle
> shapes which one shape's bottom side line is overlaped by next shape's
> top side line. When dynamically display, these superposotioned lines
> are not display, only outline is displayed correctly. I try my shapes
> with MicroStation's copy or move tools, the case is same as my
> program. Is it MicroStation's BUG ?
>
...
 
And additionally: the problem is not solveable !
Bentley themself have the problem when creating a cube - try and smile (or cry)

Michael
 
Michael Stark wrote:
And additionally: the problem is not solveable !
Bentley themself have the problem when creating a cube - try and smile (or cry)

Michael

If you know that an entire line is shared, as is the case in a "place cube" command, a simple solution would be *not* to draw all of the lines or maybe to add a temporary third line in the appropriate places.

However, it get's complicated in the general case (where the lines are parts of linestrings or when they only partially overlap).

Steve.
 
If you know that an entire line is shared, as is the case in a "place cube" command, a simple solution would be *not* to draw all of the lines or maybe to add a temporary third line in the appropriate places.

Oops. Ignore that!

I was thinking in 2d and forgetting that the problem is much worse with front, back, and side faces affecting each other in different 3d views. D'oh.

Steve
 
Rats. I just posted this once but my newsreader shows only an empty message. So at the risk of drawing attention to my earlier stupid mistake here it is again.

If you know that an entire line is shared, as is the case in a "place cube" command, a simple solution would be *not* to draw all of the lines or maybe to add a temporary third line in the appropriate places.

Oops. Ignore that!

I was thinking in 2d and forgetting that the problem is much worse with front, back, and side faces affecting each other in different 3d views. D'oh.

Steve
 
Status
Not open for further replies.

Latest threads

Back
Top