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

Pages: [1]
1
Feedback / Open source
« on: June 13, 2006, 04:30:01 pm »
jPCT is free and develloped with Java. I can't understand why it's not distributed as open source library.:roll:

What's your explanation ?

2
Support / RotationMatrix
« on: June 05, 2006, 12:39:44 pm »
How can I calculate the angle from a RotationMatrix ?

thx

3
Support / Optimization
« on: May 21, 2006, 05:14:14 pm »
How can I improve performance of my renderer ?

by reducing quality ?

4
Support / logo
« on: May 21, 2006, 11:29:14 am »
Do you have a little logo which I can add on my project's website ? (each month I have more than 1500 visitors)

5
Support / harware
« on: April 27, 2006, 10:34:35 pm »
How can I directly initialize jPCT ? I must do that currently :

Code: [Select]
buffer = new FrameBuffer(Configuration.width, Configuration.height, FrameBuffer.SAMPLINGMODE_NORMAL);
buffer.enableRenderer(IRenderer.RENDERER_SOFTWARE);
buffer.setBoundingBoxMode(FrameBuffer.BOUNDINGBOX_NOT_USED);
buffer.enableRenderer(IRenderer.RENDERER_OPENGL, IRenderer.MODE_OPENGL);
buffer.disableRenderer(IRenderer.RENDERER_SOFTWARE);


thx

6
Projects / JFlightSim
« on: April 27, 2006, 09:48:45 pm »
Hello,

I present my project : a flight simulator ;) You can download it on the website . You will found screenshots and movies. I'm sorry but I'm french then... the site is in french but on the forum I've open an english corner

www.devcat.org/pilotage

I will release source code next week.

7
Support / Rotating blade...
« on: April 17, 2006, 02:20:01 pm »
I've a problem ;( I try to rotate the blade of my helicopter... but it's difficult...

I have tried to use Animation, but I've this error :

Quote
ERROR: The sizes of the Animation's Meshes (68) and the object's Mesh (1445) don't match!


I can't understand where is the problem.

Code: [Select]
public Helicopter(float coordX, float coordY, float coordZ) {
super(coordX, coordY, coordZ);
Object3D objs[] = Loader.load3DS("models" + File.separatorChar
+ "helicopter.3ds", 7f);
this.model = objs[0];

for (int i = 1; i < objs.length; i++)
this.model = Object3D.mergeObjects(this.model, objs[i]);

Texture tex = new Texture("models" + File.separatorChar + "gunmap.png");
TextureManager.getInstance().addTexture("gunmap", tex);

this.model.setTexture("gunmap");

this.model.build();
this.model.getMesh().compress();
this.model.translate((float)(coordX*pbm), -1 * (float)(coordY*pbm), (float)(coordZ*pbm));

Object3D[] animArray = new Object3D[8];
for(int i=0;i<animArray.length;i++) {
objs[0].rotateY((float)Math.PI / animArray.length);
Object3D obj = objs[0].cloneObject();
obj.rotateMesh();
animArray[i] = obj;
}

Animation anim=new Animation(animArray.length);
anim.createSubSequence("rotating blade");
for (int i=0; i<animArray.length; i++) {
  animArray[i].build();
  anim.addKeyFrame(animArray[i].getMesh());
}
this.model.setAnimationSequence(anim);

}


I'm sorry....

8
Support / oldStyle3DSLoader
« on: April 11, 2006, 12:48:48 pm »
hello there !
I have a problem in the console launching my app because the model i use is
not colored : it is black !
The error is :
                        try Config.oldStyle3DSLoader = true
This attribute is not in the API.
What to do ?
Thanks a lot.

9
Support / Apply texture to ground
« on: March 12, 2006, 12:37:50 pm »
I've a problem with texturing the ground. A texture is 256*256 but my 3DS is very very bigger....

What does I do ?

10
Support / Textured 3DS model
« on: March 11, 2006, 08:41:59 pm »
I'm trying to use a textured 3DS model but as result I've a dark stain...

here is my code :

Code: [Select]

Object3D[] objs = Loader.load3DS("models" + File.separatorChar + "balloon.3ds", 1);
this.model = objs[0];
for(int i=1; i<objs.length; i++)
this.model.addChild(objs[i]);
model.build();


I have the same result in software and in hardware mode.

Pages: [1]