nnpa
August 7, 2017, 2:48pm
1
blender:
source:
skeletonControl = moveSpatial.getControl(SkeletonControl.class);
gunHand = skeletonControl.getAttachmentsNode("palm.right");
Spatial gunSpatial = assetManager.loadModel("Models/" + gun.model + ".j3o");
gun.node_id = gunHand.attachChild(gunSpatial);
gunSpatial.setLocalTranslation(gun.translationX, gun.translationY, gun.translationZ);
Could you upload the model file?
nnpa
August 7, 2017, 2:54pm
4
I think you have a light in your game that is summed to the light you have in the scene.
nnpa
August 7, 2017, 3:44pm
9
no character not have light gun hot have light (lamp) 1
Then maybe you have too much light in your scene.
you can load it in the SS Editor and see what you have there
Paste your source code that sets the directionalLight and/or ambientLight in your scene.
You have to weaken the intensity of the lights that you have attached to the scene.
1 Like
nnpa
August 7, 2017, 4:22pm
15
private void setUpLight() {
// We add light so we see the scene
AmbientLight al = new AmbientLight();
al.setColor(ColorRGBA.White.mult(0.8f));
rootNode.addLight(al);
DirectionalLight dl = new DirectionalLight();
dl.setColor(ColorRGBA.White);
dl.setDirection(new Vector3f(2.8f, -2.8f, -2.8f).normalizeLocal());
rootNode.addLight(dl);
}
nnpa
August 7, 2017, 4:30pm
16
What is the advantage of the editor?
Scene Editor, Model Editor and Material Editor are more advanced than the same compoments from SDK.
and there is russian localization
1 Like
nnpa
August 7, 2017, 4:41pm
19
Thanks don’t know how to uninstall editor… i use blender… good for rotate and translate.
mitm
August 7, 2017, 4:44pm
20
The specular on your man model is to high for one thing, that’s why the clothes and skin look shiny.
Typically when I get white for a model like this I find it is due to forgetting to UV map the material.
1 Like
nnpa
August 7, 2017, 4:55pm
21
yes model don’t java uv map… what if I make it transparent.
nnpa
August 7, 2017, 5:08pm
22
mitm:
The specular on your man model is to high for one thing, that’s why the clothes and skin look shiny.
Typically when I get white for a model like this I find it is due to forgetting to UV map the material.
if i add alpha texture? transparency?