Solved

Simple One For Mike Lischke

Posted on 2000-04-20
9
272 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:WoodyJ3
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 10

Expert Comment

by:Lischke
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Yes, I will do that. Thank you for the 'A' grading. In this case I don't deserve it...

Ciao, Mike
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now