glut / glui / jpg
Hi all,
At first, I apologize for my very bad frenglish. Hope u can understand what I mean.
I am writing a small application which aims to represent implicit surface. My GUI choice is glui because, as I am not a programmer, glui is really simple to use for me. Moreover glui is writed at top of glut in ANSI c++, and so, it is OS independant. It can be found at:
http://www.cs.unc.edu/~rademach/glui/
Don t know if GUI has an importance in my pb but ... ;-)
Have 2 questions:
- When the main function runs (hard evaluation on maths functions), glui window is not properly redrawn or maintained. How can I do that ? (keep in mind that glui is similar to glut in fact). Any example anywhere ?
- Does any of u have already coded a jpeg (or bmp) saver ? I mean, I have a glut window; how can I save this graphical contents in a jpg file ? a basic example ?
It is essential to me that solution r universal (not particular to a particular OS, or implementation or whatsoever)
Thx u all.
P.S.: keep good work NeHe. U r reallly cool guy my friend. And, very important for all of us. Have a nice day, Jeff :-)
Best not to use JPG''s....use TGA''s or BMP''s instead
--Ched--
chris@ched45.com
--Ched--
chris@ched45.com
--Ched--chris@ched45.com
Not really the pb Ched.
If u have a code doing that with .bmp instead of .jpg, directe me to it because I m insteresting in, if it is simple.
Thx Ched.
If u have a code doing that with .bmp instead of .jpg, directe me to it because I m insteresting in, if it is simple.
Thx Ched.
November 08, 2000 04:09 PM
About GLUT not updating the window frequently enough... I get around that by putting a call to my display function in my idle func.
Thx AP ... but do u have a piece of code about it. I can t make it work.
Thx all.
Thx all.
stick this in your main function after glutDisaplyFunc(display)
"glutIdleFunc(display)"
this is what you''ll do in glut donno bout glui though mate
http://members.xoom.com/myBollux
"glutIdleFunc(display)"
this is what you''ll do in glut donno bout glui though mate
http://members.xoom.com/myBollux
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement