Rendering lines using 2 pixels width

Juan Lastra

Member
Joined
Jan 13, 2005
Messages
5
Location
Madrid (Spain)
Hello:
In OpenGL was possible to render the polylines with a variable width.
It is very useful when you want to highlight the lines in one application.
How can we do this in Direct3D ?
By default, all the lines are rendered with 1 pixel width, and setting
the device.RenderState.PointSize don
 
Actually, NO cards support variable width line drawing under D3D. Its just not supported by the API. If it makes you feel better, cards generally dont support it under OpenGL either. The runtime turns the line into a quad and passes it on, which is basically what D3DX.Line does.
 

Similar threads

T
Replies
0
Views
567
This_display_name_is_already_in_use_They_all_are
T
T
Replies
0
Views
294
This_display_name_is_already_in_use_They_all_are
T
Back
Top