Shooting in 3D!

November 11, 2011 § Leave a comment

So shooting in 3D has always been a problem for me. I have always thought these types of problems (anything to do with transposing between multiple dimensions) had to be approached manually. Luckily for me, processing can translate it’s 3D co-ordinates to screen co-ordinates with screenX and screenY !

It was then a simple matter of detecting objects that were close to the cursor by their relative viewability, and z-depth. As such, direct selection of objects could be obtained, as well as the ability to ‘auto-target’ targets.

 ( Auto-selection (Green) of two objects due to their positions and relative buffer sizes. )

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Shooting in 3D! at DECO } Han.

meta