Computing.Net > Forums > Programming > graphics delay (svgalib, c, linux)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

graphics delay (svgalib, c, linux)

Reply to Message Icon

Name: zoem
Date: September 18, 2005 at 03:28:11 Pacific
OS: Slackware Linux 8.1
CPU/Ram: P133Mhz / 80MB
Comment:

I am using the SVGALIB 1.4.3 graphics library in my program (which is written in C) and i am trying to do a simple animation. I am currently using a FOR loop to control the movement of the shape. Trouble is, i need it to be able to delay in milliseconds on each iteration of the FOR loop.

I created a function earlier which ran 120000 x 5 iterations of a for loop to delay the next draw which worked fine on my P1 laptop. however, i believe on a modern P4 machine this would have virtually no effect.

It is a must that i use SVGALIB. Any suggestions to how i could go about delaying the draws? Thank in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: September 19, 2005 at 15:16:03 Pacific
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: graphics delay (svgalib, c, linux)

not able to run graphics programs in c. www.computing.net/answers/programming/not-able-to-run-graphics-programs-in-c/19204.html

c++ graphics www.computing.net/answers/programming/c-graphics/2376.html

Graphics without X in linux www.computing.net/answers/programming/graphics-without-x-in-linux/6986.html