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 - rize

Pages: [1]
1
NGUI 3 Support / Re: NGUI and Touchscript problems
« on: January 16, 2014, 09:33:03 AM »
Try having different layers for objects using TS and GUI + adjust culling mask settings for TS cam and GUI cam. Never had problems mixing nGUI with TS.

2
NGUI 3 Support / Re: Unwanted font transparency
« on: December 23, 2013, 12:32:26 PM »
Problem reproduced on Xperia Play and HTC Desire S...  It's also a matter of sprites edges looking semi-transparent,  will send you repro project via PM.

3
NGUI 3 Support / Re: TweenPosition and new Anchors
« on: December 23, 2013, 08:35:16 AM »
Anchoring (stretching) needs to be disabled before Tween start (if we assume no change of view size after scene load). There was an option to "Run only once" in previous ngui versions, so it looks like it has to be done via own scrypt now or ArenMook will bring this option back ;)

4
NGUI 3 Support / Re: TweenPosition and new Anchors
« on: December 23, 2013, 05:26:17 AM »
- If I play the tween back (from center of the screen to the top), it works, but as soon as it's over, the position resets to the position defined by the anchor...
I have similar problem...
You can't tween any anchored object. Anchors reset its position, both in the old system and in the new one. That's kind of the point.
Tween something that's not anchored.
...and now I'm even more confused,  I need anchors to position and scale properly my sidebar at the bottom on different screens (with different aspect ratios) and also need Tween to hide/unhide it, what's the appropriate way of doing this?

5
NGUI 3 Support / Re: Unwanted font transparency
« on: December 06, 2013, 05:58:10 AM »
Indeed it might be SoC specific problem and maybe it could be reproduced on MSM8255 devices, but currently I have none of these to test it
Quote
    Acer Iconia Smart, Acer Allegro, Fujitsu F-12C, HTC Desire HD, HTC Desire S, HTC Incredible S, HTC Inspire 4G, HTC One V, HTC Radar, Huawei U9000 Ideos X6, Huawei Ideos X5 (U8800 pro), Huawei Vision, LG Eclypse,[19] LG Optimus Sol E730, Motorola Pro+, Samsung Exhibit II 4G, Sharp Galapagos 003SH/005SH, Sharp Aquos Phone f (SH-13C), Sharp Aquos Phone the Hybrid (007SH/007SH J), Sharp Aquos Phone the Premium (009SH), Sony Ericsson Live with Walkman, Sony Ericsson Xperia Active, Sony Ericsson Xperia Arc, Sony Ericsson Xperia Acro (SO-02C), Sony Ericsson Xperia Neo, Sony Ericsson Xperia Neo V, Sony Ericsson Xperia Play (GSM), Sony Ericsson Xperia Pro, Sony Ericsson Xperia Mini, Sony Ericsson Xperia Mini Pro, Sony Ericsson Xperia ray, Sony Xperia Neo L,[20] T-Mobile myTouch 4G, ZTE Tania, ZTE 008Z, Pantech Vega X


6
NGUI 3 Support / Re: Unwanted font transparency
« on: December 05, 2013, 10:41:21 AM »
Great, I can't get rid of that - even with video UIRoot ( and also it's panel, texture with anchor disabled) placed not under UILabels I still get this effect...  :-\ I will appreciate any tips.

7
NGUI 3 Support / Re: Unwanted font transparency
« on: December 04, 2013, 11:54:31 AM »
So it looks that in case of this device I have to make a workaround adjusting Camera's FOV  :-\

8
NGUI 3 Support / Re: Unwanted font transparency
« on: December 02, 2013, 09:51:39 AM »
I use Depth Only option, but full alpha background doesnt help either.

9
NGUI 3 Support / Re: Unwanted font transparency
« on: November 29, 2013, 09:46:39 AM »
I think it was happening on other devices too, but propably after those nGUI fixes it occurs only on this Xperia. Maybe I will try to update it to Android 4 later and look again, but I wonder what's the problem now - incompatible shaders?

10
NGUI 3 Support / Re: Unwanted font transparency
« on: November 29, 2013, 06:36:34 AM »
another few samples with buttons behind, this time nGUI 3.0.6 f6:

11
NGUI 3 Support / Re: Unwanted font transparency
« on: November 29, 2013, 06:11:48 AM »
Your test, displaying result on Xperia Mini Pro (SK17i) with Android 2.3.3 (nGUI 3.0.6 f3):

12
NGUI 3 Support / Re: Unwanted font transparency
« on: November 28, 2013, 06:31:54 PM »
it's behind the label which uses Unlit/Dynamic Font shader.

13
NGUI 3 Support / Re: Unwanted font transparency
« on: November 28, 2013, 05:05:11 AM »
Well it's not UICamera being rendered to a texture, it's a simple script in UITexture gameobject:

  1.         video = new WebCamTexture();
  2.         video.Play();
  3.         gameObject.GetComponent<UITexture>().mainTexture = video;

If that's what you mean, is there more appropriate way to display video?


14
NGUI 3 Support / Re: Unwanted font transparency
« on: November 27, 2013, 11:18:56 AM »
Funny thing is that screenshots differ from what can be seen on device screen. Here are two pieces of screenshots, first one with camera heading a wall and second with camera coverred with hand - there's no difference with text on them, however when looking on the screen during runtime it looks like camera view "shines through" font.

15
NGUI 3 Support / Unwanted font transparency
« on: November 27, 2013, 08:43:14 AM »
Hi, I'm struggling with this problem for too much time, please help.

I have three cameras in the scene with different dephts, the first one contains only UItexture on which WebCamTexture is shown (UIRoot1>firstCam>anchor etc). The second one is non-ngui camera with 3d object and the last one with biggest depht contains main ngui elements (UIRoot2>lastCam>anchor etc). The idea is to show this 3d object between video background and GUI, and it works fine. The problem is with labels (Dynamic font) in the main ngui tree(under last camera), where text appears semi-transparent when testing on Android device (its ok in editor).

I've tried changing materials for these labels, shaders, and some approaches from this forum but nothing helped me, so my question is what's the correct way of making font fully opaque over such background? And beside that, is it correct to modify text colors via UILabel widget color?

using 3.0.6 f3

Pages: [1]