?
Solved

Simple One For Mike Lischke

Posted on 2000-04-20
9
Medium Priority
?
287 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 60 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

755 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