Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Pages: 1 [2]

Author Topic: Mesh2A8s Export Script  (Read 37600 times)

kreator

  • Hero Member
  • *****
  • Posts: 1146
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Mesh2A8s Export Script
« Reply #15 on: December 23, 2013, 10:42:28 am »

polyGon_tError:

Your zip file only shows 5kb when de-compressed, half of the script is missing, The Correct Cr8 File is 23Kb.

Which I attach.

Logged
O

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: Mesh2A8s Export Script
« Reply #16 on: December 23, 2013, 12:55:32 pm »

Yeah, I was aware that someone made something like it, but at the time I needed the shapes made a specific way. Use whichever one you prefer ;)
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 490
  • errm...errr?
    • View Profile
Re: Mesh2A8s Export Script
« Reply #17 on: December 23, 2013, 06:56:12 pm »

success :)thanks everyone.
my first two attempts.
i have posted the book before but this one has a suitable icon.
Logged
!

polyGon_tError

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Mesh2A8s Export Script
« Reply #18 on: December 26, 2013, 09:27:28 am »

well, allow me to make you all little happy,

getting some info/data from you all i made a 'Book' live, now can be opened with page's as well.

don't forget to reply how it is.

*Note : Update (01.01.14) - 3 Material (now editable) + Normal fix, please download again and replace previous, thanks.
« Last Edit: January 02, 2014, 02:43:10 am by polyGon_tError »
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 490
  • errm...errr?
    • View Profile
Re: Mesh2A8s Export Script
« Reply #19 on: December 26, 2013, 10:49:39 am »

Works fine.super job :)
« Last Edit: December 26, 2013, 10:55:43 am by captaindrewi »
Logged
!

lppena

  • Sr. Member
  • ****
  • Posts: 299
  • Anim8or, does a body good.
    • View Profile
    • Truespace Anim8or Casual Modeling Forum.
Re: Mesh2A8s Export Script
« Reply #20 on: January 01, 2014, 12:05:31 pm »

Here's a trick I figured out to get a image thumbnail 32x32 out of Caligari Truespace 7.6 using its render to file function. Load the object you want to use and set the material color to 0 0 0 turn off all lights in the scene and set the background color to 255 255 255.

In the render to file option select PNG as the output format in the out image size set it to 32x32 and save the file to the folder with Tysons button plugin converter.

Open the converter and open the PNG image to convert it to an a8s file and then open the parametric script that you want to use for the button image in a text editor and remove the current button block of text and open the new a8s file and copy the button section to the parameteric script and save it.

At first I could figure out why my first attempt failed showing only a blank button, but after some trial and error I found that turning off the scene lights did the trick in creating a usable image on the button face.

I suppose that it can be done in Anim8or as well but I am not that familiar with Anim8or; prehaps someone more knowledgable could post the steps for doing in Anim8or. Leroy. Happy new year to all btw.

Update: to do it in Anim8or apply a material color of 0 0 0, use the render image function, set the output size to 32x32, the background color to 255 255 255 and select the alpha channel option. The other steps are the same for editing the button in a text editor.

I attached the a8s button for the B-25 Mitchell that I uploaded in an earlier post. Leroy.
« Last Edit: January 01, 2014, 12:30:30 pm by lppena »
Logged

polyGon_tError

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Mesh2A8s Export Script
« Reply #21 on: January 02, 2014, 02:39:31 am »

Difference of 'Raxx' - 'Mesh2An8' and 'Llyr Carter' - 'Cr8plugin' for general user.

 Mesh2An8 :
 * simple, easy, small Output.
 * work with 'Scale' tool.
 * output Data is easy to RegExp to use it for making true Parametric Mesh.
 * single Mesh, Default Material, no Texture Output.
 * Material and Texture can't be changed(currently).

/* add this code before defining Material to make it user changeable */
if($<Object Name>.LookupMaterial("<Material Name>") == NULL){
 ... define Material here ...
}

 Cr8plugin :
 * little complex, big, not easy to RegExp.
 * work with 'Non-Uniform Scale' tool.
 * Multiple-Mesh/Shape (Output will be Single) with Multi/Sub Material, Multi-Texture Support.
 * Work with old Version (V.95) as well.
 * keep user Setting of Material and Texture after changed.

* Note (12.01.14): added the Round Cube (Mesh is from 'lppena' modified for better Subdivision), now it is parametric. updated the Book as well (see above).

« Last Edit: January 26, 2014, 01:56:06 am by polyGon_tError »
Logged

lppena

  • Sr. Member
  • ****
  • Posts: 299
  • Anim8or, does a body good.
    • View Profile
    • Truespace Anim8or Casual Modeling Forum.
Re: Mesh2A8s Export Script
« Reply #22 on: January 12, 2014, 06:15:53 am »

Cool Thanks.
Logged
Pages: 1 [2]