Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Support / Sorting
« Last post by AGP on 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?
32
Support / Re: framebuffer.getpixels and screen recorder
« Last post by EgonOlsen on 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.
33
Support / framebuffer.getpixels and screen recorder
« Last post by MichaelJPCT 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 ?
34
Projects / Re: my project - Vehicle Simulation
« Last post by MichaelJPCT on 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.
35
Projects / Re: my project - Vehicle Simulation
« Last post by EgonOlsen on 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.
36
Projects / Re: my project - Vehicle Simulation
« Last post by MichaelJPCT on 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.
37
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...
38
Thank you, guys! I think that's it. I'll rewrite the shader and use only jpct-ae from now on.
39
I'm very sorry! The information was clear in the docs. I really don't know why I didn't understand it when I read it at first. TextureInfo objects can only receive 4 images. It just ignores the rest if you add more.  :'(

I think jPCT-AE supports more than 4 texture units (up to 8 max.) due to the suggestion I made last year or two years ago. ;)
I'm not sure about jPCT (PC) version, however... Might still be limited to 4 there

EDIT: https://www.jpct.net/forum2/index.php/topic,5153.0.html
40
I was using JPCT, but just for quick tests. I intend to use jpct-ae in the end.
Pages: 1 2 3 [4] 5 6 ... 10