Skip to main content
gamedev.net
🔒 Locked

Quad Based Wireframe

Started by Kitasia Mar 10, 2007 at 9:11 AM 2 replies 1.1k views
Original Post
Kitasia
Kitasia
A fairly simple question I think. Is there anyway to make the wireframes in directX quad based? I've done it manually but I'm not getting nearly as good as performance as using Wireframe Mode. Any adivce?
Evil Steve
Evil Steve
Nope. I belive that under the hood, wierframe mode is done by rendering lines (or triangles) around the edges of primitives anyway.

DOing it manually is going to be your best bet.
Kitasia
Kitasia
Bah! I figured as much, guess I'll need to figure out a way to optimize things. Thanks for the tip off! : )
remigius
remigius
If you have the original model available, in 3DS MAX (and undoubtedly in other packages) you have some UVW map option that will map a texure onto quads of a mesh. It's been some time since I used it but in MAX 5, I think it's the 'XYZ to UVW' option. Used with a correct texture (just an outline of a square) it can be used to get a retro-like effect like the one below. By using alphatesting on the center of the texture, you can make it a real wireframe.



And yes, I just had to show it off yet again [wink]

Topic Locked

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

Sign in to reply to this topic.