Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Selecting a single surface in a matrix

Author
Message
Bren
22
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Belgium
Posted: 23rd Nov 2003 03:09
I was wondering if it's possible to pick one of the surfaces in a matrix. Pick object works on normal objects, so I would be able to do this if I would create and position every plain independently. But atm I'm using a matrix, so I was wondering if this is possible.

If the camera would be looking straight at the matrix, this ofcourse would be no problem. But the user has the ability to move the camera freely in all directions. So if he's looking at a angle it's more difficult.

Games don't kill ...
I do!
http://www.gamingzone.be the ultimate gaming community
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 23rd Nov 2003 03:36
Here's a version I wrote. Needs a bit of tidying up but at least it works for any camera position and angle.




Boo!
Bren
22
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Belgium
Posted: 23rd Nov 2003 13:49
Thanks alot spooky

Games don't kill ...
I do!
http://www.gamingzone.be the ultimate gaming community

Login to post a reply

Server time is: 2026-07-26 15:31:34
Your offset time is: 2026-07-26 15:31:34