Solved

Simple One For Mike Lischke

Posted on 2000-04-20
9
277 Views
Last Modified: 2010-08-05
Hi Mike,
  I think this is a simple one for you.

If I view an object (fairly complex model) in your opener it runs really fast, if I then open another opener with another fairly complex model and I both run both views, regrardless if one is minimized the one I'm viewing runs at half the frame rate.  As soon as I close one of the openers the frame rate goes up again.  

I can't seem to figure out why this is, as the second opener is not visible and so shouldn't be drawing to the screen.

Any Ideas?

Cheers
Woody.
0
Comment
Question by:WoodyJ3
  • 5
  • 4
9 Comments
 

Author Comment

by:WoodyJ3
ID: 2733818
Ah, I just tried it again and it seems that it's something to do with one window being maximized.

What I would like to do is have one main opengl viewer which is maximized and another small opengl window sitting on top in the bottom right corner.  Both would display the same object but with different views.  The problem is, if I create another smaller window and sit it on top of the main viewer both viewers slow right down.

??

Woody
0
 

Author Comment

by:WoodyJ3
ID: 2733936
This is how to reproduce.

Start opener, load a model and maximize the opengl window.

Start a second opener and load a model maximize the the opengl window.

The first opengl window still runs at the correct frame rate.

It you activate the second opengl window it runs very slow.  The only way to speed the second window up is to close the first.

Woody.
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2743039
Hi Woody,

sorry, I was on holiday for a few days. That's the reason why I haven't answered.

I'm not sure why you ask the question here. It is obvious that your machine (graphics board) cannot handle such a large amount of geometry data (as you indicated by saying it's about a fairly complex model). One instance will already take all the computing power of your machine and every new instance simply gets not enough CPU/graphics power...


Ciao, Mike
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:WoodyJ3
ID: 2746862
I agree, but what it doesn't explain is why the first window still runs at the same frame rate (very fast)...  

If this was just a case of CPU power wouldn't the first window slow down aswell?

I'm using a geforce 256 chip DDR version card on a pentuim II 450mhz.

Cheers
Woody.

0
 
LVL 10

Expert Comment

by:Lischke
ID: 2746941
Mmmh, yes. Both windows should split the available CPU power among each other equally. I have no idea why they don't. Perhpas it is a matter of thread management in Windows and/or OpenGL? Opener does not modify thread priorities or such things. It just displays its graphics.

Ciao, Mike
0
 

Author Comment

by:WoodyJ3
ID: 2747027
Yes, It's very strange.  It seems to give the first opengl window created priority over all other opengl windows.

I'm gonna try the test again but this time assign the second window with a higher process priority than the first.

Do you think this is anything to do with "wgl" commands i.e. wglMakeCurrent??

Cheers
Woody.
0
 
LVL 10

Accepted Solution

by:
Lischke earned 15 total points
ID: 2747055
I doubt this, but one never can be sure absolutely. However this problem is caused I guess you can make nothing about/against it.

Ciao, Mike
0
 

Author Comment

by:WoodyJ3
ID: 2750831
Oh well, it's a shame, but I can do a work around.

Thanks anyway.
Woody.

if you ever find the answer mail me at
woody@stalker.fsnet.co.uk
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2750853
Yes, I will do that. Thank you for the 'A' grading. In this case I don't deserve it...

Ciao, Mike
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 328
Newbie Thread Programming 1 161
Printing problem 2 102
Controlled Assessment GCSE - desperate help needed 4 102
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question