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

#1
Projects / Re: Project Support wanted
August 14, 2016, 06:40:06 AM
Hi ,

I can help.
Have already sent you a PM with full details.

Regards
#2
Support / Re: Scaling an object (Self Created)
August 11, 2016, 12:05:36 PM
Hi Egon ,

It's working I wanted permanent scaling so I used the second method .

P.S : Just downloaded Naroth from Play Store , just want to congratulate you {Sir} for such excellent graphics and game . As I am following this forum for about 2years now I know how much hard work you have put in it.
:)
#3
Support / Re: Scaling an object (Self Created)
August 11, 2016, 07:22:01 AM
   // Connectors
      sample.addTriangle(lowerLeftUp,0,0,upperLeftFront,0,0.1f,lowerRightUp,0.1f,0);
      sample.addTriangle(lowerRightUp,0.1f,0,upperLeftFront,0,0.1f,upperRightFront,0.1f,0.1f);

      sample.addTriangle(lowerLeftFront,0,0,lowerLeftBottom,0,0.1f,lowerRightFront,0.1f,0);
      sample.addTriangle(lowerRightFront,0.1f,0,lowerLeftBottom,0,0.1f,lowerRightBottom,0.1f,0.1f);
      
      sample.addTriangle(upperLeftBottom,0,0,lowerLeftBack,0,0.1f,upperRightBottom,0.1f,0);
      sample.addTriangle(upperRightBottom,0.1f,0,lowerLeftBack,0,0.1f,lowerRightBack,0.1f,0.1f);//
      
      sample.addTriangle(upperRightUp,0,0,upperRightBack,0,0.1f,upperLeftUp,0.1f,0);
      sample.addTriangle(upperLeftUp,0.1f,0,upperRightBack,0,0.1f,upperLeftBack,0.1f,0.1f);

      sample.addTriangle(lowerRightFront,0,0,lowerLeftRight,0,0.1f,upperRightFront,0.1f,0);
      sample.addTriangle(upperRightFront,0.1f,0,lowerLeftRight,0,0.1f,upperLeftRight,0.1f,0.1f);
      
      sample.addTriangle(lowerRightRight,0,0,lowerRightBack,0,0.1f,upperRightRight,0.1f,0);
      sample.addTriangle(upperRightRight,0.1f,0,lowerRightBack,0,0.1f,upperRightBack,0.1f,0.1f);   

      sample.addTriangle(lowerLeftBack,0,0,lowerLeftLeft,0,0.1f,upperLeftBack,0.1f,0);
      sample.addTriangle(upperLeftBack,0.1f,0,lowerLeftLeft,0,0.1f,upperLeftLeft,0.1f,0.1f);

      sample.addTriangle(lowerRightLeft,0,0,lowerLeftFront,0,0.1f,upperRightLeft,0.1f,0);
      sample.addTriangle(upperRightLeft,0.1f,0,lowerLeftFront,0,0.1f,upperLeftFront,0.1f,0.1f);
      
      sample.addTriangle(upperLeftUp,0,0,upperLeftLeft,0,0.1f,lowerLeftUp,0.1f,0);
      sample.addTriangle(lowerLeftUp,0.1f,0,upperLeftLeft,0,0.1f,upperRightLeft,0.1f,0.1f);

      sample.addTriangle(upperRightRight,0,0,upperRightUp,0,0.1f,upperLeftRight,0.1f,0);
      sample.addTriangle(upperLeftRight,0.1f,0,upperRightUp,0,0.1f,lowerRightUp,0.1f,0.1f);   

      sample.addTriangle(lowerLeftRight,0,0,lowerRightBottom,0,0.1f,lowerRightRight,0.1f,0);
      sample.addTriangle(lowerRightRight,0.1f,0,lowerRightBottom,0,0.1f,upperRightBottom,0.1f,0.1f);

      sample.addTriangle(lowerLeftLeft,0,0,upperLeftBottom,0,0.1f,lowerRightLeft,0.1f,0);
      sample.addTriangle(lowerRightLeft,0.1f,0,upperLeftBottom,0,0.1f,lowerLeftBottom,0.1f,0.1f);
      
      //Fillers
      sample.addTriangle(lowerLeftUp,0,0,upperRightLeft,0,0.1f,upperLeftFront,0.1f,0);
      sample.addTriangle(lowerRightUp,0.1f,0,upperRightFront,0,0.1f,upperLeftRight,0.1f,0.1f);
      sample.addTriangle(upperRightUp,0,0,upperRightRight,0,0.1f,upperRightBack,0.1f,0);
      sample.addTriangle(upperLeftLeft,0.1f,0,upperLeftUp,0,0.1f,upperLeftBack,0.1f,0.1f);
      sample.addTriangle(lowerLeftFront,0,0,lowerRightLeft,0,0.1f,lowerLeftBottom,0.1f,0);
      sample.addTriangle(lowerRightFront,0.1f,0,lowerRightBottom,0,0.1f,lowerLeftRight,0.1f,0.1f);
      sample.addTriangle(upperRightBottom,0,0,lowerRightBack,0,0.1f,lowerRightRight,0.1f,0);
      sample.addTriangle(upperLeftBottom,0.1f,0,lowerLeftLeft,0,0.1f,lowerLeftBack,0.1f,0.1f);
      
sample.build();
#4
Support / Re: Scaling an object (Self Created)
August 11, 2016, 07:20:50 AM
// Front
      sample.addTriangle(upperLeftFront,0,0, lowerLeftFront,0,1, upperRightFront,1,0);
      sample.addTriangle(upperRightFront,1,0, lowerLeftFront,0,1, lowerRightFront,1,1);

      // Back
      sample.addTriangle(upperLeftBack,1,1, upperRightBack,0,1, lowerLeftBack,1,0);
      sample.addTriangle(upperRightBack,0,1, lowerRightBack,0,0, lowerLeftBack,1,0);

      // Upper
      sample.addTriangle(upperLeftUp,0,0, lowerLeftUp,0,1, upperRightUp,1,0);
      sample.addTriangle(lowerLeftUp,0,1, lowerRightUp,1,1, upperRightUp,1,0);

      // Lower
      sample.addTriangle(upperLeftBottom,0,1, upperRightBottom,1,1, lowerLeftBottom,0,0);
      sample.addTriangle(upperRightBottom,1,1, lowerRightBottom,1,0, lowerLeftBottom,0,0);

      // Left
      sample.addTriangle(upperLeftLeft,0,0, lowerLeftLeft,0,1, upperRightLeft,1,0);
      sample.addTriangle(upperRightLeft,1,0, lowerLeftLeft,0,1, lowerRightLeft,1,1);

      // Right
      sample.addTriangle(upperLeftRight,0,0, lowerLeftRight,0,1, upperRightRight,1,0);
      sample.addTriangle(upperRightRight,1,0, lowerLeftRight, 0,1, lowerRightRight,1,1);

#5
Support / Scaling an object (Self Created)
August 11, 2016, 07:10:28 AM
 :D

Can anybody plz help with this problem I am stuck with .
I have created a simple cube using
Object3D.addtriangle(sv....)
The problem is I DK how to add scaling capability to it .What are the vec calcs to be applied to make it scalable . Plz .

Here is the code :

      SimpleVector upperLeftFront=new SimpleVector(-0.8,-0.8f,-1);
      SimpleVector upperRightFront=new SimpleVector(0.8,-0.8f,-1);
      SimpleVector lowerLeftFront=new SimpleVector(-0.8,0.8f,-1);
      SimpleVector lowerRightFront=new SimpleVector(0.8,0.8f,-1);
      
      SimpleVector upperLeftBack = new SimpleVector( -0.8, -0.8, 1);
      SimpleVector upperRightBack = new SimpleVector(0.8, -0.8, 1);
      SimpleVector lowerLeftBack = new SimpleVector( -0.8, 0.8, 1);
      SimpleVector lowerRightBack = new SimpleVector(0.8, 0.8, 1);
      
      SimpleVector upperLeftLeft=new SimpleVector(-1,-0.8,0.8 );
      SimpleVector upperRightLeft=new SimpleVector(-1,-0.8,-0.8 );
      SimpleVector lowerLeftLeft=new SimpleVector(-1,0.8,0.8 );
      SimpleVector lowerRightLeft=new SimpleVector(-1,0.8,-0.8 );

      SimpleVector upperLeftRight = new SimpleVector( 1, -0.8, -0.8 );
      SimpleVector upperRightRight = new SimpleVector(1, -0.8, 0.8 );
      SimpleVector lowerLeftRight = new SimpleVector( 1, 0.8, -0.8 );
      SimpleVector lowerRightRight = new SimpleVector(1, 0.8, 0.8 );

      SimpleVector upperLeftUp=new SimpleVector(-0.8,-1,0.8 );
      SimpleVector upperRightUp=new SimpleVector(0.8,-1,0.8 );
      SimpleVector lowerLeftUp=new SimpleVector(-0.8,-1,-0.8 );
      SimpleVector lowerRightUp=new SimpleVector(0.8,-1,-0.8 );

      SimpleVector upperLeftBottom = new SimpleVector( -0.8, 1, 0.8 );
      SimpleVector upperRightBottom = new SimpleVector(0.8, 1, 0.8 );
      SimpleVector lowerLeftBottom = new SimpleVector( -0.8, 1, -0.8 );
      SimpleVector lowerRightBottom = new SimpleVector(0.8, 1, -0.8 );
      
Object3D sample = new Object3D(44);

#6
Support / Re: jPCT for developing 2D games?
June 14, 2015, 07:50:33 AM
hey why not try the LazyLion 2d engine ..
#7
Projects / Re: A game for Ludum Dare
June 14, 2015, 07:48:40 AM
hi egon what's up :)
#8
News / Re: Download jPCT
January 09, 2015, 07:44:37 AM
Sir  u r doim a  grt job   8) :-*keep it up
#9
News / Re: Download jPCT
January 09, 2015, 07:42:54 AM
Frm 400 tkb o 2.4 mb must   be something grand  ::)
#10
Projects / Re: Thinking about some RPG..Android version.
September 10, 2014, 06:08:50 PM
so at last the Clay getting shaped into Pot...

the video looks quite promising..
#11
yes you mustt add the option of quality in the settings menu :

that is -

Settings >> Graphics >> Very Low | Low | Medium | High | Extraordinary

That way you will reach the maximum audience as your game would be playable on maximum devices
#12
would be waiting to try the beta as soon it releases  :o
#13
but do you really expect such an heavy (and i really mean heavy 300 pound) application to really run on Mobile...

not that I am demotivating you no not by any chance SIR not at all.

just that I have a very decent tab ( by the way now i also am an owner of lenovo t 400 lappy) that runs android 4.2.2 and using some advanced shaders that thomas helped me (shadow mapping + cel shaders )  with and just a few objects AND NO  collision detection ( which i believe the the most fps consuming thing) I compile a simple app with all objects set to shadow mapping and already it went robotic (22 fps) so when you using so many objects how are you going handle the girly tenderous personality of mobile hardware ,,,, ???

#14
well..... if scaled down i think i wud be fine .....

#15
and the texture are also lacking details [wood] 8)