Main Menu
Menu

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.

Show posts Menu

Messages - Gohome

#1
Support / Recommend 3D texture tool ?
September 03, 2012, 08:32:46 AM
I have a problem on 3D model texture. I want to do Chinese chess textures, but I have no idea how to do it.
I have tried mudbox, but this tool is hard to use. I also found another tool, zbrush. But in free version, it can not export textures.
So, I want to ask which tool is easy to use ,export textures and free. Or others suggestions.
Thanks a lot :)
Sorry for my poor English   m(_  _)m
#2
Support / [JBullet] A new rigidBody problem.
August 06, 2012, 10:59:03 AM
I have a cylinder object with its rigidBody on a plane. I want to move this object without physics.  But the object seems to locked by its rigidBody. It means I only can move the object by moving its rigidBody with setLinearVelocity(). This is not what I want.  So, I stop simulate physics and remove its rigidBody when I move the object. And when I drop it, I restart the sumulation and add a new rigidBody to the object. This solution runs good, but here comes the problem.

According to the requirement of my program, this object is upside down when it moves.(Fliped) But when I drop it, the object upside down again.(Not Fliped) It is not correct. And I can not find out any functions to set the initial rotation of the new rigidBody. Is this problem have any solutions?
#3
To Thomas.
I'll try it. Thank you. :)

To EgonOlsen
No, I didn't use the function.
#4
I want to drag or upside down the picked object. But now if I touch the object, nothing was happened.
#5
Support / How to pick and move object on a plane?
July 23, 2012, 02:48:48 PM
I create a fixed plane and a fixed camera. And I put objects on the plane. With these codes, I can pick a specific object and remove it correctly. But, if I replace the codes doing remove with rotate or translate. Then it doesn't work.

Remove
public void pickChess() {
SimpleVector dir = Interact2D.reproject2D3DWS(cam, fb, (int)firstX, (int)firstY).normalize();
Object[] res = world.calcMinDistanceAndObject3D(cam.getPosition(), dir, 10000 /*or whatever*/);

if (res[1] != null) {
    Object3D pickedObj = (Object3D)res[1];

    RigidBody box = (RigidBody)pickedObj.getUserObject();
    bodyList.remove(pickedObj.getUserObject());
    dynamicWorld.removeRigidBody(box);
    world.removeObject(pickedObj);
}
}



Rotate
public void pickChess() {
SimpleVector dir = Interact2D.reproject2D3DWS(cam, fb, (int)firstX, (int)firstY).normalize();
Object[] res = world.calcMinDistanceAndObject3D(cam.getPosition(), dir, 10000 /*or whatever*/);

if (res[1] != null) {
    Object3D pickedObj = (Object3D)res[1];

    pickedObj.rotateX(50);
}
}]


What happened? Thanks.

Gohome