|
|
« Reply #135 on: June 30, 2014, 10:48:03 AM » |
|
After seeing the word non-programmer I am now interested at attempting to make a script for converting formats. Where do I go to look into this?
|
|
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
« Reply #136 on: June 30, 2014, 11:13:14 AM » |
|
After seeing the word non-programmer I am now interested at attempting to make a script for converting formats. Where do I go to look into this?
unfortunately, the new documentation isn't very far... I've got about 5 people working on the documentation, but have made no progress with adding anything to it...
all you need to know is the functions, and the structure. UMC does all the work of format management and file handling for you, so all you need to do is convert the data in your script.
3.0a isn't very friendly as it expects a pre-transformed (T-Pose) model in it's format. this means that for a format such as MDL0, you have to pull off all the conversions in the script.
in 3.0, the dual-buffered interface takes care of both untransformed and pre-transformed data, so that's something to look forward to.
3.0 also promises animation (since now I know how to build the dual-buffered interface
yea, 3.0a's interface can support animation, but there's no way of testing it because the interface itself can't render it.
anyways... here's what's available of the documentation so far: http://tcll5850.proboards.com/thread/182/layout not much... but at least you can tell what functions are in 3.0a vs 3.0
most functions will have only a single input, but only a few will have multiple inputs. almost every function will have defaults.
so basically, the interface is as smooth as GL programming...
# read your data from the file: vertex = bf32( ['','',''] ) # vertex = [0.0, 0.0, 0.0] # send your data to UMC: ugeSetVert( vertex ) # assuming your vertex is in T-Pose position
sorry for 3.0a being a tad complex... I didn't know what I know now to fix this. (unfortunately I had to entirely rebuild UMC to fix it)
if you find anything else that could be simplified even further, let me know.
|
|
« Last Edit: June 30, 2014, 11:14:11 AM by Tcll »
|
Logged
|
|
|
|
|
|
|
« Reply #137 on: June 30, 2014, 12:54:14 PM » |
|
I be honest with you is the documentation that I suppose to look at in the UMC download. Cause I'm starting to think I'm looking at the wrong place.
|
|
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
|
« Reply #139 on: June 30, 2014, 02:03:29 PM » |
|
The forum part is what confusing me because I went into this thinking it would be like mugen (a fighting game engine where you create the characters and stages) files like .cmd and .cns which have coding for whatever it is and your able to edit it using notepad. Take note I not trying to go off topic but using something that can be related to how the python thing your using for umc takes certain words to cue certain actions. You understand what I mean right?
|
|
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
|
« Reply #141 on: July 01, 2014, 09:42:14 AM » |
|
I'm about to download IDLE but since it packaged with python which version do I download? Since I'm pretty sure you use a certain one.
|
|
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
« Reply #142 on: July 01, 2014, 10:37:59 AM » |
|
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #143 on: July 01, 2014, 01:43:32 PM » |
|
Okay I'm looking at the python 2.7.7 shell thing right now. And I noticed in umc there is a mld0 format somewhat done I just wondering where that is at in function and that it what i should be editing/figuring out since I was going for a mdl0 format.
EDIT: Just to point out when i press ctrl + e to export i keep getting this in umc on the python.exe i can't copy/paste this.
Something about traceback on these 2 files API.py in line 56, viewer.py in line 881, and COMMON.
saying UnboundLocalError: local variable 'COMMON' referenced before assignment press enter to exit.
|
|
« Last Edit: July 01, 2014, 01:58:23 PM by N64killer »
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
« Reply #144 on: July 01, 2014, 02:09:44 PM » |
|
Okay I'm looking at the python 2.7.7 shell thing right now. And I noticed in umc there is a mld0 format somewhat done I just wondering where that is at in function and that it what i should be editing/figuring out since I was going for a mdl0 format.
ah, you can find that in UMC/scripts/NTDO_MDL0.py though with the current release, you can't export well enough... (nothing more than what the OBJ format supports really)
this next release here soon should fix that as I've ported the export functions and am currently working on the import functions. though right now I'm porting the OBJ script to test that the export functions at least work.
in the current version you have, the scripting interface didn't follow any standards, and as such it was designed horribly.
as for the error, I'll be sure to look into that not sure why that hasn't happened to me :/
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #145 on: July 01, 2014, 02:29:44 PM » |
|
So you already have it figured out have to fix the mdl0 for exporting into brawlbox? If so I'm not really needed then. Because I be honest i really wasn't sure on what I needed to do.
|
|
|
Logged
|
The Dry Boney that needs canon to make sig with sense, But has a image sig. *has SD card now*
|
|
|
|
|
|
« Reply #146 on: July 01, 2014, 02:39:02 PM » |
|
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #147 on: July 21, 2014, 08:57:19 AM » |
|
update: (progress being made on the interface down-port) http://tcll5850.proboards.com/thread/144/public-umc-discussion-thread?page=1&scrollTo=1042
once this gets fixed, I can start work on the material, texture, and image export functions, and then hit up the import interface as well as the header function. (everything should work the same as it should (and more) in the 3.0 release) I also have to work on the data functions, which unfortunately won't be able to type-check like in 3.0... the interface there is a bit complex to simply merge
so I can promise a release soon, but I can't say how soon
Post Merge: July 21, 2014, 08:56:03 AM I... am an idiot *facepalms* update: http://tcll5850.proboards.com/thread/144/public-umc-discussion-thread?page=1&scrollTo=1043
and my last update is included with me being an idiot
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #148 on: September 26, 2014, 06:51:25 PM » |
|
just switched to Linux :3 expect Wine support by the update ;3
*hopes this doesn't break windows support* (I'll need to install a VM before I'll be able to test on XP64 again)
Why XP64 and not 7 or 8? even through VM, I will never support MS's new RAT (Vista, 7, and .
other info: apparently XP (x86 builds) also had a RAT interface that I just learned about... csrss.exe, which provides network access to remote administration and allows processes to be started and overridden anonymously.
if it can be patched, great I think XP64 already has it patched, and does not include the newer RAT. (XP64 works on x86 systems)
EDIT: already managed to get it working :3 http://tcll5850.proboards.com/thread/143/official-universal-converter-development-thread though it's not very friendly as-is
|
|
« Last Edit: September 27, 2014, 01:33:51 PM by Tcll »
|
Logged
|
|
|
|
|
|
|
« Reply #149 on: October 02, 2014, 02:39:33 AM » |
|
so in other words... ur program wont work for Win7 or 8 users? if so, then thats an issue ur gonna have to handle as most ppl dont use XP anymore... as for me, I don't even know any1 that uses XP anymore lol
|
|
|
Logged
|
|
|
|
|
|