File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hiding Faces In 3D Checkers.

 
Sagi senderovich
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic