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

Pages: [1]
Support / primitive plane's size
« on: July 09, 2012, 02:39:53 am »
I can't figure out what is the size of plane (4, 150). From the api, it would be (4^2)*2 = 32 polygons each "scale" units in size but i don't understand that...

Support / collision detect one against other objects
« on: July 05, 2012, 09:31:43 pm »
I just wonder on how to do collision for the following scenario. I got one main cube moving along the horizontal line and 5 other cubes moving along the vertical line at different position i.e. not in the same line. I want to test the collision between the main cube and other cubes so that if any other cube collides with the main cube, i will set it visibility to false.

How should I do this?

I already set collision mode for main cube to self and other cubes to others.


Support / strange problem with blitString and blit
« on: April 01, 2012, 03:12:52 am »
If I do blitString before blit texture then only the texture shows ...but if its other way around, only strings shows  :o

Any advice plz?

Edit1: I should mention that I use a skybox also.
Edit2: ha! If i comment out skybox in rendering loop, everything shows up ...but I still need the skybox.

Support / adding surrounding image
« on: March 04, 2012, 02:58:39 am »
I seen two example project using an object on a plane look very nice but the surrounding still uses the background colour. If I want to add in a new background, does it meant I need to add in something like a cube or sphere so that the model is contained within it? Is there easier way to do this?


Edit: I see, I need to use a skybox. Any tutorial on how to use a sky box? I see none on wiki.

Support / jws deployment for jpct
« on: February 12, 2012, 02:55:42 pm »

I've seen the jpct home page with demo using Java Web Start and I like to know how to do that. In particular, Im attempting to use raft's demo LoadBonesFormatSample so that player can not only view the animation but also change the texture and few other attributes of my own. I have been reading JWS on oracle doc page from last night but there is alot for me to digest and understand. Can you please outline briefly what I need to do to get JSW to work using above demo or what you did, any links would be appreciated.


Bones / multiple action timing
« on: February 05, 2012, 06:48:51 pm »
I can create a multiple actions like walk->attack1->jump and so on from the ninja model example but the animation happens so quickly that I cant hardly see what the ninja is actually doing. I use a loop to calculate the total cliptime of the sequence and do
Code: [Select]
index = animateSeconds / clipTime;
Finally to animate the whole sequence:
Code: [Select]
group.animateSkin(index, 0); where group is the ninjas.get(0); as I only use one model and have no intent to use more than one. But it doesn't seem to have any effect. Any suggestions?

Support / need some animation advice
« on: December 13, 2011, 02:23:06 am »
Hi, im wondering if you can give me some advice.

Im creating a game that let user to define their own animation from some predefine animations like walking, clapping, jumping (on spot) of an object that will be provided with the game. However, because the game is based on frame animation so if say a player wants to do 2 claps, walk 3 steps ahead and finally a jump then between the last step of the 3 step and the jump there would be a "teleport" animation right?

I haven't written the code to test it but im doing the animation for this and it struck me that this may be happening in the game. If this indeed does happen, what can i do to solve this problem?

Many thanks.

Support / ERROR: Too many keyframes defined!
« on: November 11, 2011, 01:05:08 am »
Ah foolish me! I forgot to change the Animation constructor param...It has been a long day!

Bones / editing bones model
« on: November 08, 2011, 10:31:32 pm »

Is there anyway to edit the model converted to bones from within bones? If not, and if I want to do so, can you say what I need to do if I want to change the colour and maybe the height of the model?

To give, player a choice, I dont wanna add different models with just basic different of colour and height. I rather have them create their own profile mode from a default model.


Pages: [1]