General Category > ASL Scripts

Script request: export a 3d model from sequence mode

(1/2) > >>

Miatpi:
Hi, I've got a request for a script that allow you to export a 3d model from sequence mode.
 
Currently the only way for me to export a 3d model from sequence mode is by exporting it as a 3ds file.
The problem is that there is a "point" limit for the 3ds file exportation, I cant export big or detailed models.
Thats why I need a script so I can export a certain frame from the sequence as a 3d model.

Another solution is a script what makes a certain frame in the sequence mode into a morph-target in the models morph-target list. Then you could switch to it in object mode and export it as a 3d model if you want to.

I understand if its too much I ask for, but I'm glad if someone can help me. Thanks! :)

cooldude234:
I don't know about script but I am working on a simple application that will take an anim8or file and extract the skeletal information from it.
Though I would not expect it to be finished until at least a month or two, even at that I am still being optimistic.

Raxx:
Script functionality in the sequence editor hasn't been implemented yet, so only 3rd party tools can be made, which is a lot more work than when simply developing a plugin.

At some point I'd like to take Texel's liban8 library, extend it, and write some tools for Anim8or (or at least an FBX exporter), but time's not on my side right now.

Raxx:
And so...I thought about it a little more and recalled some experimentation that I did with GLIntercept when I was thinking of figuring out how to hook into Anim8or for 3rd party manip tools. Anyway, I remembered the whole DirectX ripping deal with video games, looked it up for Opengl and found this method for you to capture your 3D model in exactly whatever state you have it in Anim8or. I originally installed GLIntercept & OGLE and did it all manually with the configs, but Chello (or whoever it is) made a nice, painless toolkit for easy use. Note that you need the .NET 2.0 framework installed to run it.


* Download and install GLXtractor into any folder
* Open GLXtractor.exe
* Hit 'Choose App', select your Anim8or.exe file with it.
* In the 'Capture' tab, keep everything unchecked and change the capture shortcut if you want. Don't worry about the Filename or folder, they won't be useful.
* In the 'Ogle Plugin' tab, have the 'Capture Texture Coords' and 'Capture Normals' options checked. Keep everything else as they were.
* Save the profile, then hit Start Application
* Navigate to your sequence at the frame you want to export, hide the bones, then hit the shortcut key to capture it. By default it's ctrl+shift+f unless you changed it.
* Now in the same directory as where Anim8or.exe is, there should be some file named Anim8or.#.obj. That is your perfectly copied .obj file that you can use for whatever you want.
Or you can use CrashDrive's method here, though it may be a little more work and your results will differ.

For archiving purposes, I'm putting GLXtractor as an attachment as well.

CrashDrive:
That's great Raxx. Works perfect.
I cross referenced these two methods.

The problem with Ani2Pov is, it turns Quads to Tris, so you can't get an exact copy.
Your method (GLXTractor) works perfect for static models.
The Ani2Pov method works best for animated game models as most engines use Tris anyway.

Navigation

[0] Message Index

[#] Next page

Go to full version