Advertisement

wireframes

Started by December 25, 2001 07:00 AM
2 comments, last by dirtypope 23 years, 2 months ago
ive never really looked into this until now, but is there a way i can display my models and stuff as just their wireframe? thanks in advance -dirty-
Theres no such thing as stupid people... only people with under clocked brains. -dirty
Yes, there is.

As for how much i can help you, it all depends on what your using for rendering.

If your using OpenGL, then when you render the models tris, use GL_LINES instead of GL_TRIANGLE_STRIP or whatever it is that your using.

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan Name: [email=darkswordtbj@hotmail.com]TheBlackJester[/email]Team: Wildfire Games
Projects O A.D.The Last Alliance

Advertisement
even easier way... simply call glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)

This will draw all polygons as a wireframe (regardless of how you send them... GL_QUADS, GL_TRIANGLE_STRIP, whatever). To restore it to normal (default) setting, call glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
thanks a ton guys, i appreciate it.
Theres no such thing as stupid people... only people with under clocked brains. -dirty

This topic is closed to new replies.

Advertisement