Main Menu
Menu

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.

Show posts Menu

Messages - whis

#1
Support / Re: Animate character
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
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
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:

        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:

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