File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Game Development and the fly likes Hiding Faces In 3D Checkers. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Hiding Faces In 3D Checkers." Watch "Hiding Faces In 3D Checkers." New topic
Author

Hiding Faces In 3D Checkers.

Sagi senderovich
Greenhorn

Joined: Mar 22, 2013
Posts: 1
Hi,I'm trying to develop a 3D checkers game using Java. I wrote a 3D piece but I've been having trouble with hiding it's faces so the user won't be able to see through it.

this is the code I wrote to see what face is needed to be covered:

and then:

then paint over...

I've used this exact function on a 3D cube with little twiks and it works ok.

Please show me any logical errors you may see in the function or suggest a better one.


Thank's a lot guys.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hiding Faces In 3D Checkers.