Blender Export Script for Scorched3d models!

Post new topic Reply to topic  [ 121 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next
Author Message
 Post subject:
PostPosted: Sun May 28, 2006 3:16 am 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked


Joined: Thu Jan 08, 2004 1:32 am
Posts: 2923
Location: Ohio, US
cbx550f wrote:
I'm trying to work on exporting animations, and I could use a simple ms3d file for reference..... could someone maybe take one of the boids and simplify it for me? Maybe just a cube for body and similarly simple wings...

cbx


Simplify it? That bird's animation is pretty damn simply already, lol.

And which ms3d file do you mean? The ASCII file or the project file?

I don't really know how I could make it more simple but I have both the final ASCII file and project file, whichever one you want.
Image
Scorched 3D: Mountaintop Removal at its finest!
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 30, 2006 11:16 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
Deathstryker wrote:
cbx550f wrote:
I'm trying to work on exporting animations, and I could use a simple ms3d file for reference..... could someone maybe take one of the boids and simplify it for me? Maybe just a cube for body and similarly simple wings...

cbx


Simplify it? That bird's animation is pretty damn simply already, lol.

And which ms3d file do you mean? The ASCII file or the project file?

I don't really know how I could make it more simple but I have both the final ASCII file and project file, whichever one you want.


Just a bump to remind me to get back to work on this... I had made a bit of progress, but this is turning out to be even more difficult than I anticipated. Long weekends now, with no kids.... so I may spend some time at it. ;)

cbx
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject: MS3D import script
PostPosted: Sun Sep 03, 2006 8:42 am 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
Anyone have an import script for blender for ms3d ascII text files? Because I have my old models only saved in text format pls help thx.
"For the Emperor!!!!"

Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 03, 2006 2:15 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
I don't have, nor know of one at this time. I am planning on writing one, however. (I've been saying that for a year though ;))

I likely will soon, as I too am seeing an increasing desire to be able to import.

cbx
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 03, 2006 9:52 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked



Joined: Sat Dec 18, 2004 7:20 pm
Posts: 2015
Location: USA
Milkshape3d has a way to import the txt model files. you could *look* at that first.
Beware the VOID

When in doubt on why your mod broke...
it's all Bobirov's fault.


Top
 Profile  
 
 Post subject: Export script
PostPosted: Tue Sep 05, 2006 1:18 pm 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
I have a little problem with the script, because blender says error when I try to export into scorch3d, what can be the problem?
I use the 2.42a version of the blender maybe that cause my problem with the script?


Attachments:
Scripterror.JPG
Scripterror.JPG [ 3.32 KiB | Viewed 1002 times ]
"For the Emperor!!!!"
Top
 Profile  
 
 Post subject: Re: Export script
PostPosted: Tue Sep 05, 2006 11:25 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
Berem wrote:
I have a little problem with the script, because blender says error when I try to export into scorch3d, what can be the problem?
I use the 2.42a version of the blender maybe that cause my problem with the script?


Berem, if you could run blender from the console (or command prompt, if you run Windows), it should display more information there. I'm running 2.42 - so the version shouldn't be an issue.

Also, make sure that you can run other python scripts (Just try to export to .obj or something as a test).

jdog wrote:
Milkshape3d has a way to import the txt model files. you could *look* at that first.

Ahh, but I don't have access to the source. ;)
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject: Re: Export script
PostPosted: Tue Sep 05, 2006 11:46 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked



Joined: Sat Dec 18, 2004 7:20 pm
Posts: 2015
Location: USA
cbx550f wrote:
Berem wrote:
I have a little problem with the script, because blender says error when I try to export into scorch3d, what can be the problem?
I use the 2.42a version of the blender maybe that cause my problem with the script?


Berem, if you could run blender from the console (or command prompt, if you run Windows), it should display more information there. I'm running 2.42 - so the version shouldn't be an issue.

Also, make sure that you can run other python scripts (Just try to export to .obj or something as a test).

jdog wrote:
Milkshape3d has a way to import the txt model files. you could *look* at that first.

Ahh, but I don't have access to the source. ;)


Now where is that hammer? :lol: Someone has to have needed something like this for blender before. Have you checked on the blender forums?
Beware the VOID

When in doubt on why your mod broke...
it's all Bobirov's fault.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 06, 2006 1:40 am 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
I can use all of the other exporter only this not work, and the script editor window dont show anything when I check. Jdog thx the tip now I go to blender forum :)
"For the Emperor!!!!"

Top
 Profile  
 
 Post subject: Re: Export script
PostPosted: Wed Sep 06, 2006 10:00 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
jdog wrote:
cbx550f wrote:
jdog wrote:
Milkshape3d has a way to import the txt model files. you could *look* at that first.

Ahh, but I don't have access to the source. ;)


Now where is that hammer? :lol:

No idea what that means.

Quote:
Someone has to have needed something like this for blender before. Have you checked on the blender forums?

Yes, very much. The is an old import script around (not sure where to find it on the net at the moment, but I have a copy here). It is a bit cumbersome to use, but it essentially works (I don't recall what the flaws are offhand)

Berem wrote:
I can use all of the other exporter only this not work, and the script editor window dont show anything when I check.


Not the script editor window - run blender from a command prompt and you should see output there.

Also, when you can see the output, at about line 40 of the script you can set the dbg value to 1 to enable more verbose output.

cbx
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject: error
PostPosted: Wed Sep 06, 2006 11:16 pm 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
HI cbx550f I see you writed this script, here what I see on console. I downloaded python, and deleted this mod_meshtools from the script but after the next line was the fault mod_flags I deleted too, after it worked, I gived the filename I was happy, ohh I can use this exporter, now, and the end was that a program writed out in console that, mod_flags not defined orr something bla bla, so why not work it correctly I dont know, I only can programming PLC-s, not such a things so cbx550f pls help you writed this script. maybe you know.


Attachments:
after mod_flags delet.JPG
after mod_flags delet.JPG [ 46.45 KiB | Viewed 984 times ]
after mod_mestool delet.JPG
after mod_mestool delet.JPG [ 31.86 KiB | Viewed 984 times ]
s3dexport error.jpg
s3dexport error.jpg [ 43.08 KiB | Viewed 984 times ]
"For the Emperor!!!!"
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 07, 2006 10:38 pm 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
Err, the .obj exporter isn't mine - just the MS3d on posted on the first post here. ;)

Anyway, I'm in process of updating my script, which will be addressing similar problems to what you're seeing there - I'll keep you posted.

Also, I think I might have a .txt import script ready soon - it's mostly working, but having trouble importing the bones (there's an error in the docs for the Blender Python API - awaiting the correction)

Cheers

cbx
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 08, 2006 1:19 pm 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
Ahhhhh not the object exporter, only read the last message that was the error what the s3d exporter caused, I only played a little with another exporter. Always read the last messages/lines on th screen shots, those caused by your script. Ok and your script start with this:

import Blender
import os, time, fpformat
import mod_meshtool "I have problem with this"
import mod_flags "and this line"

As you see on screenshots
"For the Emperor!!!!"

Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 09, 2006 3:54 am 
User avatar
Desintigrated

Current Scorched3D Rank: Unranked






Joined: Sat Jun 12, 2004 12:53 am
Posts: 2884
Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
Ahh, yes. Sorry - those are bad with Blender 2.4x. For some (unknown) reason, they weren't causing me trouble. I tmust be beacaue of the lingering old blender versions I have around, but, given that the python API was rewritten almost entirely for 2.4x - not sure why mine is working.

Anyway, I have much of it updated now - when I tidy it up I'll post it.

cbx
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker

She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous

Who wrote this crap? - G. Camp


Top
 Profile  
 
 Post subject: Latest export script?
PostPosted: Mon Sep 11, 2006 3:33 am 
User avatar
Charred
Not Signed Up For Stats

Joined: Sun Aug 21, 2005 9:23 pm
Posts: 106
Location: Hungary
Sorry for bothering you cbx550f but when would you put up here the latest exporter script for blender? Sill that time I use milkshape not problem, I only ask it.

THX Berem
"For the Emperor!!!!"

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 121 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group