Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  


An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Kubajzz

Pages: 1 [2] 3
ASL Scripts / ASL Editor [version 3.5 is out!]
« on: April 15, 2009, 09:50:03 pm »
I don't know what program do other people use to write ASL scripts... I used to use Notepad and an unstable version of Tyson Collins' Anim8or Script Editor (which never even reached the beta stage...). That's not a very comfortable way of programming :/. That's why I decided to write a little development tool for ASL scripts.

Current version: 3.5
Download ASL Editor

  • Syntax highliting with customizable font settings
  • Auto-Complete function
  • Syntax specification is saved in an external XML file (so I don't have to release a new version of ASL Editor whenever a new version of ASL is released)
  • Syntax checker
  • Basic code formatting functions
  • Undo/Redo functions
  • Find and Replace functions
  • Auto-save function
  • Recently opened files list
  • Easy localization to any language (English, Spanish, French and Czech currently available)
  • Does not require installation
  • Help file included
  • A simple drawing tool to create and edit icons for Parametric Mesh Plugins
  • A complete, well structured ASL reference included

System requirements:
  • Windows XP/Vista/7 or newer (it might work on earlier versions too but I didn't have a chance to try it...)
  • Microsoft .NET framework 3.5 or higher

Now it's your turn! Any questions, bug reports and feature suggestions are welcome!

If you create a new translation of ASL Editor, please send me the .lng file and I'll include it in the main release.

Challenge #2: Render Glasses Using ART


Another challenge is here, a simple one this time! The task is to model glasses and render them using the Anim8or Ray Tracer.

You can model any kind of glasses - dioptric, reflective, diving googles... Use your fantasy, be creative and try to make as detailed model as possible. Don't forget to add some fancy reflections and refractions using the ART raytracer!

Have fun, keep in mind the challenge rules and post your progress, c&c, and/or final renders in this topic.

General Anim8or Forum / MOVED: Edgeloops
« on: March 09, 2009, 08:44:59 am »
This topic has been merged into the New Face topic on the Finished Works and Works in Progress board.

ASL Scripts / IconCreator for ASL
« on: October 10, 2008, 12:19:25 pm »
IconCreator for ASL - current version 1.2
You have to roll down or click this link to get the latest version!!!
Get the latest version

I'd like to introduce the first version of IconCreator for ASL, a little program that should help you to create icons for parametric shape plugins.

I want it to be a good alternative to PlugIcon by Tyson Collins. While his program loads a jpg, png or bmp file and generates the code, IconCreator allows you to draw the icon point by point. It's not really a program, in fact it's only a HTML table with a piece of javascript code, but it does exactly what it should do :)
I've tried it on IE7, Firefox 2 and Google Chrome and it worked; I appreciate any feedback about other browsers.

The current version 0.2 allows you to draw an icon and get the code. There was version 0.1 before, but it didn't worth releasing...

I plan to add much more features like input (so you can edit already existing icons), better drawing tool, UI improvement etc. If you download the current version, be sure to check this topic time to time as there will be updates. (there is not even a ReadMe file, that's one more thing I have to do...)

Right now I don't find IconCreator to be very useful because it's too simple (well, it took about 3 hours to make it all), neither will it be very useful when it's finished because there will never be many people who need to create icons for ASL plugins... But I'll keep improving it anyway, just for fun :)

Download the file, unwrap it and run IconCreator.htm to launch IconCreator. Maximum icon size is 26x26 - that's the size of icons in Anim8or (in pixels). Draw the icon and press "GO!" to get the code. To draw, simply click and/or drag your mouse; white will be changed to black and vice versa.

I appreciate any feedback, don't hesitate to post feature requests, questions and suggestions.

ASL Scripts / Real time command scripts - is that an error?
« on: September 19, 2008, 10:51:11 pm »
Hello Steve,

I've been experimenting a little bit... I was thinking about a script for real time mirroring and I found a way that works, but I'm not sure if it is allowed to use ASL this way...

If I want a script to keep running and updating one mesh according to the changes made to another mesh, the only way is an infinite "while" cycle:
Code: [Select]

shape $S, $NewS;
attribute $Attr;
int $i, $j;

$S = project.curObject.LookupShape("mesh01"); /*get the original shape */

if ($S != NULL) {

$Attr = project.curObject.LookupAttribute("STOP");

/* create a copy */
$NewS = mesh();

while ($Attr == NULL) {
  if ($S.GetNumPoints != $NewS.GetNumPoints) {

    /* copy the points and faces */
    for $i = 0 to $NewS.GetNumPoints()-1 do {
      $NewS.SetPointSelected($i, true);
    for $i = 0 to $S.GetNumPoints()-1 do {
    for $i = 0 to $S.GetNumFaces()-1 do {
      $NewS.OpenFace(0, 0);
      for $j = 0 to $S.GetNumSides($i)-1 do {
        $NewS.VertexN($S.GetFacePointIndex($i, $j));

  /* check for attribute to stop the cycle */
  $Attr = project.curObject.LookupAttribute("STOP");



The script will find a shape called "mesh01" and if it exists, it will create a copy of that shape. The script keeps running and if you change the number of points of the original shape, the new shape will be updated. You can stop the process by creating an attribute called "STOP".

The script worked fine for me and I can't see any reason why the scripts shouldn't be used this way, but I thought I'd better ask... What do you think about it?

If you want to try out this script, be careful. It worked fine for me, but I'm afraid it may cause many unexpected errors... Remember, it's just an experiment!
Be sure to stop the script (create a new attribute "STOP") before exiting Anim8or!!!!!

ASL Scripts / Boolean operations plugin - I'll need help!
« on: September 14, 2008, 10:22:54 pm »
I decided to write a "boolean operations" plugin. I believe it is possible to do that with the current version of ASL, but I'm afraid I can't make it on my own... and I thought it wouldn't be a bad idea to make it as a team work.

If you have a little more than a basic knowledge of ASL, you understand the basics of the Analytic geometry and you are willing to help, please send me a message.

You don't necessarily have to be a code writer, if you believe you're good at mathematics or you just think you can help me in some way, pm me, I'll appreciate it.

Here's where this project is right now:
  • I've started working on the theoretical side - how to determine interior point, how to find the intersection etc.
  • I plan to start writing the code as soon as I finish the theoretical solution... and when I have more time, probably in October
  • I can't tell you when it will be finished, the question is: will it ever be finished?
  • This project doesn't have (and it'll never have) it's own website, there's no schedule and no organization... If you don't like it, I don't like you!

So... As you can see, I've hardly started and this will be a long journey... It's never too early to start building the team and it's never too late to join!

Team members:
  • me
  • NickE

Ok... I'm locking the topic (I'm sorry, I know you all wanted to say "good luck"...) because this is supposed to be an announcement, not a discussion... I'll update the list of members if somebody else joins...

ASL Scripts / GetNumEdges() function gone wrong?
« on: August 21, 2008, 04:57:36 pm »
Try out this simple script:
Code: [Select]

file $file;
string $output;
shape $shape[0];


$output = PrintToString("edges: %d", $shape[0].GetNumEdges());
$"$console", "w");

You must have only one mesh in your object...
Run the script and you will get a console output which should contain the number of edges in that mesh... but the number in the console will allways be (number of edges + 1)!

Why does this happen? Is it a bug?

I found this problem accidentally and it scared me pretty much, because I've been using the GetNumEdges function without any problems until now...

ASL Scripts / Kubajzz's toolbox
« on: August 11, 2008, 09:58:48 pm »
I'll keep updating a list of all the scripts you can find in this topic:

This script will easily remove a point in the middle of an edge (see the image). Just select the points you want to remove and run the script...

If you want to read more about it, see my blog:;blog=28;entry=181

If you have any problems or suggestions, don't hesitate to post it :)

Edit - attachment removed, newer version of the script is here

Anim8or v0.98 Discussion Forum / Offline manual files support
« on: May 13, 2008, 02:56:27 pm »
hi Steve... I've got a simple question:

Why doesn't Anim8or support .chm help files?

I've recently spent some time searching for information about .hlp and .chm formats... And I've found out that the Anim8or manual (older versions) exists in both formats (on the downloads page).

However, Anim8or only supports .hlp file (when you click 'About>Help'), but I've heard that .hlp format is very old, worse than .chm, and it's not supported on Vista computers... I've searched the old forum and I didn't find out why is the .hlp format supported in Anim8or instead of .chm format...

I believe that if the .chm format was supported, it would encourage many users to create new offline versions of the manual  in many languages... What do you guys think about this?

ASL Scripts / Cage parametric shape
« on: May 05, 2008, 01:50:26 pm »
I got this idea about a week ago... And finally I found some time to write the script.

This script can create a cage - the parameters are size (X, Y, Z), number of divisions (X, Y, Z) and thickness of the 'wire'; the image below explains it all.

Important note
: if you set the divisions to high values (maximum allowed is 16), the mesh will become very complex; A cage with 16x16x16 divisions consists of 5408 points and it can take several seconds to build the model, depending on your CPU speed. It shouldn't be too long and Anim8or shouldn't crash/freeze, but you never know... Also the non-uniform scale tool (which is normally used to change the X, Y or Z size of the cage) works very slowly when the number of divisions is too high. Be patient please...

However the script should work without any noticeable delay unless the number of divisions gets close to the maximum.

Image and script file attached below. Enjoy!

ASL Scripts / The Utah teapot
« on: April 27, 2008, 08:39:16 pm »
here's another useless plugin I made... - no, that wasn't a good intro.... Let's try again:

Ladies and gentlemen,

let me introduce you the Utah teapot plugin.
The Utah teapot, also called 'Teapotahedron' (the sixth Platonic solid) or just 'The Teapot', was first modeled in 1975 and it became something like a 'standard dummy object' for any 3D work. Mcheccyb gave me the idea to create this script about a week ago on the forum (I didn't know anything about The Teapot before) and now it's here! I tried hard to get the shape as close as possible to the original one; I may post even more accurate version later, but this is the final shape for now. Feel free to use the teapot anytime and anywhere, but always treat it good!
Remember, it's not a normal teapot, it's The Teapot!

See the links below to read more about it's history.

May The Teapot be with you...

Attachments - the teapot script and rendered image with 'checks' texture:

ASL Scripts / Diamond parametric shape released
« on: April 26, 2008, 08:53:02 am »
Edit 21-08-2008 - I attached the script file instead of posting a download link...


I've just finished Diamond parametric shape script (the file attached).

It contains 7 different diamond shapes and several parameters of each shape.

To be honest, I don't think anybody will find all this useful... I just enjoyed programming and studying the geometry ;D

If you have any questions or suggestions, don't hesitate to post it here...

Have fun!

Demo image:

Anim8or v0.98 Discussion Forum / ART and texture mode?
« on: April 05, 2008, 06:39:09 pm »
ART renderer ignores texture mode settings... Even if the material doesn't contain any attributes, ART ignores all that 'darken', 'lighten', alpha' etc. texture settings...

Anim8or v0.98 Discussion Forum / v0.97 - how does it go with shadows?
« on: March 20, 2008, 07:56:55 am »
Hi Steve, I've just downloaded the new preview and it's AMAZING!

I've got just one question: why does the ART Ray Trace renderer always render shadows? I've turned the shadows off in the light, object and preferences settings... and there are still shadows in my scene...

Thanks for the great new features!

Pages: 1 [2] 3