PDA

View Full Version : Visual effect



Clash
03-16-2011, 07:47 AM
How I can draw such ellipses (there are plane ellipses) using OpenGL?

http://i.piccy.info/i5/76/41/1234176/Ellipses_240.jpg (http://piccy.info/view3/1234176/8286e164866b198e9b892464256bed31/)

_arts_
03-16-2011, 07:55 AM
I think you can achieve this with using GL_POINTS or GL_POINT_SPRITE.

Clash
03-16-2011, 08:39 AM
Thanks _arts_!

May be you have a link to good example of using that feature?

_arts_
03-16-2011, 03:35 PM
Here you have an introduction about point sprites:

http://my.safaribooksonline.com/book/pro...jE0OTg4MjMvMzc0 (http://my.safaribooksonline.com/book/programming/opengl/9780321498823/texture-mapping-beyond-the-basics/372#X2ludGVybmFsX0ZsYXNoUmVhZGVyP3htbGlkPTk3ODAzMj E0OTg4MjMvMzc0)

Hope that could help.

Clash
03-17-2011, 04:52 AM
Thank you very much!