Quote:Original post by Mari_p
humm... up to where I know, the drawing methods from ID3DXLine interface don't compare depth (z-buffer method). They follow the sequence of rendering calls. For example, consider you have a line behind a mesh: If you render the line first, the mesh will be drawn over the line. If you render the mesh first, the line will be drawn over the mesh.
I already test, Z-Test is working if you use ID3DXLine::DrawTransform() function, not work for ID3DXLine::Draw().
Clipping is not work if I use ID3DXLine for draw line, In DrawPrimitive with D3DPT_LINESTRIP or D3DPT_LINELIST cliping is work but how to set line width ? [headshake]
I want to render charector in toon-shade like DragonQuest VIII. i must use thick line for draw silhouette. I dont like silhouette drawing like XIII, extude mesh from normal and render. Does any one help me how to draw thick line in DirectX with cliping [crying]