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

Pages: 1 ... 3 4 [5] 6 7 ... 16
61
Support / Group Scale
« on: September 24, 2014, 05:41:20 pm »
Do you know what would most definitely be useful? Group stuff. For instance, a World.groupAll() method followed by a World.getGroup(...).scale(10f). Up until this latest build of jpct there was no real way of knowing the scale of your scene. I'm finding too many scenes are either too small or too large for their own good (shadows, for instance, get hurt from this). Anyway, it's just a suggestion.

62
Bones / Morpher Issue?
« on: September 24, 2014, 08:42:30 am »
Raft, please check this (http://www.jpct.net/forum2/index.php/topic,4127.0.html) thread out. I went with the path of greater resistance but indeed greater results (Egon's second option). But in doing so, I think that I may have exposed a bug in bones.

The model has been re-rigged and exported as a two-part model (submesh0 for everything opaque and submesh1 for the furry parts). It looks phenomenal. But it had three morph targets in Max. Of those, I only used one (which is properly listed in OgreMax both for the fur and for the body--same names all around (fur has an "Idle" for Skin, body has an Idle for Skin, etc.)) in my idle animation. I'm fairly certain that as I execute the following code, only AnimatedGroup.get(0)'s morph is being used.
Code: [Select]
model.animateSkin(frame, currentAnimation);
model.applyAnimation();
if (poseClipSequence != null)
     model.animatePose(frame, currentPoseAnimation);//IT'S NOT NULL, AND THE MODEL IS BLINKING, BUT I DON'T THINK THAT THE FUR'S animatePose() IS BEING CALLED
model.applySkeletonPose();
model.applyAnimation();

63
Support / Transparency Sorting Issue
« on: September 22, 2014, 08:44:44 am »
Obviously, the right side one is the jpct-rendered one. The object is being set to a transparency value of 252. The texture has alpha channel, and is being initialized with true set in its constructor. For scale, I placed a cube as created by Primitives.getCube(5f). The sorting is less than desirable. Please advise how to address this. I've noticed that there's a setSortOffset method, but it (jpct docs lack this too often, in my opinion) gives us no idea of scale. Thanks in advance.


64
Support / Z Component in reproject2D3DWS?
« on: August 27, 2014, 02:35:18 pm »
What is the z component in this line?

Code: [Select]
Interact2D.reproject2D3DWS(theCamera, buffer, destination.x*Grid.SQUARE_SIZE, destination.y*Grid.SQUARE_SIZE, 1f);

65
Bones / AnimatedGroup.CrossFade?
« on: August 18, 2014, 10:30:28 pm »
Is there a way to transition gradually between one animation and another? Something along the lines of Unity's Animator.CrossFade (http://docs.unity3d.com/ScriptReference/Animator.CrossFade.html)? Because that's one of the main things that a rigged object can do that a vertex-animated one can't.

66
Bones / Multiple Textures on Single-Part Model
« on: August 16, 2014, 06:42:45 pm »
Raft, could you help me out with this thread, please?

http://www.jpct.net/forum2/index.php/topic,4054.0.html

67
Support / Two Textures On Single-Part Model
« on: August 16, 2014, 04:34:35 pm »
Is there a way for me to assign two diffuse texture maps to a single-part model, much like 3ds max can do for object ids (say, a texture map just for the head, another one for the body)? I have some critical models that need this.

68
Support / Is there something lwjgl-y about Polyline?
« on: August 03, 2014, 02:09:20 am »
Or have you just not made it available to the software renderer out of disinterest? It would be cool to have it in software...

By the way, is it just a coincidence that while I'm posting questions on the board nobody else seems to? For instance, I was trying to lend a hand during your vacation and as long as I was answering the questions but not asking them two or three people were constantly posting here. But as soon as I posted a question that changed. :- )

69
Support / No TAB For KeyMapper?
« on: July 30, 2014, 08:50:55 am »
PLEASE tell me that's not by design. But even if it is, could you change this? :- )

70
Bones / getRoot().getTransformedCenter() is Weird
« on: July 15, 2014, 10:27:10 pm »
As you translate a model by its root, its transformed center values don't look right even as the model moves the right way. I believe that that is a bug. Is it?

71
Support / Another Problem With That Iron Patriot
« on: July 08, 2014, 11:26:10 pm »
getTransformedCenter() is in front and underneath it, instead of in the center. There's no triangle whatsoever outside of the model (I have checked), and even calcCenter() doesn't help with that.

Between you and your soccer team, Germany is in great favor with me today. : -)

72
Support / How to Get Full Resolution
« on: June 24, 2014, 12:18:16 pm »
Even though I'm running my app on my Galaxy S4 (which should have a 1920x1080 resolution), onSurfaceChanged is giving me a 320x522 resolution, which does not look too great. Is there a way to tell mGLView to run at the device's full resolution? Is, perhaps, the S4 not full HD for 3D graphics (I doubt it)?

73
Support / Compile() Darkens My Ground Plane
« on: June 24, 2014, 05:14:00 am »
If I call compile() on any object in my game the ground becomes darker and stops matching the sky box. How come? And setAdditionalColor(Color.white) makes the ground blend into the sky box again, but destroys my shadows.

74
Support / Software Transparency Isn't Working
« on: May 24, 2014, 08:08:13 am »
Software transparency isn't working. I haven't tested the hardware in this case, but I am loading the Texture with the alpha boolean. It's not the legacy renderer, either. Have a look at the black rectangles for the crowds.

Code: [Select]
class Crowd {
     private Object3D[] planes;
     private Object3D pivot;
     public Crowd(World theWorld) {
planes = Loader.loadOBJ("Crowd.obj", "Crowd.mtl", 2f);
pivot = Object3D.createDummyObj();
for (int i = 0; i < planes.length; i++) {
planes[1].setTransparency(0);
     planes[i].setTransparencyMode(Object3D.TRANSPARENCY_MODE_DEFAULT);
     planes[i].setTexture("Torcida.png");
     pivot.addChild(planes[i]);
     theWorld.addObject(planes[i]);
}
     }
     public void setChildOf(Object3D parent) {
parent.addChild(pivot);
     }
}


75
Support / Software Renderer Precision
« on: May 19, 2014, 10:18:01 am »
I assume, without having tried it, that this problem wouldn't happen with the OpenGL renderer (it doesn't in Unity). Is there a way to increase the software renderer's precision when rendering these field lines (that obviously aren't textured, but modeled).


Pages: 1 ... 3 4 [5] 6 7 ... 16