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

Home » Public Forums » archive » Re: Disappearing Object Graphics...
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: Disappearing Object Graphics... [message #29486] Mon, 25 February 2002 10:41 Go to previous message
Ted Cary is currently offline  Ted Cary
Messages: 53
Registered: October 2001
Member
Rick Towler wrote:

> Ted,
>
> Whithout seeing any code, all I can guess is that maybe your view isn't set
> up properly. This would explain how when you translate your ROI's around
> they appear and dissapear as they move into and out of the viewing volume.
> But this is only a guess.
>
> can you provide a *simplified* example demonstating this behaviour?
>
> -Rick

The ROIs are definitely inside the viewing volume, at least as I understand
it--in front of the eye and between the clipping planes (parallel
projection). I think the problem has to do with how the renderer deals with
more than one ROI on the same plane, even if they don't overlap anywhere.

None of this explains why changing the color of one ROI erases another one.
I'll have two ROIs and then issue only two commands--1) a SetProperty to
change one ROI's color, 2) a Draw command to the graphics window to render the
view. The desired ROI appears in the new color, but the other ROI disappears
entirely (although it still shows up in the hierarchy, with no GetProperties
changed whatsoever). This is with the software renderer.

Putting every single ROI on a different plane between the clipping planes
seems to work, but it's silly and difficult. When I have 20 or more ROIs on
the screen in different ROIGroups and I'm erasing them and moving them around,
this solution is not easy to implement.

I'll write a simplified example when I find some time.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: .dlm and c++ object
Next Topic: Re: extra ticks on log axes

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

Current Time: Sat Oct 11 21:58:06 PDT 2025

Total time taken to generate the page: 1.03640 seconds