Page 1 of 1

Custom Opengl Icons primitives (SI 2014+)

Posted: 20 Jun 2013, 17:16
by Ahmidou
Hi there,
I was missing this feature since a long time so I gave it a go :)
This plugin use a json file as definition so you can add as many shapes you want.

thigs to know:
-It have SRT offset and size parameters, and currently support only one closed curve per icon.
-The icon.json file must be in the same directory than the dll (in the plugin folder), and the definition is a flat array of formated like this [x0,x1,x2...,y0,y1,y2...,z0,z1,z2...].
-Performance wise, a quick benchmarck showed that it's ~7% slower than a curve equivalent, but the good thing is that it has it's own type (Icon) and can be filtered .
-The primitive is located in the create>primitive menu

-You need to install this: http://www.microsoft.com/en-us/download ... x?id=30679
-It's not tested that much, use it at you own risk!!!

[edit] I've updated it, now the BBox is correct and I added a few icons

Cheers
A.

Re: Custom Opengl Icons primitives

Posted: 20 Jun 2013, 19:17
by EricTRocks
Plug-in not loading and has the red triangle in the plugin manager. :( No errors logged either.

Re: Custom Opengl Icons primitives

Posted: 20 Jun 2013, 20:30
by xsisupport
Nobody ever wants to say what version they use :)

Anyways, same thing with Softimage 2014 SP1 on Windows 7.
Depends says MSVCR110.DLL is missing (so I need vc2012 redist, right?)

And all these too:
API-MS-WIN-CORE-COM-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL

but I assume they all come with the vc2012 redist.

Re: Custom Opengl Icons primitives

Posted: 20 Jun 2013, 22:34
by EricTRocks
I don't use versions.... :D sorry should have said I was on 2013 SP1.

Re: Custom Opengl Icons primitives

Posted: 21 Jun 2013, 00:11
by Ahmidou
xsisupport wrote:Nobody ever wants to say what version they use :)
Sorry about that, so yes it's for Softimage 2014+ and you need 2012 redistributables?
Also there is a little bug with the bounding box, I'll fix it this wek end.

Cheers,

Re: Custom Opengl Icons primitives (SI 2014+)

Posted: 24 Jun 2013, 14:26
by Daniel Brassard
Screen grab / Video?

I may be interested in this as a way to expand the primitive library of Softimage (400+ primitive objects from several families of polyhedra to parametric surfaces)

Re: Custom Opengl Icons primitives (SI 2014+)

Posted: 24 Jun 2013, 15:22
by Ahmidou
well there is not that much to show, it's just like the native implicit curve with a combo box, and an external file with primitive definitions that you can edit.
I forgot to add, the array is 1D and formatted like this [x0,x1,x2,....y0,y1,y2,.....z1,z2,z3....]
it's only drawing curves, you can have a look to the source code here:
https://bitbucket.org/ahmidou_lyazidi/al_icons/src

Cheers
A