Help with projecting verts

Blitz3D Forums/Blitz3D Programming/Help with projecting verts

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

	
	Else ; behind camera
		f# = Zoom * grHalfWidth
		ScreenX = (-x*f)/z + grHalfWidth
		ScreenY = grHeight - ((-y*f)/z + grHalfHeight)
	End If	


or, equally...

	Else ; behind camera
		f# = -Zoom * grHalfWidth
		ScreenX = (x*f)/z + grHalfWidth
		ScreenY = grHeight - ((y*f)/z + grHalfHeight)
	End If	


Perhaps? Is this what you want?