New tool: InfoTag

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 08 August 2012   #1
New tool: InfoTag

Tell me what you guys think:

https://vimeo.com/48165635

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Old 08 August 2012   #2
Very nice. What about being able to choose the font, and have a background coloured box? Having the option to put this in a panel would be very cool too.
 
Old 08 August 2012   #3
Choosing the font is not possible as drawing on the screen has to be made using vectors.
I had to make my own letters and my own code to draw them.

As for a separate panel, it may be possible, yes.
You mean a dockable panel that you can place in your layout?

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Old 08 August 2012   #4
Originally Posted by rui_mac: Choosing the font is not possible as drawing on the screen has to be made using vectors.
I had to make my own letters and my own code to draw them.

That is unfortunate. I thought perhaps to match the HUD font would be nice.

Originally Posted by rui_mac: As for a separate panel, it may be possible, yes.
You mean a dockable panel that you can place in your layout?

Yes, exactly.
 
Old 08 August 2012   #5
Really nice tool, very useful, I guess the SDK doesn´t allow to draw in the viewport with Add to HUD command?
I would like to suggest to make the tag as a plugin object as well so we have only one per scene and not per object (imagine dealing with hundreds of objects) where the plugin object display the info of the selected object only and the tags could override this plugin object if you have the need of a specific object info to show in the viewport.

Cheers
Juan
 
Old 08 August 2012   #6
Hello Rui,

Thank you for sharing this plugin idea. I think the readout of length in terms of the spline segments is valuable. The other information seems to be available using the HUD if I remember correctly? (# points selected, etc.)
__________________
digitecture.org
Design|Energy|Computation


 
Old 08 August 2012   #7
I don't see anything in the SDK to allow for the creation or manipulation of the HUD :-(
As for making it an object, several problems come to my mind.
If the object is on the top of the list, it would show the values before they get updated. So, the location of the object in the hierarchy would influence the accuracy.
Also, if several objects are selected,what values should it display?
What if there are polygonal objects and spline objects selected at the same time?
The best solution really seems to be a tag, I guess.

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Old 08 August 2012   #8
Originally Posted by rui_mac: I don't see anything in the SDK to allow for the creation or manipulation of the HUD :-(

Too bad, I bet could have ease your life a little

Originally Posted by rui_mac: As for making it an object, several problems come to my mind.
If the object is on the top of the list, it would show the values before they get updated. So, the location of the object in the hierarchy would influence the accuracy.
Also, if several objects are selected,what values should it display?
What if there are polygonal objects and spline objects selected at the same time?
The best solution really seems to be a tag, I guess.

Rui Batista


Hmmm, I couldn´t imagine that hierarchy could have some influence in the selected object info display, I thought that being a "global scene object" could update itself everytime that you select an object no matter where the info object is located in the hierarchy.
If two objects are selected, nothing happens( it doesn´t show any info, is very rare the case (at least for me) that you edit two obejcts at the same time, usually you only work on one at the time.
Sorry if this is impossible to accomplish I have absolute no idea about coding so my ignorance on this is huge.

Anyway I think your plugin is great and it help to "measure" the objects while editing.

Cheers
Juan
 
Old 08 August 2012   #9
Originally Posted by rui_mac: The best solution really seems to be a tag, I guess.

An option here is to allow a plugin tag placed on a parent object to affect its first active child. If an active child has its own tag, this can override the tag on the parent.

I used this solution for my Index View plugin. Here's a demonstration.

For multiple selections you could either use the first active object or as suggested do nothing. In the latter case perhaps the user could be informed of an invalid selection.
 
Old 08 August 2012   #10
Originally Posted by Darter: An option here is to allow a plugin tag placed on a parent object to affect its first active child. If an active child has its own tag, this can override the tag on the parent.

I used this solution for my Index View plugin. Here's a demonstration.


That´s an excellent suggestion.

Cheers
Juan
 
Old 08 August 2012   #11
I did some tests and an object would work fine.
I will add that option too.
Also, I will try to improve the interface :-)
As for HUD, it is impossible. There is no access to the HUD with python or even with C++.

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Old 08 August 2012   #12
Originally Posted by rui_mac: I did some tests and an object would work fine.
I will add that option too.
Also, I will try to improve the interface :-)
As for HUD, it is impossible. There is no access to the HUD with python or even with C++.

Rui Batista


Just make it standard data I the tag and then the user can add that data to the hud.
__________________
"Until you do what you believe in, how do you know whether you believe in it or not?" -Leo Tolstoy
Kai Pedersen
 
Old 08 August 2012   #13
Here is an update to this tool.
What do you guys think?

https://vimeo.com/48367672

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Old 08 August 2012   #14
That´s a great update. do you think that is possible to have an automatic update (maybe the info object has a check box saying "live selection") every time that you select an object or like Darter´s solution a null object with the tag and it gets the info of the selected object inside that null and if a object inside that null has it´s own tag it override the main tag.

Cheers
Juan
 
Old 08 August 2012   #15
The tag overriding solution seems a little cumbersome as the user will have to deal with main tags, sub tags, etc.
As for the "live selection" solution, it is possible but the user will have to adjust the visual settings before the life selection is turned on, otherwise, it will have to switch back and forth from the Info object and the polygonal/spline object to adjust the info display. Or, it will have to lock the AM to the Info object.
Will this solution be enough?

Rui Batista
__________________
http://www.ruimac.com
http://www.ruimac.com/demoreel.htm
http://www.ruimac.com/plugins.htm
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:45 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.