Gamestudio Links
Zorro Links
Newest Posts
MT4 bridge: Check account number
by tradingest. 04/07/20 13:12
call(3+16, saveTrades, 0, 1.0);
by MatPed. 04/07/20 13:08
dead links
by jcl. 04/07/20 12:27
Zorro and IB Gateway
by cwford. 04/07/20 00:31
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
14 registered members (AndrewAMD, Quad, Paulius, HF_Psy, alibaba, 3run, beo, danatrader, beetrader, Dooley, 1 invisible), 621 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rruuvvii, vishal, tanhwuser, beo, marsz
18414 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Question about Clipping #478919
01/13/20 04:07
01/13/20 04:07
Joined: May 2005
Posts: 724
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 724
Chicago, IL
I know that entities get clipped when they are past the clip_far range. However, how you one determine whether an entity is within the camera's arc of visibility?

For instance, it might be near enough to render, but somewhere off to the side, or behind the camera, and would not be visible...

Is there a flag or variable that is set when an entity is both within the clipping range, and withing the camera's actual arc?

Last edited by Dooley; 01/13/20 04:09.
Re: Question about Clipping [Re: Dooley] #478920
01/13/20 04:16
01/13/20 04:16
Joined: May 2005
Posts: 724
Chicago, IL
Dooley Online OP
User
Dooley  Online OP
User

Joined: May 2005
Posts: 724
Chicago, IL
Ah ... I think I found it. It is the CLIPPED eflag.

if (!(my.eflags&CLIPPED)) //if I am not clipped...


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1