Original Post
Hey! I'm drawing outlines of objects in the scene using indexed line list. Is there any possibily to antialias lines(in D3D)?
Quote:
Original post by tomek_zielinski
the problem is that I need to draw about 100000 lines per frame and 'emulating' this with tris or d3dxline would suicide.
Quote:
Original post by Namethatnobodyelsetook Quote:
Original post by tomek_zielinski
the problem is that I need to draw about 100000 lines per frame and 'emulating' this with tris or d3dxline would suicide.
Lines draw much slower than polygons, so emulating lines as polygons might actually be faster, and give you variable width at the same time. Creating the list of polygons for the lines yourself may be faster than using the D3DX line interface. I have no idea if the line interface batches lines or not, and you'd definately want to batch as many as possible.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more