www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: EgonGrenz on March 29, 2014, 01:51:11 pm

Title: Multiple 3D Views in One 2D Android GUI ?
Post by: EgonGrenz on March 29, 2014, 01:51:11 pm
Is it possible to have Multiple 3D Views in One 2D Android GUI with jCPT ?
Title: Re: Multiple 3D Views in One 2D Android GUI ?
Post by: AGP on March 29, 2014, 07:24:55 pm
I'm fairly sure that you can (the limitation is probably on device's memory), but this is the desktop jpct board. Anyway, if you can simulate the multiple views inside a single view with a single World and a single FrameBuffer, that's probably a better idea.
Title: Re: Multiple 3D Views in One 2D Android GUI ?
Post by: EgonOlsen on March 30, 2014, 01:36:11 pm
It might work...i'll put it this way: It wasn't a design goal to make this work. It should work if the different views are being rendered one after the other and not in multiple threads in parallel. Otherwise, you'll most likely run into some race conditions.