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.


Messages - CarlosMB89

Pages: [1]
1
Support / Re: Child object transformation
« on: July 24, 2015, 11:00:01 am »
Thanks Egon

I reversed the position to the initial one and I add the new object. It worked.

Thanks

2
Support / Re: Child object transformation
« on: July 22, 2015, 04:37:29 pm »
I want that when I add an object to the end articulation, it will be drawn with the previous orientation and in the center of the end articulation.

3
Support / Re: Child object transformation
« on: July 22, 2015, 04:32:34 pm »
My case is that I have a robot with 6 articulation (objects) and each object is child of the previous one, so if I move one articulation the rest of the objects will move too.

What I want to do is to add an object to the end articulation(object), so it will move with the rest of articulations.

My problem is that when I add that object as a child of the end articulation, it is placed to another position and orientation different of the previous it  had before being added.

I don,t know how to avoid it.

Thanks

4
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.

5
Support / Re: Modify Primitive properties
« on: July 15, 2015, 10:56:34 am »
This means that my cylinder grows along the positive X axis and then it grows about the negative X axis, but when it grows this way the lights turn off....

6
Support / Re: Modify Primitive properties
« on: July 09, 2015, 05:25:12 pm »
Ok, sorry, I fixed it. The problem was as you said thai I changed the orientation of the object before.
But I still have a problem about the light as you said as well.

When the object grows in the oposite direction, the lights of the object turns off. It has no illumination. How can I fix it?

Thank you

7
Support / Re: Modify Primitive properties
« on: July 09, 2015, 09:03:19 am »
Hello Egon, I tried it but the height doesn't change. It has no effect. What could I do then??

Thank you

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

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.

9
No, I only use the texturized robot you can see in the image I posted in the first reply. I load it from a serialized file created by the jpct serializer plugin for eclipse. But that effect happens aswell if oone object is loaded to the scene. Do you know any solution I could try to find the problem??

Thanks in advance

10
No my scene shows the same number of objects. Im using a nexus 10,  I tried it at other devices and the effect is lower than nexus 10  but it appear as well.:s
Maybe any other way to rotate the camera?

Sorry my email is carlos.mateo@upm.es   .....I forgot to write  the point ....

Thank you very much!!!

11
Support / Re: Device goes very slow when I move/rotate the camera
« on: December 04, 2014, 01:21:25 am »
No, the log doesn't send any message. It is very strange because only happens when I rotate the camera around 45 degrees....if I rotate the camera again to the initial position I set at the begining the app comes back to the normality :S

12
Support / Re: Device goes very slow when I move/rotate the camera
« on: December 03, 2014, 11:45:19 pm »
Hello EgonOlsen, sorry if I didn`t explain myself so well. I mean that when I rotate the camera (I rotate it when I touch the screen) the fps goes down to 10 and the Android Operative System goes very slow, for example, the drop down Android menu goes very slow as well. It only happens when I rotate the camera. When I close the app, the system come back to normality.

I don,t know why it happens...it's like I would have a memory leak but I only rotate the camera....if I do a zoom or translation in the camera the system goes normal.

Do you know what can be the reason??

Thanks in advance

13
Oh it works thank you very much EgonOlsen ;) ;). But I have one question....my curiosity XD... if android devices have so little memory...how does they run some games as Asphalt 8 for example, they have lots of 3D objects I suppose.

Thanks in advance

14
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.....

Thanks

15
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.moveCamera(Camera.CAMERA_MOVEIN,camDist);
   
         
         camera.rotateY((float)Math.toRadians(moveX));
         camera.rotateX((float) Math.toRadians(moveY));
         
         
         camera.moveCamera(Camera.CAMERA_MOVEOUT, camDist);
         camera.lookAt(cameraLookPosition);

}

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

Any suggestion??

Pages: [1]