Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World of Padman vertex poly sorting #185

Closed
zturtleman opened this issue Mar 3, 2014 · 2 comments
Closed

World of Padman vertex poly sorting #185

zturtleman opened this issue Mar 3, 2014 · 2 comments

Comments

@zturtleman
Copy link
Member

The World of Padman renderer sorts polys added using RE_AddPolyToScene, the level for sort is stored in the st[0] of vertex 0. Level 0 is not sorted.

Sprites would benefit from distance sorting, would it work for "spray your color" polys? Otherwise adding level for sort to poly syscall or ref entity structure might be best.

@zturtleman zturtleman added this to the Spearmint 1.0 PLUS EDITION milestone Mar 3, 2014
@zturtleman zturtleman modified the milestones: Spearmint 0.2, Spearmint 1.0 May 9, 2015
@zturtleman
Copy link
Member Author

Added renderer support for custom AddPolyToScene draw order in fc1a985. Still need to enable CGame to pass sortLevel to AddPolyToScene, which will be an API change.

@zturtleman
Copy link
Member Author

Added sort level to CGame API in devil branch: a97cfac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant