Custom GUI?
by Joel Schilling · in Arcane FX (Public) · 11/05/2009 (9:26 pm) · 4 replies
Does AFX2 come with a custom GUI that enables object selection using the mouse, integrated with selectrons, and object highlighting?
#2
Highlighting seems to work in TGEA... Did T3D change it so it can't work anymore?
Once you release the T3D version (soon, please please please!) my next change will be to integrate Yack Pack in.
Any chance you can give me some tips how to make a custom cursor that changes depending what item it is over, like chat bubble for person, hand for item? And then I need to know what object is under the cursor to call the correct Yack Pack function.
11/10/2009 (8:18 am)
I made the decision and finally bought it for TGEA! I'm very impressed to say the least.Highlighting seems to work in TGEA... Did T3D change it so it can't work anymore?
Once you release the T3D version (soon, please please please!) my next change will be to integrate Yack Pack in.
Any chance you can give me some tips how to make a custom cursor that changes depending what item it is over, like chat bubble for person, hand for item? And then I need to know what object is under the cursor to call the correct Yack Pack function.
#3
A little search found this www.garagegames.com/community/resources/view/15095
Unfortunately, Canvas.setCursor() seems to work in TGE, but not in TGEA.
I might be able to solve the problem with this www.garagegames.com/community/resources/view/15453, but I think I'll pass on recompiling the engine till you release AFX for T3D.
11/10/2009 (9:45 am)
Well...A little search found this www.garagegames.com/community/resources/view/15095
Unfortunately, Canvas.setCursor() seems to work in TGE, but not in TGEA.
I might be able to solve the problem with this www.garagegames.com/community/resources/view/15453, but I think I'll pass on recompiling the engine till you release AFX for T3D.
#4
The reason it no longer works is that dynamic lighting is quite different in T3D. The previous lighting was structured more around how lighting affected the rendering of individual objects. With that kind of lighting, it's quite trivial to highlight objects by slightly raising the ambient lighting on objects that are highlighted.
This no longer possible in T3D because it does lighting in more of a global sense and (as far as I know) it does not have any per-object lighting control.
T3D does offer alternative possibilities, but it is a bit tricky to find a technique that's real cheap but still works generically on all objects without using special materials. There may be a great way to do it right now, but I haven't discovered it yet.
In the meantime, I'm looking at enhancing Selectrons so that they can optionally be configured to stay continuously active and then apply their effects for rollover highlights as well as selections. While this doesn't directly solve the highlighting puzzle, it does generalize the problem and makes it possible to use just about any kind of effect as a rollover highlight.
Also, it would probably help to tie in cursor switching a bit better as that's a pretty good alternative.
11/10/2009 (7:58 pm)
Quote:Highlighting seems to work in TGEA... Did T3D change it so it can't work anymore?Yes, the highlighting technique that worked in TGE and TGEA does not work in T3D, and I'm somewhat embarrassed to say that I have not yet discovered an ideal replacement.
The reason it no longer works is that dynamic lighting is quite different in T3D. The previous lighting was structured more around how lighting affected the rendering of individual objects. With that kind of lighting, it's quite trivial to highlight objects by slightly raising the ambient lighting on objects that are highlighted.
This no longer possible in T3D because it does lighting in more of a global sense and (as far as I know) it does not have any per-object lighting control.
T3D does offer alternative possibilities, but it is a bit tricky to find a technique that's real cheap but still works generically on all objects without using special materials. There may be a great way to do it right now, but I haven't discovered it yet.
In the meantime, I'm looking at enhancing Selectrons so that they can optionally be configured to stay continuously active and then apply their effects for rollover highlights as well as selections. While this doesn't directly solve the highlighting puzzle, it does generalize the problem and makes it possible to use just about any kind of effect as a rollover highlight.
Also, it would probably help to tie in cursor switching a bit better as that's a pretty good alternative.
Associate Jeff Faust
I should mention though that in AFX2-for-T3D (currently in closed beta) there is no good solution for object rollover highlighting. T3D appears to lack a general per-object lighting solution, which would be the usual technique for this.