my opengl app is REALLY slow
hi,
i wrote a "little" progam using opengl (and delphi). it ran really smooth and i coded about 2200 lines now because i haven''t had any problems.
but a few minutes ago, i had an idea: i wanted to test my program on another machine and ... it was REALLY slow (max 10 fps).
i programmed it using my geforce 3 ti200 - but i thought it should run on a geforce 2 mx smoothly, too. i already played "black & white" on this machine - so it is impossible that it is THAT slow.
perhaps, one of you can give me a hint.....
thx -- Andy aka feroCT5
Not without more information.
Some of your code perhaps?
But as an almost random guess: Are you using any programmable vertex/pixel shaders?
The GeForce3 will accelerate vertex and pixel shaders, so it''ll run smoothly - the GeForce2 MX won''t accelerate them.
Although I mainly use DirectX - I don''t even know if it''s possible for OpenGL to be doing vertex/pixel shaders without hardware support.
More information would be helpful though.
(glad to see people using Delphi for games & graphics)
John B
Some of your code perhaps?
But as an almost random guess: Are you using any programmable vertex/pixel shaders?
The GeForce3 will accelerate vertex and pixel shaders, so it''ll run smoothly - the GeForce2 MX won''t accelerate them.
Although I mainly use DirectX - I don''t even know if it''s possible for OpenGL to be doing vertex/pixel shaders without hardware support.
More information would be helpful though.
(glad to see people using Delphi for games & graphics)
John B
The best thing about the internet is the way people with no experience or qualifications can pretend to be completely superior to other people who have no experience or qualifications.
this may sound obviouse but it was the problem on my machine -> do you have the latest drivers? I bought a new video card and the drivers that came with it didn''t support openGL so I looked for an update on the net, installed the up-to-date driver and it worked.
A strategy sports game that can turn into open warfare
''Bloody Football'' - www.koalacomics.com.au/bloody
A strategy sports game that can turn into open warfare
''Bloody Football'' - www.koalacomics.com.au/bloody
www.koalacomics.com.au for a humour comic
www.lobag.com for my fantasy RPG PBBG
www.testcricketmanager.com for my sports management game
www.lobag.com for my fantasy RPG PBBG
www.testcricketmanager.com for my sports management game
also lines are really slow compared to other primitives, most cards break them into triangles I believe
Using stencil-buffer with 16bit colors? Hardware on Geforce3, but on anything older software if I remember right.
Yesterday we still stood at the verge of the abyss,
today we''re a step onward!
Yesterday we still stood at the verge of the abyss,
today we''re a step onward!
Yesterday we still stood at the verge of the abyss,today we're a step onward! Don't klick me!!!
April 04, 2002 09:00 PM
I think when he said he "coded lines", he didn''t mean drawing lines on the screen!
OK,
i''ll try to reply to all of your postings:
1. i am not using pixel or vertex shader
2. i am using the latest drivers on both machines
3. i am not drawing lines - these lines are my SOURCE CODE LINES as the anonymous poster already said
4. i am not using stencil buffer
in my opengl scene, i''ve got 2 lights and about 160-180 textured quads. i think this isn''t a lot of work for a GF2-MX GPU.
that is why i said my app is REALLY slow!
for those who want some source code - i don''t know what part of my source code could be interesting for you... ;(
thx for your replies -- Andy aka feroCT5
i''ll try to reply to all of your postings:
1. i am not using pixel or vertex shader
2. i am using the latest drivers on both machines
3. i am not drawing lines - these lines are my SOURCE CODE LINES as the anonymous poster already said
4. i am not using stencil buffer
in my opengl scene, i''ve got 2 lights and about 160-180 textured quads. i think this isn''t a lot of work for a GF2-MX GPU.
that is why i said my app is REALLY slow!
for those who want some source code - i don''t know what part of my source code could be interesting for you... ;(
thx for your replies -- Andy aka feroCT5
Have you checked whether your app is running in software mode on the slow machine? Just to a test to see which driver is being used.
Another thing is textures - what sizes? and are they a 2^x height and width?
Finally are the two machines running the same OS? and check for any nasty background apps like mcaffee, and nortons, they can be a bit odd sometimes.
Another thing is textures - what sizes? and are they a 2^x height and width?
Finally are the two machines running the same OS? and check for any nasty background apps like mcaffee, and nortons, they can be a bit odd sometimes.
I had a problem once where my OpenGL suddenly decided not to use my hardware (I don''t know why). I wouldn''t have caught it, but in my game''s extended information I''ve got it showing glGetString(GL_RENDERER), it was showing up as Microsoft OpenGL or something, instead of NVidia GeForce2/MX/...
Maybe this will help you. Good luck
Maybe this will help you. Good luck
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement