Sign in to follow this  

Translated Point to World Coordinates - Billboarding

Recommended Posts

Greetings, I have used a billboarding technique (from NeHe of course) and it works great (btw-thanks). I have a cube representing a block of 3D space with shipts, etc. and the billboard is inside (it's actually identifies a target to shoot at). By using this technique, the box around the target always displays toward the viewer. Kewl. (hard to explain without seeing it, but here's what I'd like to do) I'd like to use this same technique to plot a 3d point within the cube so that you can move to it. For example, I make a plane in the center of the cube that always faces me - where the size of it equates to about the same size as the cube. As you spin the world, the plane passes through numerous points that I would like to identify. So, for example you spin the cube around and the billboard crosses a point in space - I'd like to select that point on the screen as a waypoint. Problem: I have translated to (15,15,15) and used that translated point to draw lines,circles, etc. on a plane facing me., but I can't figure out how to change one of those points to a real-world coordinate. Any help will do - or point me to somewhere I can read up on this. I doubt I'm the first to run across this :) Thanks

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this