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

Pages: [1] 2 3 ... 6
1
Support / blitting - rotated ? subtractive ?
« on: August 27, 2023, 09:04:18 am »
i wish blitting can be 90 degree rotated and can be subtractive in color.
rotated blitting can be used to mimic the rotation of screen without setting it from Android , and without using different textures.
subtractive color is easier to achieve dark text on light color background, without using different textures. ( i currently use textures with white text on black background and no alpha, additive makes the text look good on dark background)
are these possible?

2
Support / framebuffer.getpixels and screen recorder
« on: August 25, 2023, 09:32:01 am »
i have an A53@2.3G + mali T830 device and used the screen recorder built in the Android7 system. i get almost 30fps video recording my 3D app. (res 1920x1080)
that means Android can read the screen into system RAM at high rate. but the image was produced in GPU. does that mean there is a faster way than fb.getPixels ?

3
Support / 3D modeler app made with JPCT-AE, possible or not?
« on: July 07, 2023, 01:52:27 pm »
i wish i could make 3D models on android devices, using tap control only. so that i dont need windows PC and mouse.
i wonder whether it's possible to make an app with basic modeling functionalities, like some of those in 3DSMAX.
one problem i anticipate is that, models are highly dynamic in a modeler app, i've never tried that with JPCT.
another problem is that, there are symbols, lines, translucent objects, etc.. i dont know whether GLES is good enough to handle all those elements.
anyone interested in such app or with technical insight?

4
Support / using multiple renderers in 1 process?
« on: July 02, 2023, 10:11:57 pm »
Hello Egon,
i have a strange idea. can we use 1 opengl renderer and multiple software renderers at the same time in 1 process?
software renderers don't use gpu but only cpu. nowadays all cpus have multiple cores. if we use most cores for rendering (for example render-to-texture) it should be great, right?
if so, the software renderer can be a great tool.

5
Support / raspberry pi, orange pi, etc
« on: December 04, 2022, 06:11:14 am »
does jpct work on these devices?
there devices are marketed as computers for students. if jpct works on them, more students would get to know jpct.  :)

6
Support / is it possible to make JPCT work with Cesium?
« on: April 06, 2022, 06:56:44 am »
www.cesium.com
it's something like google earth.

7
Support / AA not working on PowerVR6250
« on: March 09, 2021, 08:36:49 pm »
Hi Egon,
i tested AAConfigChooser.
with my mali450 device, my app works correctly, either using AAConfigChooser or the 'force 4x MSAA' option in OS.
but with my PowerVR6250 device, enabling AAConfigChooser makes the gfx to be very corrupted (no force 4x MSAA option on the device).
is it normal with 6250 hardware?

8
Support / can the blend mode of blitting be subtractive?
« on: November 30, 2020, 02:37:53 pm »
this is not absolutely necessary, but it may provide more flexibility.

9
Support / using depth buffer as a texture of another object3d, possible?
« on: November 19, 2020, 07:57:11 am »
i don't mean using it in shadow mapping, but in other situations.
although i haven't found a use of this , but i think it has special use.

10
Support / switching shape from time to time, new Object3d or setMesh?
« on: November 11, 2020, 04:12:13 pm »
Hi Egon,
i want some 3d models in main World to be rendered also in another World, and the models in the other World need to be switched from time to time, assuming the meshes are all in GPU, how to switch models?
create new Object3d or call Object3d.setMesh ?
an object3d needs some initialization before rendering, i guess setMesh would be quicker?

11
Support / clearAll option of setRenderTarget doesn't work?
« on: November 01, 2020, 08:17:09 am »
fb.setRenderTarget(tex,9,9,9,9,false); fb.clear(0xffff);

with the above code, the whole texture turns blue, why?
tested on powervr 6250.

12
Support / getRenderTarget method?
« on: November 01, 2020, 05:24:12 am »
Hi Egon,
i thought of a situation which i am not sure is necessary at all, that temporarily switching the render target.
if that happens, a getRenderTarget method can ease the problem of (the engine user) keeping track which texture is the current target.
like this:
b=getRenderTarget();
setRenderTarget(a);
render something;
setRenderTarget(b);

but if the engine doesn't call setRenderTarget, only the app code call it, then the user can use a global variable to keep track of the target texture. then getRenderTarget is unnecessary.
and temporarily switching render target might be a wrong thing to do.

13
Support / can GL ES 3.0 be supported?
« on: September 12, 2020, 07:07:19 am »
i found some feature of es3.0 that i like to have, such as occlusion query (a better object3d.wasVisible() function)
is it possible to enable es3.0?

14
Support / about the speed of getPixels, GPU collision detection
« on: September 06, 2020, 10:30:44 am »
hi Egon,
the java doc says getPixels costs a lot of time (for realtime rendering).
is the time related to the size of framebuffer?
if the framebuffer is of size 1x1, does it still cost that much time or is the time much shorter?
i think of using getpixels to do collision detection, is it possible?
the method is like this, place a camera at a bullet, set farclip to the distance that bullet travels in delta time, read the resulting depthbuffer to know whether/where/when the bullet hits something.
if this is possible, is it better or worse comparing to the ray-polygon collision detection in jpct engine?

15
Support / accessing sampler2D in vertex shader
« on: September 06, 2020, 10:10:58 am »
hi Egon,
if i write a shader with sampler2D only in vertex shader but not in fragment shader, (other thing are similar to default shader) will jpct prepare the texture for the shader?
this is because i use pure color texture on some objects, texture color doesn't vary.

Pages: [1] 2 3 ... 6