|
 |
« Reply #1380 on: June 06, 2011, 12:10:05 PM » |
|
ok it just looked like the importer was almost done with the first post image
nah... I've still yet to figure out the transforms...
here's my current position of the entire list:
verts faces UV's normals <-- transforms weights bones materials shaders nodes
I've just found out... blender re-arranges the normals by default... but there's still a slight chance the normals are working as they should be >_>
the UV's still arn't complete just yet... if you'll notice, they need to be scaled by Y: -1 this would most likely be defined in the UV attributes...
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1381 on: June 06, 2011, 12:10:43 PM » |
|
noob question, and please give a simple, yet good answer ^^
how long COULD this PROBABLY take IF everything goes fine??
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1382 on: June 06, 2011, 12:14:42 PM » |
|
noob question, and please give a simple, yet good answer ^^
how long COULD this PROBABLY take IF everything goes fine??
for me... there's still no defined time limit before my official release I'm currently working on about 7 plugins for the file types alone there's about 3 sub plugins to work on that provide useful functions for the other plugins
IDK BJ's progress though >_>
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1383 on: June 06, 2011, 12:19:47 PM » |
|
anyway i hope it will be noob friendly tools since i dont understand the ½ thing you saying with all that programming things (i know afew things but not much i made a world of warcraft jumping bot in C++ and thats all )
|
|
« Last Edit: June 06, 2011, 12:20:56 PM by MarioDK »
|
Logged
|
I Dont Take Requests & Dont Do Brawl Mods anymore Maybe Sm4sh modz later
|
|
|
|
|
 |
« Reply #1384 on: June 08, 2011, 08:05:06 AM » |
|
everything I make should only require very few inputs  I'll try to implement tool tips as well, for the more complicated stuff... that is... if I can ever figure out how to work it DX
and I can't understand C-type codes for crap... I understand JS a bit, but C# is way over my head... Python's currently the most easiest and simplest. the only drawback is it's a bit slow depending on the way you program it...
also 1Q... should I post my REFT viewer for anyone else to pick up on?? :/
I'm not gonna finish it since BJ should be adding support >_> _________________________________________________ _________________________________________
since I can't create another post because people are dumb ^(not dir'd to mods (the mods have to put up with the dumb people))
anyways... I've been working on a little progress:
the function:
def vector( VectorList, VectorType, ObjectID, Channel ): #defined for vector handling TypeList = [ 'vertices ' , 'normals ' , 'uvs ' ] tmpw.write( '< ' + TypeList[VectorType] + str(ObjectID) + ' ' ) if VectorType == 2: tmpw.write( str(Channel) + ' ' ) for Index, Vector in enumerate(VectorList): for VectorIndex, Value in enumerate(Vector): tmpw.write(str(Value)) if VectorIndex != len(Vector)-1: tmpw.write('|') if Index != len(VectorList)-1: tmpw.write('/') tmpw.write('\n') print 'Vectors logged successfully'
^tmpw is set by a function you have to send 'fw
the tests:
>>> vl = [[1,1],[1,1],[1,1],[1,1]] >>> vector(vl, 2,0,0) Vectors logged successfully >>> vl = [[1,1,1],[1,1,1],[1,1,1],[1,1,1]] >>> vector(vl, 0,1,0) Vectors logged successfully >>>
the results:
< uvs 0 0 1|1/1|1/1|1/1|1 < vertices 1 1|1|1/1|1|1/1|1|1/1|1|1
^written in 'global.tmp'
flexible function is flexible :3
there's a description on how to use the function in: 1 - GlobalTMP.py 2 - the documentation
^for those who want to develope plugins 
it's pretty simple to figure out though from above XDD _________________________________________________ __________________________________________
just completed a somewhat full session on my converter  (testing my extension plugin)
>>> SetWrite() tmp set to write >>> vector([[1,1,1]], 0,1,0) Vectors logged successfully >>> CloseWrite() tmp sucessfully closed >>>
the result of which looks like this: < vertices 1 1|1|1
just moar awsomness is all 
for developers: that's what you'll be putting into your plugin when developing 
your plugin should only read the file you're converting from, or write to the file you're converting to 
all you have to do now is worry about sending the converted data (in a simple format) to the TMP plugin...
bout time this idea came to me  making the development of plugins easy... heh _________________________________________________ __________________________________________
freakin long post is long  NZM... you suck you're the only one so far who's complained about my multiposting >:O
this posting style sux ballz
for me, multiposting is required... (not to mention I'm the only one keeping this thread alive) *glares* people need to quit being *insert name call here* and learn why multiposting is useful
this forum's standards fail, rendering me incapable of posting in a well-formed fashon
(I'm usu right about this stuff... mods >_>) I think you should pay attention to this rant... (with this being the only (well-maintained) forum I have a problem with) this one needs a multipost:  ----------------------------------
I need some help with a function... this is what I get with a session using it:
>>> setRead() tmp set to read >>> getVector(0,1,0) ['<', 'vertices', '0', '1|1|1/1|1|1/1|1|1'] ['<', 'vertices', '1', '1|1|1/1|1|1/1|1|1'] ['<', 'vertices', '2', '1|1|1/1|1|1/1|1|1'] [] Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> getVector(0,1,0) File "C:\model_convert\plugins\GlobalTMP.py", line 64, in getVector if line[1] == TypeList[VectorType] and line[2] == ObjectID: IndexError: list index out of range >>>
and here's the function giving me that error:
def getVector(VectorType, ObjectID, Channel): VectorList = [] TypeList = [ 'vertices' , 'normals' , 'uvs' ] read = 1 while read: line = tmpr.readline().split() print line if line[1] == TypeList[VectorType] and line[2] == ObjectID: if VectorType < 2: for vector in line[3].split('/'): VectorList.append(vector.split('|')) read = 0 elif line[3] == Channel: for vector in line[4].split('/'): VectorList.append(vector.split('|')) read = 0 print "'"+TypeList[VectorType]+"'"+' Vector returned' return VectorList
I think 404 could help out with this :/
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1385 on: June 08, 2011, 08:31:07 AM » |
|
why complaining about having to edit instead of multi-posting? i find it even easier to read this way... (no sig interrupting...)
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1386 on: June 08, 2011, 08:46:52 AM » |
|
why complaining about having to edit instead of multi-posting? i find it even easier to read this way... (no sig interrupting...)
if all you guys care about is the sig, then I can easily not show my sig between posts... (only showing it on the last post) :/
multiposting is less of a hastle and easier to read between post updates... here, they just collide with each-other and inconveinence the user...
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1387 on: June 08, 2011, 08:49:07 AM » |
|
im a reader and im saying u its easier or the same, with just those horizontal rules... lets stop this plz, sorry for starting it, but rules are rules.
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1388 on: June 08, 2011, 09:13:10 AM » |
|
this is much easier for me, and now it even fits in with the posts  why didn't I think of this before... 
anyways... I need some help with a function... this is what I get with a session using it:
>>> setRead() tmp set to read >>> getVector(0,1,0) ['<', 'vertices', '0', '1|1|1/1|1|1/1|1|1'] ['<', 'vertices', '1', '1|1|1/1|1|1/1|1|1'] ['<', 'vertices', '2', '1|1|1/1|1|1/1|1|1'] [] Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> getVector(0,1,0) File "C:\model_convert\plugins\GlobalTMP.py", line 64, in getVector if line[1] == TypeList[VectorType] and line[2] == ObjectID: IndexError: list index out of range >>>
and here's the function giving me that error:
def getVector(VectorType, ObjectID, Channel): VectorList = [] TypeList = [ 'vertices' , 'normals' , 'uvs' ] read = 1 while read: line = tmpr.readline().split() print line if line[1] == TypeList[VectorType] and line[2] == ObjectID: if VectorType < 2: for vector in line[3].split('/'): VectorList.append(vector.split('|')) read = 0 elif line[3] == Channel: for vector in line[4].split('/'): VectorList.append(vector.split('|')) read = 0 print "'"+TypeList[VectorType]+"'"+' Vector returned' return VectorList
I think 404 could help out with this :/
_________________________________________________ ______________________________________ *sigh* well, you know... it's ju- no... I'm stopping there screw it...
all these minor inconveinences that are only ment to annoy... -.-* apperently people can't make changes to suit everyones needs... I can, but I'm not the owner here, am I...
so I have to put up with these pathetic rules... you know what... screw it... I'll play this forum's little game then >:O
since people refuse to see better ideas when they're presented to them... so you know what... I'm done with it -.-*
I'm keeping my ideas to myself from now on... instead of trying to better a community...
subject is over 
|
|
« Last Edit: June 08, 2011, 09:14:35 AM by Tcll »
|
Logged
|
|
|
|
|
|
 |
« Reply #1389 on: June 08, 2011, 09:14:31 AM » |
|
Good that you finally got it.
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1390 on: June 08, 2011, 09:35:47 AM » |
|
Good that you finally got it.
no I don't finally get it... this post format fails
this is just something I can- *smacked*
I'm stopping there
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1391 on: June 08, 2011, 10:13:50 AM » |
|
IMO, i think the forum's been cracking down on the rules TOO much latley, but that's just me. So many people are being warned latley, and its for rediculously strict rules.
Anyways back on topic.
Hey, BJ96. If I send you a model, can you try it in your converter? Thanx.
|
|
|
Logged
|
By the way, I think every active hacker in this forum could use less distractions.MEMORABLE QUOTES: Tcll: I <3 69 xxmasal22xx: Hey, you should probably go to the hop[censored]al BlackJax96: everything is so ROUND [SPOILERED. Reason: Whole signature size must be under 250px.] Join my website, Brawl Imports, a gathering place for importers!http://brawlimports.proboards.com/index.cgiSupport Project Darkrai? Put the official Project Darkrai banner in your siggy![PICTURE REMOVED. Reason: Total signature pic size exceeds 695x200.] 
|
|
|
|
|
 |
« Reply #1392 on: June 08, 2011, 10:19:00 AM » |
|
So many people are being warned latley, and its for rediculously strict rules.
I've been at the hand of a rediculous warning.  ey, BJ96. If I send you a model, can you try it in your converter? Thanx.
It'll work, but it obviously wont work in Brawl yet. Plus, BJ already agreed as to who will be imported first... It'll take you less than 4 seconds to guess who. :3
|
|
|
Logged
|
|
|
|
|
|
 |
« Reply #1393 on: June 08, 2011, 10:29:46 AM » |
|
It'll work, but it obviously wont work in Brawl yet. Plus, BJ already agreed as to who will be imported first...
It'll take you less than 4 seconds to guess who. :3
Oh so it will work? ok....guess ill needa wait for the release then..... His avvy?
|
|
|
Logged
|
By the way, I think every active hacker in this forum could use less distractions.MEMORABLE QUOTES: Tcll: I <3 69 xxmasal22xx: Hey, you should probably go to the hop[censored]al BlackJax96: everything is so ROUND [SPOILERED. Reason: Whole signature size must be under 250px.] Join my website, Brawl Imports, a gathering place for importers!http://brawlimports.proboards.com/index.cgiSupport Project Darkrai? Put the official Project Darkrai banner in your siggy![PICTURE REMOVED. Reason: Total signature pic size exceeds 695x200.] 
|
|
|
|
|
 |
« Reply #1394 on: June 08, 2011, 11:03:46 AM » |
|
successfully completed a vector session 
>>> setWrite() tmp set to write >>> setVector([[1, 1, 1], [1, 1, 1], [1, 1, 1]], 0,1,0) Vectors logged successfully >>> closeWrite() tmp sucessfully closed >>> setRead() tmp set to read >>> getVector(0,1,0) [['1', '1', '1'], ['1', '1', '1'], ['1', '1', '1']] >>> closeRead() tmp sucessfully closed
UV's still need to be tested though (for the channels) 
|
|
|
Logged
|
|
|
|
|
|