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 - CarlosMB89

Pages: [1]
Support / Child object transformation
« on: July 22, 2015, 03:25:45 pm »
Hello Olsen

My doubt is about world transformation matrix of child objects 3D.

I want to add an object (objectChild) with a specific orientation and position to another object (objectParent) which has been rotated and translated in the world space. My problem is that when I add my objectChild to the objectParent, the current position and orientation of the objectChild changes due to the tranformationMatrix of the objectParent.

Is there any way to add the objectChild and  doesn't change its position and orientation at the moment of adding it to the parent??

Thanks in advance.

Support / Modify Primitive properties
« on: June 27, 2015, 01:01:01 pm »

I was developing an app for Android with JPCT and I would like to change the height of a cylinder dinamically.

Would it be possible? Because I didn't found any method to do that.

Thanks in advance.

I'm creating an array of more than 200 spheres for adding them to the world, but when 200 spheres more or less are created the app crashes and this error appear ("OutOfMemory).

Do you know what is the reason?? Because it sounds strange a out of memory error for only 200 spheres.....


Support / Android Operative System goes very slow when I rotate the camera
« on: December 03, 2014, 01:41:02 pm »
Hello I have a problem. I'm developing an app with a 3D view integrated into the activity. My problem is that when I move/rotate the camera the devices goes very very slow when a short time has spent.

I don`t know what causes the problem.

the code I use is the next: (I get the camera from the world world.getCamera())

public void rotate camera(moveX,moveY)
         camera.rotateX((float) Math.toRadians(moveY));
         camera.moveCamera(Camera.CAMERA_MOVEOUT, camDist);


I call this function by the main thread, when I touch the screen.

Any suggestion??

Pages: [1]