Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   onwallpoly({polystuff}) (https://forums.graalonline.com/forums/showthread.php?t=78123)

DustyPorViva 12-29-2007 10:11 PM

onwallpoly({polystuff})
 
1 Attachment(s)
It's been proposed before but not even acknowledged. Can we please get an onwallpoly({polystuff}) that returns the x/y of the onwall/notonwall intersections?
Attached is an example. Say the white lines are the onwallpoly checks(of course, invisible). The yellow dots is what is returned in an array in the form of:
this.onwall=onwallpoly({polystuff});
Then this.onwall would be:
{{firstx,firsty},{secondx,secondy}}
and so on and so forth. This would allow more complicated checks and systems(like cars, lighting effects and such) to be done without having to run long loops that slow down Graal.

Crow 12-29-2007 10:30 PM

Mang, that would be nice!

Horrified 12-29-2007 11:02 PM

Do this, Stefan. Or I will have to kill you.

Angel_Light 12-30-2007 08:38 AM

Quote:

Originally Posted by Horrified (Post 1366702)
Do this, Stefan. Or I will have to kill you.

Get in line. :P

cbk1994 12-30-2007 04:54 PM

Do it please ;o

Novo 12-30-2007 05:50 PM

Why not just generate a polygon that is the onwall portion of the polygon presented? ( The polygon returned would be that of the polygon you had minus the not-onwall )

DustyPorViva 12-30-2007 06:11 PM

Well I figured if you're doing onwall checks, the only thing you're really interested in is the intersects of the wall/offwall... I figured having every onwall pixel the polygon is on returning would be quite a heft chunk of an array.

cbk1994 12-30-2007 08:29 PM

Works for me. Add thus feature

Chompy 01-01-2008 04:19 AM

That would be awesome for a project I'm doing, please Stefan, add this!


All times are GMT +2. The time now is 10:19 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.