Z value of all the quads
Posted: Tue Feb 09, 2010 20:34
When I'm implementing my own renderer module, it seems that all the quad's Z value are 0.
I did some tracing, setTranslation() and appendGeometry() always pass me something with Z equal to 0. It seems that the function that pass me the vertex/vector are hard-coding the Z value to 0, they are from Window::updateGeometryRenderSettings() and Imageset::draw() respectively.
Am I suppose to u use what I get from these functions or there is another way to figure out layering?
I'm using 0.7.0.
I did some tracing, setTranslation() and appendGeometry() always pass me something with Z equal to 0. It seems that the function that pass me the vertex/vector are hard-coding the Z value to 0, they are from Window::updateGeometryRenderSettings() and Imageset::draw() respectively.
Am I suppose to u use what I get from these functions or there is another way to figure out layering?
I'm using 0.7.0.