Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ludos1978

Pages: [1]
1
NGUI 3 Support / Re: Bugfix for wrong UIPopupList drop-down colliders
« on: October 09, 2014, 06:10:19 AM »
This fix messes UIPopupList up in other situations. I am using UIPopupList in conjunction with a uiInput as autocompletion suggestions.

For me it requires this additional fix, but im unsure wether it works for other situations as well:

change line 850 in UIPopupList.cs:
         Vector3 bcCenter = new Vector3(cx * 0.5f, -fontHeight * 0.5f, 0f);

to:
         Vector3 bcCenter = new Vector3(cx * 0.5f, -labelHeight * 0.5f, 0f);


2
NGUI 3 Support / Rendering GUI on Surface
« on: April 08, 2014, 10:12:29 AM »
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

Pages: [1]