Author Topic: Multiple 3D Views in One 2D Android GUI ?  (Read 719 times)

Offline EgonGrenz

  • byte
  • *
  • Posts: 1
    • View Profile
Multiple 3D Views in One 2D Android GUI ?
« on: March 29, 2014, 01:51:11 pm »
Is it possible to have Multiple 3D Views in One 2D Android GUI with jCPT ?

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Multiple 3D Views in One 2D Android GUI ?
« Reply #1 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Multiple 3D Views in One 2D Android GUI ?
« Reply #2 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.