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 programming in Pure Java + Half polygon mesh in  (Read 1425 times)
0 Members and 2 Guests are viewing this topic.
Offline OhMyGodIsJava

JGO n00b
*

Posts: 3


Java games rock!


« on: 2003-11-17 17:22:56 »

Hi there everyone.


I am new to 3D programming.
I have a polygon mesh but it is just a half of a human face.
i downloaded it from the net, i think it is generated (exported) by some 3D software.

i have just learn how to do the parllal projection, so when i display the half face polygon, it only shown somethings, it doesn't look like anything..

so my question is, How can i display the half face into a face?( in pure Java).

and can i translate the half face into a full face polygon mesh? then i can directly project into a vc?

for example :

if i got 3 points (2,45,52) (5,44,47) (1,42.5,49), it will only display a triangle so how can i make a duplication in a oppsite way?

and if i got 2 points (15,36,39) (13.5,26,38), how can i make it as a square??

is there any transformation can do that?

please i am very new to this, so pls try to explain a bit more details.

(or any website or books that i could read on?)


thanks for ur times
(-0_                      <-half
(-0__0-)               <-full??

Many thanks.


Offline nonnus29

JGO Ninja
***

Posts: 687


Giving Java a second chance after ludumdare fiasco


« Reply #1 on: 2003-11-18 13:47:54 »

Guess I'll take a stab at this;

For a good introduction to 3d with OpenGL see the tutorials here:

http://nehe.gamedev.net/

And you can use JOGL to do opengl with Java:

https://jogl.dev.java.net/

And I don't know the answer to you question about mirroring vertices; if you can define a plane you should be able to do it, but I don't know how.
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.057 seconds with 19 queries.