It is currently 24 Jul 2017, 20:39

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Custom Opengl Icons primitives (SI 2014+)
PostPosted: 20 Jun 2013, 17:16 
Offline

Joined: 04 Jan 2010, 15:00
Posts: 105
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/details.aspx?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.


Attachments:
AL_Icons.rar [31.37 KiB]
Downloaded 180 times


Last edited by Ahmidou on 21 Jun 2013, 15:04, edited 2 times in total.
Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives
PostPosted: 20 Jun 2013, 19:17 
Offline
Moderator

Joined: 25 Nov 2009, 02:41
Posts: 754
Plug-in not loading and has the red triangle in the plugin manager. :( No errors logged either.

_________________
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken


Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives
PostPosted: 20 Jun 2013, 20:30 
Offline
User avatar

Joined: 09 Jun 2009, 11:02
Posts: 713
Location: Montreal Canada
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.

_________________
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage


Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives
PostPosted: 20 Jun 2013, 22:34 
Offline
Moderator

Joined: 25 Nov 2009, 02:41
Posts: 754
I don't use versions.... :D sorry should have said I was on 2013 SP1.

_________________
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken


Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives
PostPosted: 21 Jun 2013, 00:11 
Offline

Joined: 04 Jan 2010, 15:00
Posts: 105
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,


Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives (SI 2014+)
PostPosted: 24 Jun 2013, 14:26 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 805
Location: St. Thomas, Ontario
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)

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif


Top
 Profile  
 
 Post subject: Re: Custom Opengl Icons primitives (SI 2014+)
PostPosted: 24 Jun 2013, 15:22 
Offline

Joined: 04 Jan 2010, 15:00
Posts: 105
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group