Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

object visible when it's not

Featured Replies

for example i'm chopping a oak tree but if i angle myself there is walls blocking it so you can't actually see it despite the client saying it is visible.Is there a way I can tell if the oak tree is actually not visible to the eye etc.

Edited by rsnerd

I suppose it would be possible

 

Use the camera yaw angle to determine what positions are located between the tree and the viewport (not as difficult as it may sound).

Find all of the objects in these positions

Intersect the model areas of every one of these objects with the model area of the tree.

The remaining area (if any) is what should be visible on the screen.

Edited by FrostBug

I suppose it would be possible

 

Use the camera yaw angle to determine what positions are located between the tree and the viewport (not as difficult as it may sound).

Find all of the objects in these positions

Intersect the model areas of every one of these objects with the model area of the tree.

The remaining area (if any) is what should be visible on the screen.

 

Thats was what I was thinking... but it seems such overkill xD

How you determine if the model is infront or behind the object?

Edited by Khaleesi

Thats was what I was thinking... but it seems such overkill xD

How you determine if the model is infront or behind the object?

 

You could compare the camera yaw angle to the angle between the supposedly blocking object and the tree. If they differ more than ~90 degrees or so, it shouldn't be in front. The yaw angle might need to be translated first, though.

 

You could compare the camera yaw angle to the angle between the supposedly blocking object and the tree. If they differ more than ~90 degrees or so, it shouldn't be in front. The yaw angle might need to be translated first, though.

 

 

Ya, there is a lot of shit going on to get this idea working though.

Would like to see somebody try ^^

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.