Gamestudio Links
Zorro Links
Newest Posts
how to plot a price curve and an indicator
by danatrader. 04/05/20 21:02
Unregister cloth
by 3run. 04/05/20 19:20
Cannot write a fac file
by jbhunter. 04/05/20 14:30
Imgui Lite-c Development
by alibaba. 04/05/20 11:47
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
11 registered members (kalmar, alibaba, AndrewAMD, jbhunter, beo, 3run, danatrader, MatPed, jj02520024, kvm), 615 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
beo, marsz, gonzalez21, Cobus, HF_Psy
18411 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 Offline OP
User
Dooley  Offline 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 Offline OP
User
Dooley  Offline 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