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

Pages: [1]
1
Support / Animate character
« on: March 06, 2007, 11:22:25 pm »
Hello,

I have a problem with the animation in jPCT:

I loaded a file .3ds in an 3dObject (body) and I added it into the world.
Then i loaded 6 file .3ds in 6 3dObject (marche1, marche2,....): they are my 3d sprites.

I also created a new animation with the 3d sprites:

Code: [Select]
        theWorld.addObject(body);
animation = new Animation(6);
int marcheseq = animation.createSubSequence("marche");
body.build();
marche1.build();
marche2.build();
marche3.build();
marche4.build();
marche5.build();
marche6.build();
animation.addKeyFrame(marche1.getMesh());
animation.addKeyFrame(marche2.getMesh());
animation.addKeyFrame(marche3.getMesh());
animation.addKeyFrame(marche4.getMesh());
animation.addKeyFrame(marche5.getMesh());
animation.addKeyFrame(marche6.getMesh());

body.setAnimationSequence(animation);
 
Loader.setVertexOptimization(false);

To finish I run my animation:

Code: [Select]
while (!exit)
{

buffer.clear();
theWorld.renderScene(buffer);
theWorld.draw(buffer);
buffer.update();
buffer.display(frameGraphics);
body.animate(x, marcheseq);
if (x>6) {
anim=0;
}
else
{
anim+=1;
}
}
}

My character appears on the screen (body) but the animation don't start(I have no errors), why?
Someone can help me?

Thanks.

2
Support / OutOfMemoryError
« on: March 01, 2007, 09:45:57 pm »
Hello,

I have a problem when i start my app. i have the following error message:



Here, i want to load 8 textures (jpg files).
I d'ont understand the error message.

PS: for each texture
resolution: 2048x2048
weight : 1 mo

Thanks

3
Support / Texture problem
« on: February 16, 2007, 02:42:24 pm »
Hello,

I just want to know why the textures (JPG files) in JPCT are ugly when I start my app.

In 3Dsmax the textures on my objects are more beautiful than in JPCT.


Thanks.

4
Support / procedural materials
« on: December 19, 2006, 06:58:42 pm »
Hello,

I just want to know if procedural materials from 3ds files are usable in jPCT.
Can I aplly a "mix or mask" function with 3 or 4 layers in 3dsmax and use it in jPCt?

Thanks Whis.

Pages: [1]