|
| 22 Nov 2012 01:31 PM |
| I'm looking for a way to check if someone can "see" a model. I was trying to use a raycast loop, but a raycast loop just seems to be a BAD idea, because it induces ENORMOUS lag, even if I only do it once a second. So, I was thinking, does anyone have an idea as to how I could create an algorithm that takes the player's camera's CoordinateFrame, Focus, and FieldOfView to check if the position of one brick would be caught in the camera's view or not. |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
| |
|
|
| 22 Nov 2012 01:35 PM |
| I've done half if this. The half where it takes into account field of view is not yet finished. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 01:35 PM |
| Yeah, I was planning on using variables. I'm asking for help on the actual algorithm. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 02:09 PM |
| Does anybody else have any help with this algorithm? |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 07:45 PM |
| I can't resist bumping this. :P |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2012 08:07 PM |
| Get me the relationship of screen width, field of view, and studs, and I'll perfect my algorithm. |
|
|
| Report Abuse |
|
|
layn333
|
  |
| Joined: 27 Dec 2007 |
| Total Posts: 2174 |
|
|
| 22 Nov 2012 08:47 PM |
| Okay, this has nothing to do with the thread, but I just logged on for the first time in a couple years and I am extremely glad AFF is still helping out in the forums. You're greatly appreciated! |
|
|
| Report Abuse |
|
|
| |
|