Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Moraff

Pages: [1]
1
Support / Multiple textures on one cube
« on: September 30, 2011, 05:00:20 pm »
I've been trying to put a different picture on each side of a cube. I was able to do it by creating 6 planes and making them a cube, but three planes always faced the wrong way (into the interior of the cube). I am trying to build a 3D gaming framework for creating educational software that uses a lot of images on 3D blocks.

My second question is whether there is a way to transform a cube after it is created that will allow scaling control for each of the x, y, and z axis independently. I created an awesome animation system for Java2D that allows a lot of transforms to unwind, but I want to adapt it for 3D transforms. Should I access the object's matrix? If so, is there documentation on the structure of the jpct 3D matrix?

I am new to real 3D programming and jpct, so thanks for your patience!

Steve Moraff

Pages: [1]