ToScreen()

How would I get the ToScreen() function to work with a renderview ?

[lua]
x = relativeAngleToView.Yaw/(FOV/2)
y = relativeAngleToView.Pitch*ScrH()/ScrW()/(FOV/2)
[/lua]
Something like that. relativeAngleToView is the angle from the position you provide to the view origin, but relative to the view direction.

FOV = field of view, didn’t use that in the renderview, is there a standard value ?

[editline]10:26PM[/editline]

Also do you know how to make player models show ?

**[Player.GetFOV

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.GetFOV)**