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

#1
Hi

I am using T-mobile....Speed is very slow.
what is the reason.
What mobile you people prefer for developing 3D application for android using this API??
#2
Support / About Frustum
August 15, 2010, 09:59:43 AM
How can we use frustum in jpct-ae.....
Is there any example??
#3
Support / Re: Showing Effect in JPCT-AE
July 22, 2010, 08:48:30 AM
Sir,
I think I am not getting you..Can you please tell me the simplest way to show the effect..

It would be very better if you can show me some sample code...

#4
Support / Re: Showing missile object
July 21, 2010, 06:53:13 AM
Actually I want to move an object one point to another point in straight direction.....

Suppose I want to move a missile from (0,0,0) point to (100,100,100)......

I want to know that is there any function or class that is maintained move object one point to another (I know it is possible increase value of a vector into onDrawFrame function But I want a optimum solution for all object)....
#5
Support / Showing missile object
July 20, 2010, 12:06:32 PM
Hi, can anybody give me the idea how can I show missile going to it's target.....

Is there something like ray passing in JPCT??

Can anybody please give me some example??

Thanks in advance...........Pritom
#6
Support / Re: How can I serialize a mesh?
July 15, 2010, 07:40:01 AM
Sir
I am not rendering the texture over the object..
after serialize I am getting only white object...
And I load the object as you show in your demo code.....

I just want to know how to texture over the object..

thanks in advance
#7
Thanks Darkflame

Ya I am using your code...And now it's working as u mentioned in last post...
But I am also not able to use setBack() function.
thanks....
#8
sir it shows only a black screen
#9
Support / Re: Showing Effect in JPCT-AE
July 13, 2010, 01:34:07 PM
Sir I have gone through Robombs code....
But it looks like so complex to me....
Can you please give me some idea or sample code to show the effect in JPCT using texture

Thanks in advance
#10
Support / Re: How can I serialize a mesh?
July 11, 2010, 03:54:21 PM
Sir I fave got another problem.....and that is how do i add texture into Serialize file
I have done flowing.....whats wrong with this
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package javaapplication2;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import com.threed.jpct.DeSerializer;
import com.threed.jpct.Loader;
import com.threed.jpct.Object3D;
import com.threed.jpct.Texture;
import com.threed.jpct.TextureManager;
import java.awt.Color;

/**
*
* @author sarwar.siddique
*/
public class Main {

    /**
     * @param args the command line arguments
     */


    public static void main(String[] args) throws FileNotFoundException {
        // TODO code application logic here
        Object3D grass = null;
        TextureManager.getInstance().flush();


TextureManager tm = TextureManager.getInstance();
Texture grass2 = new Texture("C:/Worksapce/SaveMe/res/raw/f15e.jpg");
        DeSerializer de;
        grass = Loader.load3DS("C:/Worksapce/SaveMe/res/raw/f15.3ds",5)[0];
        tm.addTexture("grass2", grass2);
        grass.setTexture("grass2");
        //grass.setAdditionalColor(Color.yellow);
        grass.build();
        de = new DeSerializer();
        de.serialize(grass, new FileOutputStream("C:/Worksapce/SaveMe/res/raw/sf15.ser"), true);
                //.serialize(Loader.load3DS("C:/file.3ds", 1), new FileOutputStream("C:/file.ser"), true);
    }

}


Thanks In Advance
#11
Hi sir I have got another problem.....
I am not able to rotate camera with the android sensor orientation.....
I have done this
    SensorManager.getRotationMatrix(RTmp, I, grav, mag);
Rt=RTmp;

         tempR = world.getCamera().getBack();
tempR.setRow(0, Rt[0], Rt[1], Rt[2],0);
tempR.setRow(1, Rt[3], Rt[4], Rt[5],0);
tempR.setRow(2, Rt[6], Rt[7], Rt[8],0);
tempR.setRow(3, 0, 0, 0,1);
world.getCamera().setBack(tempR);


Can you please give me some idea how to do this??
Thanks in advance.............
#12
Support / Re: Showing Effect in JPCT-AE
July 08, 2010, 02:50:25 PM
Ok Got IT....It was my graphics card problem.....
Now I am able to Run the program in eclipse...
Thanks EgonOlsen for quick reply

Sir I need one more information...
From where can I download Object3DEditor???
#13
Projects / Re: Object3D Editor
July 08, 2010, 02:42:45 PM
Hi I am not getting Object3DEditor from

www.geocities.com/thejavaman2/Object3DEditor.zip

the message is Sorry, the GeoCities web site you were trying to reach is no longer available.

From where can i download Object3DEditor ??
#14
Support / Re: Showing Effect in JPCT-AE
July 08, 2010, 10:23:58 AM
Sir
Thanks for reply.Actually I am very new in java.Actually I am working on Android technology.I am using Eclipse too.I will definitely use Eclipse to run Robombs as java project.

But sir I have another problem. I am not able to start the Robombs...
How to run it can you please explain..
I download it and extract it.Then I run Robombs.cmd.then then press start play.It show a black screen then nothing.What should I do now??

thanks in advance sir

Pritom
#15
Support / Re: Showing Effect in JPCT-AE
July 08, 2010, 07:38:30 AM
Sir I have downloaded the source code.I want build up a net bean project using this source code to see the code sequence.How can I do this.can you please explain how can I make it??