PDA

View Full Version : Thin and long objects



Aahz
11-14-2004, 11:43 PM
Hi,

scene rendered by my application contains some thin and long cylinders (radius=3 units, length=3000 units). When I try to render this scene in a 300x300 window these cylinders not always rendered by OpenGL and sometimes they are rendered only partially. I understand that being scaled into 300x300 window these cylinders have diameter only about 0.5 pixel but I'd like to see them rendered always at least as 1 pixel line. Is it possible with OpenGL?

Thanks

zed
11-15-2004, 10:24 AM
perhaps with each cylinder also draw a line ( GL_LINE ) inside from the top to bottom, the lines will retain the same screen width no matter how far from the camera they are

rgpc
11-15-2004, 12:45 PM
Multisample might help (Don't know for sure though).