Skip to main content
gamedev.net
🔒 Locked

thicker wire frames

Started by Bobboau 1 reply 300+ views
Original Post
Bobboau
Bobboau
is there a way to get vert buffers rendered with D3DPT_LINESTRIP to be rendered wider than just 1 pixel wide, it looks very dis-dointed, also, while I''m posting, is there a way of changeing the z value of a vertex buffer just before it is to be rendered.
Bobboau, bringing you products that work... in theory
VladR
VladR
I remember, when I changed from OpenGL down to DirectX, I was also disappointed. But youll have to live with 1-pixel wide lines. Ive searched DX docs few times, have few books on DX, but I cant remember seeing point or line-thick parameter there. Im using different color, or something other to higlight things in wireframe mode. Or you can scale it few times and render it, It`ll be sorta thicker.

VladR
L_dot_N
L_dot_N
There is a way to do it. Make your own wireframe renderer. Take the points in order of the Primitive Type and connect them by a 2D Sprite Object in Screen space(not too Hard in a Vertex Shader). Since the wireframe mode is not the fastes mode of rendering on some cards and the ability to render lines or something else the way you whant, it may be a good choise.(It wound be a way to render a wireframe the way it is shown in Movies, like glowing lines)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.