Hi,
I'm having some complicated and uncommon task to do.
I'm working on a virtual 3d book that has bendable pages for a augmented reality application for an exhibition. It's based on a sqlite database, a combination of Mega-Fiers and custom scripting to bend the page and an GUI system that should help layouting the page. I'm currently trying NGui as GUI toolkit (alternatives are Daikon Forge or implementing a rudementary GUI system myself).
a rougth description how it works:
- the system instantiates a prefab of a page
- the camera renders the page into a rendertexture
- the page prefab is deleted
- the texture is applied to the page mesh
(and lot's of other things in the background)
i have a problem at the moment:
- when i call render just after instantiating a page it does not render the new page, but it seems as it's rendering a old content.
it looks like ngui is caching something or needs to be notified of the change?
any hints on what i need to modify or call to fix this problem?
thanks