Posts | ||
---|---|---|
Blender3D HL2 SMD Export script | Locked | |
Thread Options | 1 2 3 4 5 6 7 8 9 | |
|
Sep 19 2005 Anchor | |
there are two reasons i am making now this topic here and now. the first is to let you all know that i have not dropped this export script for hl2 and i will not drop it. i tough had and still have to priorize work as real-life does not take a break just because you would like to have it right now. fortunatly my own export script for my engine needs this 'edge creasing' support too that is one of the things that makes exporting from blender for people that interesting. the script to calculate the needed normals for such hard edges is approaching completness and once it works with my engine will be copy-pasted into this hl2 smd export script to support the same cause. the second reason is to make it clear for people where to look for this export script. i know it is inside the blender3d topic but prolly who looks there to find a hl2 export script in the first turn. that is why i make this topic to collect all the informations and release concerning this script. now have a good time and i'm looking forward to the next test release of the script supporting creasing. Features Download HL2 Export Alpha 0.3 ( .tar.bz2 ) This is Alpha version after all. It should work without problems but you never know. You are welcome to give me the feedback. Important Edited by (in order): Dragonlord, Dragonlord, Dragonlord, Dragonlord, Dragonlord, Dragonlord, Dragonlord |
||
|
Sep 20 2005 Anchor | |
edge creasing code seems to work in the script (at last my test debug output showed the correct informations ). i'll test the code out in my engine and if it works i'll plug it into my SMD exporter. up to now i did only provide a test smd file i obtained from my script. i'll change this to allow others to poke their nose into the matter. once i have the code snipped merged i will put here the script to download and test. Edited by: Dragonlord |
||
|
Sep 20 2005 Anchor | |
test passed, the edge-creasing code works splendid on mani-fold meshes and open meshes (with edges having only one face, not two). i'll go implement the code into the smd exporter most probably tomorrow. |
||
Sep 23 2005 Anchor | ||
Keep up this good work I am eagerly awaiting being able to export to HL2 from blender. --
|
||
Sep 23 2005 Anchor | ||
|
Sep 24 2005 Anchor | |
|
||
|
Sep 24 2005 Anchor | |
this exporter only exports a simple prop without sceleton or animation data. here a list of what my script can and will can. can do:
will can:
this is what i know about the SMD format to be able to carry as informations. if you know about more that can be put into those files you can tell me and i look into it. as said i develop this script 'blindly', which means, without documentations or a working HL2 SDK to test it out, hence i need the input from others in this one. had to help out in a pal's shop building up the store from after the flood and the last two days went into rebuilding his computer which got a bit 'wet' in all this. i'll get to the smd script today if nothing else gets in the way (which should hopefully not on the weekend *grin*) Edited by: Dragonlord |
||
|
Sep 24 2005 Anchor | |
i cooked up a version which should export meshes together with their parented armatured into a .smd file as static mesh. exported are the mesh with the sceleton and bone weighting but not creasing (i wait until i know the math works out). the zip contains a test model that i would like you to use if you want to give me feedback. major problem is that i don't know the coordinate system of HL2 and hence this version is a test version to see if i got the orientation right. if you do a test export please post a render thus i can check out what went wrong if something went wrong. if it turns out to work i will add the creasing and sequence export, which are more or less ready to be plugged in, just sitting on the player-bench until the lead is there ^_^. NOTE: this is ALPHA version, hence don't whine into my ears if it does not work. you are welcome though to give me the feedback i need to repair things. |
||
Sep 24 2005 Anchor | ||
I tried to export Static and Animation but blender returned an error: Edited by: -hp- -- |_( hp )¯| p00nst3r |
||
|
Sep 24 2005 Anchor | |
you have an incomplete installation of python. you are missing the RE module, which provides pattern matching (regular expression matching). as far as i see it the script has no need yet for pattern matching but in the future it might. to fix this you can replace line 68 with:
|
||
Sep 24 2005 Anchor | ||
same error -- |_( hp )¯| p00nst3r |
||
|
Sep 24 2005 Anchor | |
you might try taking out cStringIO which seems to include the RE module by itself. change line 68 into
but prolly you should get yourself a complete python installation as this way most scripts in blender (especially export scripts relying on cStringIO) will kick your but. |
||
Sep 24 2005 Anchor | ||
lol same error, i'll just get me a new install of python. I thot i did already, but i guess not. in my blender console it says i hv it installed. UPDATE: AFter a reinstall of python 2.4.1, i am still getting the same error. Suggestion: keep the most recent version of the exporter in the first post so people can easily get to it. Edited by (in order): -hp-, -hp- -- |_( hp )¯| p00nst3r |
||
|
Sep 25 2005 Anchor | |
i looked in the documents and thew RE module is part of the built-in modules of python. most probably your installation is for some kind incomplete. try googling for blender-python problems to sort it out. more i can not help. |
||
Sep 25 2005 Anchor | ||
i fixed that problem, i exported a static smd and tried it on the model compiler as a static prop. the compiling gave me this:
in the middle of compile the compiler complains that the model has no sequences -- |_( hp )¯| p00nst3r |
||
|
Sep 25 2005 Anchor | |
Sep 25 2005 Anchor | ||
ok i changed that heres the compile log: trying in hammer now UPDATE: Everything looks okay to me Edited by (in order): -hp-, -hp- -- |_( hp )¯| p00nst3r |
||
|
Sep 26 2005 Anchor | |
sorry to miss your update, i looked only for new posts. so far it looks like the coordinate system is ok, but that's only the static mesh. you are missing the texture file to apply there. i'll include it in the zip file that you can use it. otherwise just place a file 'skin.tga' in the same folder with some skin on it. now what i need more is if the sceleton does work out. somebody here posted once a screenshot with the sceleton drawn. if you can try to get that and try if deforming the mesh with the bones provided works i can put in the rest to make this one complete. |
||
Sep 29 2005 Anchor | ||
i dont think i'd be able to do the 2nd part ur talkinga bout and whats with the file tht says COPYING in the zip file? Edited by: -hp- -- |_( hp )¯| p00nst3r |
||
Sep 29 2005 This post has been deleted. | ||
|
Sep 30 2005 Anchor | |
auto-weighting is a just a script you do for blender. in fact blender even has an auto-weighting inside. just make no vertex-groups and assign an armature. blender will auto-weight. it's not that good and hand-weighting is still best. @Hp-P00nst3r: the file COPYING contains the General Public License. this is a requiremenet if you put somethung under GPL. @All... I still need somebody to test the bones/sceleton export before i can continue. |
||
Sep 30 2005 Anchor | ||
i can export the skeletons but how do u want me to compile the smd file? ps can u get me a skin -- |_( hp )¯| p00nst3r |
||
|
Sep 30 2005 Anchor | |
how you do skeletons compilation in HL2SDK i really have no idea. my task here is trying to cook up a HL2 exporter... how to compile this shit afterwards into a engine usable form is none of my beer (especially as i have no HL2SDK and HL2 is something sitting somewhere in a dusty corner of a removable usb hd). i can make up the rest of the exporter without somebody testing if my exported skeleton is correct, but then i can guarantee for nothing. the only thing i need is a screenshot of the model compiled with the skeleton. and concerning the texture just use anything you want. it doesn't matter at all what size or content, just something to plug on this baby to see if it works or not. |
||
Oct 1 2005 Anchor | ||
where did u get that wood texture for the skin -- |_( hp )¯| p00nst3r |
||
|
Oct 1 2005 Anchor | |
from the internet. some free texture i think it has been. but don't ask me from where. just take anything from your pc, or make a screenshot from moddb and use this. |
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.