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 ... 15
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. :- )

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? :- )

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?

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. : -)

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)?

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.

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++) {
     public void setChildOf(Object3D parent) {

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

Bones / OgreMax
« on: May 11, 2014, 07:02:25 am »
Either the developer of OgreMax really doesn't like me (can't think of any reason for that) or I have cause for concern that OgreMax might not be getting updated. If that happens, could you, raft, be persuaded to support another 3ds Max-exportable format?

Support / Collision Trouble
« on: May 04, 2014, 02:02:12 am »
I'm trying to have my character collide against walls without getting stuck or ever going through them. The following code is problematic. My question is broad, I know, but maybe I'm doing something wrong...

Code: [Select]
     private SimpleVector collide(SimpleVector directionToHead) {
SimpleVector direction = hero.get(0).checkForCollisionEllipsoid(directionToHead, new SimpleVector(.15f, 2f, .15f), 5);//.5f, 2f, .5f), 5
if (directionToHead.x != direction.x || directionToHead.z != direction.z) {
     collidedThisFrame = true;
     float multiplier = -2f;
     if (currentAnimation == WALKS)
multiplier = -3.5f;
     direction.x = multiplier*directionToHead.x;
     direction.z = multiplier*directionToHead.z;
else collidedThisFrame = false;
return direction;

I'm writing a simple particle system, but World.renderScene(FB) is crashing with an ArrayIndexOutOfBoundsException. The following is my console.

C:\MyPrograms\3D\Algorithms\ParticleSystems\Flames>java -classpath jpct.jar;. MyFrame
Java version is: 1.7.0_51
-> support for BufferedImage
Version helper for 1.5+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Loading Texture...Flames.jpg
New WorldProcessor created using 1 thread(s) and granularity of 1!
Creating new world processor buffer for thread main
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
        at com.threed.jpct.Object3D.render(
        at com.threed.jpct.WorldProcessor.processInternal(
        at com.threed.jpct.WorldProcessor.process(
        at com.threed.jpct.World.renderScene(
        at MyFrame.loop(
        at MyFrame.<init>(
        at MyFrame.main(
Terminate batch job (Y/N)?

By the way, if I don't call    camera.moveCamera(Camera.CAMERA_MOVEOUT, 2f), it doesn't crash (but I still don't see anything).

Support / How do I do Object3D.rotate(SimpleVector)
« on: March 27, 2014, 03:40:47 am »
Surely, the equivalent (I'm porting code from the old irrlicht engine) isn't:
Code: [Select]

Is it?

Feedback / Feature Requests
« on: March 22, 2014, 10:34:08 pm »
You could have a message board just for feature requests. :- )

Anyway, here are mine: cube-mapping and update for newer shader grammar (lines like layout (location = 0) in vec3 VertexPosition don't currently compile).

When I rotateMesh() and clearRotation() of a plane acquired by Primitives.getPlane(40, 1), my vertex shader doesn't work in the proper axis. If I leave the rotation in its matrix, it works fine. That has to be considered a bug, right?

Only some of my computers produce this error (a laptop with both an NVidia graphics chip and an Intel one and a desktop using onboard graphics), but when I get this the screen starts blinking and the game doesn't run. This is for the hardware renderer. I'm using lwjgl 2.9.1, for whatever it's worth.

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