[vtkusers] Problem in SampleMFC test?

Jean-Dominique Barnichon jeando.barnichon at free.fr
Tue Jul 29 05:41:20 EDT 2003


Hi again and again,

the vtk4.0 MFC sample test (located in Examples\GUI\Win32\SampleMFC) is
originally a MDI app.
I've transformed it in a SDI app. Surprisingly, everything works fine I mean
the window is ok in fullscreen mode. At least this should invalidate the
hardware origin of the problem.

Could the problem come from the original MFC sample test and/or its vtk
implementation that, for some reason, would not be compatible with MDI app?
Does somebody at Kitware have idea on that?

Jean-Do

-----Message d'origine-----
De : Jean-Dominique Barnichon [mailto:jeando.barnichon at free.fr]
Envoyé : mardi 29 juillet 2003 10:26
À : nNunn at ausport.gov.au; David.Pont at ForestResearch.co.nz
Cc : vtkusers
Objet : RE: [vtkusers] Problem in SampleMFC test?


Hi again,

I've built a small MDI app (I can provide it, let me just know) based on
OpenGL without vtk.
With it, I can open as many child windows (in full screen) as I want,
without having any problem. So the problem with the vtk MDI app does not
seems related to OpenGL, is this right?
Any comment/idea on that?

Jean-Do

-----Message d'origine-----
De : Jean-Dominique Barnichon [mailto:jeando.barnichon at free.fr]
Envoyé : mardi 29 juillet 2003 09:31
À : David.Pont at ForestResearch.co.nz; nNunn at ausport.gov.au
Cc : vtkusers
Objet : RE: [vtkusers] Problem in SampleMFC test?


Hi David and Nigel,

If it comes from my hardware, I will almost be happy.
One point is that there is a single actor in the sample, which does not
require a lot of memory.
The strange thing is that I obtain the same odd behaviour when I run it in
640*480*8bit.
How memory/hardware could explain that? Sound a bit strange, no?

Jean-Do


-----Message d'origine-----
De : David.Pont at ForestResearch.co.nz
[mailto:David.Pont at ForestResearch.co.nz]
Envoyé : lundi 28 juillet 2003 23:31
À : Jean-Dominique Barnichon
Cc : vtkusers
Objet : Re: [vtkusers] Problem in SampleMFC test?



Hi Jean-Do
   I experienced something similar some years ago. I never really resolved
it, and the problem went away when I got a new computer.
My guess is that the problem is at a lower level, ie graphics hardware, (or
perhaps OpenGL).

A quick look in the archives turned up this:

http://public.kitware.com/pipermail/vtkusers/2001-August/007548.html
So someone else has had this problem too. I could not see any solution
given, you could look harder in the archives for an answer there.

-Try turning off hardware accelerations in Windows (right click desktop,
select Properties | Settings tab | Advanced button | Troubleshooting tab
(and other tabs)......  probably different under W98...)
-Can you try your application on a machine with more (graphics) memory?
-Don't run fullscreen...

    bon chance
         Dave Pont




                    "Jean-Dominique
                    Barnichon"             To:     "vtkusers"
<vtkusers at vtk.org>
                    <jeando.barnicho       cc:
                    n at free.fr>             Subject:     [vtkusers] Problem
in SampleMFC test?
                    Sent by:
                    vtkusers-admin at v
                    tk.org



                    29/07/2003 04:52






hi,

I've compiled the vtk4.0 MFC sample test (located in
Examples\GUI\Win32\SampleMFC) with VC++6.0 (sp5) under Win98.
When running the exe in fullscreen mode 1024*768*32 (the main frame and the
child frames), there is a  bug which can be easily seen by set background
to
white in vtkMFCRenderView constructor :
           this->Renderer->SetBackground(1,1,1);

Then, you just run the exe and you open several child windows.
You (at least I do) should get a black area at the right and bottom part of
the window that increases in size as more and more child windows are
opened.

It sounds like a problem between Win32 and vtk?
Does anybody obtain the same behaviour and/or has a clue where it could
come
from?

Jean-Do



_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers









More information about the vtkusers mailing list