Softimage Forum (Read Only)
Welcome to Autodesk’s Softimage Forums. Share your knowledge, ask questions, and explore popular Softimage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parametric Formula Plugin

22 REPLIES 22
Reply
Message 1 of 23
DanCanada
2288 Views, 22 Replies

Parametric Formula Plugin

With this thread, I will explain the Parametric Formula plugin.

Motivation.

I design the plugin to fill a need for generating shapes using parametric equations found over the internet. The plugin was as much an experiment with NURBS as it was with math formula.

Installation

Download the plugin here at the Area Download section. The plugin is called, of course, Parametric Formula. The plugin was coded using Softimage 7.01 so it should work with this version up. I have not tested the script with earlier version.

Decompress the file and Install it in your plugin directory of Softimage. This is a self-install plugin, it should be detected by Softimage on startup. If not, use the plugin manager to load the plugin.

You will found the plugin in your primitive selection menu.

Math functions

When the UI open up, you will notice the default setting of the sphere primitive. The plugin is coded in JScript and most math.functions have been implemented within. You will notice that formulas don't have the math prefix. That is because the plugin is coded to accept both version such as math.cos(n) or just plain cos(n).

Also coded are new math functions such as cosh, sign, ln and several others. In my next post, I will provide tables of these math functions and parameters.

Limitations

This plugin is slow. On my low spec machine (AMD 4400 X4 Dual core), I generate complex NURBS in approximately three to four seconds with subdivisions set at 100 for both u and v. I have limited the u and v subdiv to a maximum of 1000 (that is 1,000,000 Control points evaluated on 14 formulas/subformulas). If you want to stess test your machine, go ahead, but don't blame Softimage or your computer if they go on strike or worst, stand up and walk off your desk in protest.

The plugin does not include a complex number function. So if you provide formula that generate complex number such as sqrt(-1), you will not see a nurbs surface on screen or in the quick render. Some formulas can be made to remain within the real domain by restricting the u min, u max, v min and v max. Check the kiss surface preset for an example where v max was restricted to less than 1 to prevent the formula to calculate imaginary numbers.

The plugin create one Nurbs surface. If you need to generate multiple surfaces, you will have to generate the object in piecemeal or, if you are a programmer, modify the code to feed the nurbs count of AddNurbsSurfaceMesh2.

Be aware that the plugin will create self-intersecting surfaces, non-manifold and internal control points, edge and polys. Softimage and Mental Ray will throw warning during render, but so far, it has provided good render for me.

Your render will show a nasty seam, that it because I have coded the surface to overlap control points in order to close the surface. You can avoid the seam if you generate the surface with linear degree, or use the nurbs to mesh to convert it to poly (work sometime).

Presets

I have provided approximately 121 presets with the plugin, open them up and check them all to see how to enter formulas and generate nurbs and meshes. Don't forget to lock the UI if you want to experiment. Start with the plane and simple formulas like the saddle.

Because you are working with Nurbs, you will notice the x, y, z, and w in the interface. The w parameter control the weight influence of that control point on the nurbs surface. In most cases you will leave the value to it's default of 1. One preset for the sphere has an example where I fed the w with a sine function. The result was a slicing of the sphere. The w is an interesting twist in generating parametric equations.

So have fun with NURBS, mathematics and parametric formulas in Softimage!

Cheers!

Dan
22 REPLIES 22
Message 21 of 23
DanCanada
in reply to: DanCanada

For those interested,

Using my work on the Parametric Formula plugin, I am moving to ICE with the added flexibility of dynamic controls. This thread is a good example on how to create topology with ICE.

See you over at SI-Community!

http://www.si-community.com/community/viewtopic.php?f=41&t=1942

Cheers!

Dan
Message 22 of 23
DanCanada
in reply to: DanCanada

I have uploaded approximately 50+ compounds that create topology using ICE on si-community.

You can download Dan_ICETopo_Pack1 from the ICE compound area at:

http://www.si-community.com/community/viewtopic.php?f=19&t=2269

Enjoy!

Dan
Message 23 of 23
Anonymous
in reply to: DanCanada

Sales rolex replica, High-quality replica rolex watches,Top brand watches,all luxury watches for sale cheap and cheapest only $59 ,Buy cheap watches online at http://www.replicawatches007.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums