Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  3D to 2D  (Read 673 times)
0 Members and 2 Guests are viewing this topic.
Offline tuxan

JGO n00b
*

Posts: 7



« on: 2010-09-05 19:54:56 »

Hi,

I'm new and me english is really bad   Sad

I'm doing a software that loads a 3D model (collada with XMLBeans).
In some parts of the scene I need to display text, for this I need the 2d coordinates for the point 3d of the scene.
I'm using perspective projection.

my question is: How do I get the 2D coordinates of one 3D point?

thanks
Offline Orangy Tang

JGO Kernel
*****

Posts: 2959
Medals: 37


Monkey for a head


« Reply #1 on: 2010-09-05 20:41:09 »

gluProject

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline tuxan

JGO n00b
*

Posts: 7



« Reply #2 on: 2010-09-05 22:58:09 »

Concise and accurate.

Thanks Orangy Tang
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 20 queries.