Advertisement

How to draw sine line

Started by April 14, 2003 05:32 PM
3 comments, last by kalok 21 years, 10 months ago
Can anyone tell me how to draw several sine lines consecutively using VC++ with OpenGL? Thank you
x++
y=sinf(t);
t++
Advertisement
sorry, I mean in 3D.

How can I draw 4 sine waves and let the first and the fourth waves joining together?

thanks
aproximate it with lines at certain intervals

"I''ve read about...doom being used to manage unix programs(you "kill" the processes)" dede
You should prolly just do what snisarenko says, or I''m not sure if it is applicable in OGL, you could give it all the pixels you want to render... Not sure how in DX though... It should take them in window coords so they will need to be integers inside the bounds of whatever your screen resolution is...

Dwiel

[edited by - Anonymous Poster on Febtober 93, -4793 BC 56:69:80 MP]

This topic is closed to new replies.

Advertisement