Author Topic: Loading a 3d object from memory (data buffer)  (Read 661 times)

Offline mxar

  • int
  • **
  • Posts: 73
    • View Profile
Loading a 3d object from memory (data buffer)
« on: September 16, 2014, 04:01:25 pm »
Hi,

I'm working in a Augmented Reality project using jPCT-AE as the rendering engine.


I need to load dynamically on the camera surface a 3D Object from a data buffer (memory) not from  the raw or assets directory.

Is it possible?

Thanks in advance

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Loading a 3d object from memory (data buffer)
« Reply #1 on: September 16, 2014, 04:30:19 pm »
Sure. The loader methods take an InputStream. Just provide one for your in-memory data.