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

Pages: [1]
Support / Screenshots
« on: March 10, 2019, 09:57:39 am »
Good day how to take screenshots of my project i'm using glsurfaceview.

Support / Box sides action
« on: February 05, 2019, 12:13:35 am »
Good day any idea on how to give an action of the sides of a box. By clicking or dragging the sides.
Like for example i drag the top sides. going up. it scale the box vertically.

Thanks :) :) :)

Support / Scale X and Y axis
« on: January 30, 2019, 05:08:18 pm »
Good day i would like to ask if it is possible to resize the object by y axis or x axis runtime.

Like for example i drag the left side of the cube then the x-axis will expand. something like that.

Any idea or source code.
btw i already use this code.

public void setSize(float scalex, float scaley)
        demoControl = new ResizerMod(scalex, scaley,1);
        planeMesh.setVertexController(demoControl, IVertexController.PRESERVE_SOURCE_MESH);
    private static class ResizerMod extends GenericVertexController {
        private static final long serialVersionUID = 1L;

        float XFactor =1;
        float YFactor =1;
        float ZFactor =1;

        public ResizerMod(float xFactor, float yFactor, float zFactor)
            this.XFactor = xFactor;
            this.YFactor = yFactor;
            this.ZFactor = zFactor;
        public void apply() {
            SimpleVector[] s = getSourceMesh();
            SimpleVector[] d = getDestinationMesh();
            Log.i("vertex", "XFactor="+s[1] + s[2] +" YFactor="+d);
            for (int i = 0; i < s.length; i++) {

                //d.z = s.z   - (10f * ((float) Math.sin(s.x / 50f) + (float) Math.cos(s.y / 50f)));

                Log.i("vertex", "old vertex="+i+" x="+ d.x);
                Log.i("vertex", "old vertex="+i+" y="+ d.y);
                Log.i("vertex", "old vertex="+i+" z="+ d.z);

                d.x = s.x*XFactor;
                d.y = s.y*YFactor;
                d.z = s.z*ZFactor;

                Log.i("vertex", "vertex="+i+" x="+ d.x);
                Log.i("vertex", "vertex="+i+" y="+ d.y);
                Log.i("vertex", "vertex="+i+" z="+ d.z);

but the problem is i can only resize the object at once. please help.

Support / Screenshots
« on: January 22, 2019, 04:50:40 am »
Good day!
How can i remove framebuffer runtime.

I made an app that my button is framebuffer.blit() and i want to screenshots the screen without that button.
can i remove it? if not
any idea about creating a user interface in jpct without using android view.

Good day!

I want to make transparent the surfaceview to view the image background behind of it.
How i can do that i did a lot of research but i always search the setZOrderOnTop the surfaceview make transparent but it overlay the ather view.

Pages: [1]