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.


Messages - whis

Pages: [1]
1
Support / Re: Animate character
« on: March 07, 2007, 11:25:31 am »
Ok thanks, and when i create a keyframe does a message appears in the console (becaus i Have no messages fot it)?

2
Support / Re: Animate character
« on: March 07, 2007, 11:16:03 am »
I'm sorry for the mix of "anim" and "x".
T have try to set this variable at 0 then incremente it by 0.1.
I have also set "setVertexOptimization" to false before loading the 3ds files.

I doesn't work.

The 3d object that emcapsulate the animation have to be empty or not?

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

4
Support / Re: OutOfMemoryError
« on: March 01, 2007, 10:31:45 pm »
Thanks for the reply

Yes, I need huge textures for my island:

my island is divide in 8 parts:



each part is a jpg file of 2048x2048 because  i want a good level of details like in the following screen



How can I have this level of details in JPCT without huge textures?

thanks

5
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

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

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