Main Menu

Recent posts

#71
Support / blitting - rotated ? subtracti...
Last post by MichaelJPCT - 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?
#72
Support / Re: framebuffer.getpixels and ...
Last post by MichaelJPCT - August 27, 2023, 08:41:26 AM
i think it uses the video encode/decode processor to do the encoding in vram then transfer the data stream to system ram/network/storage, just like recording video from physical camera.
#73
Support / Sorting
Last post by AGP - August 25, 2023, 09:21:05 PM
This is more of a programming question than a jpct question. But since it's for sorting the bones I'm importing off of GLB in jpct, this is as good a place as any to ask it. So I'm writing a 2d skeleton viewer. Each bone knows its parent, and that's about all the information I have on them. Since I know it's a bipedal skeleton generated with Mixamo, I know the skeleton's shape. All I need is to sort the bones and draw them out. I'm doing this to verify that the parent/child relationship is accurate. What's the best way to run through the 2d List<Bone> and produce a sorted array? Now that I asked the question I realize that it's not a linear list, it's a tree. Any ideas?
#74
Support / Re: framebuffer.getpixels and ...
Last post by EgonOlsen - August 25, 2023, 05:38:29 PM
Not sure what the screen recorder does. Maybe the built-in video encoder can encode screen content directly? No idea...getPixels() is as slow as OpenGL ES. Plus the conversion into jPCT-AE internal format, which requires some byte flipping.
#75
Support / framebuffer.getpixels and scre...
Last post by MichaelJPCT - 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 ?
#76
Projects / Re: my project - Vehicle Simul...
Last post by MichaelJPCT - August 10, 2023, 05:47:36 PM
Thanks.
about the controls, you need to spend some time in the QUICK START and USER CONTROL chapters in the User Manual, just pay attention to the phase TOUCH UI.
or, if you have some teenager kids, let them read the User Manual and learn to fly, they can show it to you soon.
#77
Projects / Re: my project - Vehicle Simul...
Last post by EgonOlsen - August 10, 2023, 11:34:51 AM
This is an impressive piece of work. I've no idea how to control my plane and I crashed it into the ground, but it's cool nonetheless.
#78
Projects / Re: my project - Vehicle Simul...
Last post by MichaelJPCT - August 09, 2023, 06:13:02 PM
hello everyone,
i released a new demo . one main difference is that , this version has on-screen touch controls, no need for keyboard (but keyboard still works). just find the new file named 2023 08 in the link posted above, if you want to try it.
#79
Support / Re: Texture Splatting with 4 t...
Last post by EgonOlsen - July 20, 2023, 08:11:11 PM
Yeah, I think AeroShark333 is right about this. I couldn't find the corresponding thread (if there is any), but I dimly remember that I did something in that regard. Check the max value in TextureInfo and the log output. Somewhere, there should be an output about texture units...
#80
Support / Re: Texture Splatting with 4 t...
Last post by Lima - July 20, 2023, 12:20:12 AM
Thank you, guys! I think that's it. I'll rewrite the shader and use only jpct-ae from now on.