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.
Custom Opengl Icons primitives (SI 2014+)
Custom Opengl Icons primitives (SI 2014+)
- Attachments
-
- AL_Icons.rar
- (31.37 KiB) Downloaded 213 times
Last edited by Ahmidou on 21 Jun 2013, 15:04, edited 2 times in total.
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Custom Opengl Icons primitives
Plug-in not loading and has the red triangle in the plugin manager. No errors logged either.
- xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 11:02
- Location: Montreal Canada
- Contact:
Re: Custom Opengl Icons primitives
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.
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.
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Custom Opengl Icons primitives
I don't use versions.... sorry should have said I was on 2013 SP1.
Re: Custom Opengl Icons primitives
Sorry about that, so yes it's for Softimage 2014+ and you need 2012 redistributables?xsisupport wrote:Nobody ever wants to say what version they use
Also there is a little bug with the bounding box, I'll fix it this wek end.
Cheers,
- Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 23:38
- Location: St. Thomas, Ontario
- Contact:
Re: Custom Opengl Icons primitives (SI 2014+)
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)
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)
$ifndef "Softimage"
set "Softimage" "true"
$endif
set "Softimage" "true"
$endif
Re: Custom Opengl Icons primitives (SI 2014+)
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
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
Who is online
Users browsing this forum: No registered users and 14 guests