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 / Need HELP with Vertexes/Points based on screen coordinates

Author
Message
danpriv
15
Years of Service
User Offline
Joined: 8th Jul 2011
Location:
Posted: 8th Jul 2011 12:10
Hi All

I'm completely new to DB Pro (and BT) and fairly desperate by now...!

Searching all the forums and the code base, plus google was unsuccessful so far. It could be that i was blind or stupid, but i cannot find a solution for the following situation:

I need to find out a vertexes/points row and column on a (bt)terrain, based on the 3D mouse position.

Is there a neat solution for that?

Thanks for any help in advance!!!!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 8th Jul 2011 19:12
I don't personally own BT but if you don't get an answer here why not post the question on the Blitz Terrain plugin thread here: http://forum.thegamecreators.com/?m=forum_view&t=181060&b=1

Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 9th Jul 2011 13:03
You need to make the sector objects ( I believe the command is BT Make Sector Object ) then use the normal pick object and pick vector commands to find the position.

danpriv
15
Years of Service
User Offline
Joined: 8th Jul 2011
Location:
Posted: 9th Jul 2011 21:16
OK, i will try that.

Thanks for your answers!

Cheers

Login to post a reply

Server time is: 2026-07-11 02:37:06
Your offset time is: 2026-07-11 02:37:06