Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Coders Lounge › What is World To Screen?

What is World To Screen?

Posts 1–4 of 4 · Page 1 of 1
U.
u.A.v.A
What is World To Screen?
I am new at hacking so please explain to me what is WorldToScreen?


Thank you
#1 · 14y ago
25
258456
It is a function where it takes three dimensional coordinates and makes them two dimensional coordinates so u can work with them easier.

For example, this is how name esp is made. You get the two dimensional coordinates of the players body position and then u just add some to the y coordinate to position their name above their head, or below if that floats ur boat
#2 · edited 14y ago · 14y ago
Hell_Demon
Hell_Demon
Gameworlds are a 3 dimensional space, You can move up/down, left/right and forward/backwards. Your screen however is 2 dimensional, you can only go left/right and up/down.

World to Screen basically allows you to calculate the screen coordinates for a given world coordinate using some advanced maths.
Typically you'll need the following:
* Camera position
* Camera rotation
* Camera field of view(fov)
* Screen resolution
* A point in the world that you want to know the screen coordinates of.

If you have all of those you can calculate the screen position with some fancy maths. There's different approaches, the only one I've worked with is roughly the following:
Calculate the angles to aim at the point you want to convert.
is within our field of view(thus the difference is between -0.5*fov and 0.5*fov)?
If not: it's not on our screen
If it is: do the following(hard to explain in only words so here's a little drawing)


So, lets say we've done the maths(you should be able to figure out what to do based on the information below)
We've found that the length of the plane is 100 units(from -50 to 50 to make it easier to follow), and our enemy is at -20.
Our screen is 1920 in width.
Now we can calculate that every full unit is 1920/100 = 19.2 pixels.
We'll work from the middle of our screen, -20 * 19.2 + 960 = 576, so our enemy is at X = 576 on our screen.

The same stuff applies to the height on the screen, except you won't use 90 as FOV. you'll have to divide it by your aspect ratio to get the horizontal fov.
#3 · 14y ago
U.
u.A.v.A
I just figure it out yesterday but @Hell_Demon thanks for the extra information
#4 · 14y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • ~what is the best screen recorder~By ~Tabuzo013~ in CrossFire Help
    4Last post 16y ago
  • World 2 Screen?By Xlilzoosk8rX in Combat Arms Coding Help & Discussion
    30Last post 15y ago
  • What is the best screen recorderBy MIRV in Alliance of Valiant Arms (AVA) Help
    4Last post 14y ago
  • This is what the world is coming to..By Donnuh in General
    15Last post 14y ago
  • What is the best screen recorder!By ii bandos ii in Suggestions, Requests & General Help
    3Last post 14y ago

Tags for this Thread

None