R_BeginPolygon stuff in darkplaces
Posted: Mon Feb 18, 2013 4:28 pm
I've been experimenting with this extension in Darkplaces and it's great. My goal is to create a radar map in the HUD (like xonotic) but simplified, and with the zoom in option.Now, I have a couple of questions:
in "void(vector org, vector texcoords, vector rgb, float alpha) R_PolygonVertex"
What means exactly "org" and "textcoords"? under what parameters are based these vectors ? how could I draw a picture and increase a zoom value without this pucture increase in scale?.
in "void(string texturename, float flag, ...) R_BeginPolygon"
What means "float flag, ..." What parameters can be added to a picture with this function?
if someone could explain how these functions work exactly would be great
in "void(vector org, vector texcoords, vector rgb, float alpha) R_PolygonVertex"
What means exactly "org" and "textcoords"? under what parameters are based these vectors ? how could I draw a picture and increase a zoom value without this pucture increase in scale?.
in "void(string texturename, float flag, ...) R_BeginPolygon"
What means "float flag, ..." What parameters can be added to a picture with this function?
if someone could explain how these functions work exactly would be great