Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
z3phyr
on March 21, 2020
|
parent
|
context
|
favorite
| on:
Stanford CS248: Implement an SVG Rasterizer
The first triangle is still in 3d space but the z coordinates are set to 0
manfredo
on March 21, 2020
[–]
Or you can just not define a z coordinate in the vertex buffer object (at least, in opengl). I think the vertex shader might still need to output a 3rd coordinate. But you can always just discard it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: