View Full Version : Coordinates of an edge outline
nicky
12-05-2001, 05:17 PM
Hi, I looked through the tutotial on cel shading on gamedev.net and undersatnd how to get the outline of the object drawn, but I wish to know how I can get the coordinates of the outline that is drawn. Is it possible?
Of course is it possible, YOU are drawing it, so you have theese coordinates ! http://www.opengl.org/discussion_boards/ubb/biggrin.gif
Be more precise in the question!
Do u mean you want the transformed vertex coordinates ? (if so , just get the actual matrix and multiply it with your vertices).
Do you mean you want to know which vertices are drawn for the wireframe back faces ?? (this implies you do a dot product from the viewpoint to the normal of the vertex, that way you can understand if a vertex is visible or not)
hope it helps
rIO.sK
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.