how can I do to change the screen resolution with the program running?
using displayGL
using displayGL
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.
Show posts Menu for (float i = 0; i < 25; i++) {
ball.rotateZ((float) ((2.0f / 25) * Math.PI));
cube = Primitives.getCube(1);
cube.translate((float) (10 * Math.sin(i * (2f / 25f) * Math.PI)),
(float) (10 * Math.cos(i * (2f / 25f) * Math.PI)), 0);
cube.setRotationMatrix(ball.getRotationMatrix().cloneMatrix());
ball.addChild(cube);
world.addObject(cube);
}
{
if (xpos != -1) {
SimpleVector dir = Interact2D.reproject2D3DWS(cam,
fb, (int) xpos, (int) ypos);
dir.matMul(world.getCamera().getBack().invert3x3());
dir.add(world.getCamera().getPosition());
Object[] res = world.calcMinDistanceAndObject3D(
cam.getPosition(), dir, 10000);
if (res[1] != null)
player_Corpo.setAdditionalColor(RGBColor.WHITE);
else
player_Corpo.setAdditionalColor(RGBColor.BLUE);
}
}
Quote from: raft on August 09, 2010, 03:44:00 AMYou are right...
ok, it looks strange but how does it look in Ogre viewer ? I suspect it's fault of exporter you use..
try downloading ogremax and open your files with the viewer.
Page created in 0.019 seconds with 12 queries.