Login  Register
 



Post new topicReply to topic Go to page Previous  1 ... 9, 10, 11, 12, 13
 
Author Message
 PostPosted: 13 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
Ah, i was figuring i'd export the static model with no anims so i could check the mapping, but i need to animate and skin it do i? Dang.

--EDIT--

Something went wrong :shock:

Image

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 

Joined: 23 Feb, 2007
Posts: 252
Offline
Redo the skin, every vertex needs to be weighted to a bone.


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 

Joined: 25 Feb, 2007
Posts: 217
Offline
Is it just me or do people simply refuse to read previous posts in a thread when posting their problems?

There are problems with the exporter that basically mean you cant have a mesh with more than one weighted bone in it and expect it to work in game. Robotronic is working hard to fix the problems so just hold up and stop posting the same things that other people have already posted. Next time try reading the last page or so of thread before posting to make sure youre not just adding to the clutter.

_________________
tpapp's sc2normal texture converter (v1.1):
Image


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
I did make every vertex only weighted to 1 bone! I ONLY HAVE 1 BONE!

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 
User avatar

Joined: 11 Apr, 2007
Posts: 1915
Offline
tpapp wrote:
Is it just me or do people simply refuse to read previous posts in a thread when posting their problems?

There are problems with the exporter that basically mean you cant have a mesh with more than one weighted bone in it and expect it to work in game. Robotronic is working hard to fix the problems so just hold up and stop posting the same things that other people have already posted. Next time try reading the last page or so of thread before posting to make sure youre not just adding to the clutter.

Same old story in most forums where I've been ! :roll: :-/

I've taken the time to read the whole thread...
IMO it needs to be condensed to regroup the very usefull informations...

For memory this discussion is about "Model and Animation formats"
So I suggest the converter things to be exported in a specific thread which would be named "Converter XXX Dev" or something like that, where XXX is the name of the converter. (just like you did tpapp)

It's not my intention to push away Robotnic and other coders (I'll be one of their customers), but things are sometimes going a bit out of topic.
Then it becomes a pain to extract the essential data... (I'm a real noob at 3D)

<EDIT>
I won't offer to do this "cleansing" job cos' I don't feel good enough in summaryzing such topic I don't master (yet).

Although, modding SupComm requires lots of knowledges and tools.
In my specific case, I wish I could make a total conversion -alone for now- which supposes to do a big work (learning 3D and related tools, making CGs, learning LUA, coding, etc.).

I'd rely on SupComm fans's tools to create my own mod much more easier then...
But for now, I have to go back and learn how to make my own 3D units... until some question comes to my mind.


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 

Joined: 23 Feb, 2007
Posts: 252
Offline
PheonixIV wrote:
I did make every vertex only weighted to 1 bone! I ONLY HAVE 1 BONE!


If you upload it I can take a look at it.


Top
 Profile  
 PostPosted: 13 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
I fixed it by removing the skin modifier and re-adding it, i don't know why it worked since the weight table was identicle, but it appeared too. Now i have a different problem:

For some strange reason, the exporter has exported all the faces on the model with the wrong side, it's inverted all of the faces...
Halp?

Image

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 14 Apr, 2007 
 
Forum Engineer
Forum Engineer

Joined: 09 Mar, 2007
Posts: 199
Offline
Flip them in max?


Top
 Profile  
 PostPosted: 14 Apr, 2007 
 
Forum Scout
Forum Scout
User avatar

Joined: 18 Feb, 2007
Posts: 493
Location: Gone
Offline
Shouldn't it just be a matter of swapping a plus with a minus (or whatever the vector equivalent of that is) somewhere in the exporter? Turning textures inside out doesn't seem like a good long-term solution.

For someone who has minimal programming experience you've done a trully amazing job to get this exporter out so quick. I studied 3D art for 2 years at tertiary level and I still don't understand half this stuff (but I can make a wicked corkscrew ;)).

EDIT: Forgot to mention. I've contacted RAD Game Tools and politely asked if they would consider releasing a community version of their export plugins. I made a good argument that it would add significant value to their 'granny' framework by giving their customers (ie, GPG) more features and giving RAD free promotion at the same time. Its not like the exporter would do anything for you if you weren't a licence holder yourself or the customer of one.


Top
 Profile  
 PostPosted: 14 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
Woo, it works. Now to wait for animation support.

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 15 Apr, 2007 
 

Joined: 16 Feb, 2007
Posts: 200
Offline
spliff: its not the exporter that flips the model so is not a problem to fix, it works fine, it was just a problem 1 person was having, its worked fine with no problems for myself and alot of people you see :)

Kenetor

_________________
Mod Leader @ Gothic Commander - BFG TC


Top
 Profile  
 PostPosted: 15 Apr, 2007 
 

Joined: 23 Feb, 2007
Posts: 252
Offline
Kenetor wrote:
spliff: its not the exporter that flips the model so is not a problem to fix, it works fine, it was just a problem 1 person was having, its worked fine with no problems for myself and alot of people you see :)

Kenetor


Well , I've had a few models where all the bones are positioned relative to the model, yet when exported they show up in reverse.

I got into max and change the position to say, x=15 to x= -15, it then works and shows up ingame in the right position. This has been true for most of the models I have working.


Top
 Profile  
 PostPosted: 16 Apr, 2007 
 
User avatar

Joined: 22 Feb, 2007
Posts: 172
Offline
So how is the new exporter coming along robotronic?


Top
 Profile  
 PostPosted: 16 Apr, 2007 
 
Forum Engineer
Forum Engineer

Joined: 09 Mar, 2007
Posts: 199
Offline
Hammerhead wrote:
So how is the new exporter coming along robotronic?


I'm rewriting it. The current version was giving me so much problems. I'm ditching the skinmod idea. I'm going to treat each object in the scene as a seperate node. This should be easier for me and the exporter will be a lot faster. ( I hope)


Top
 Profile  
 PostPosted: 17 Apr, 2007 
 

Joined: 11 Mar, 2007
Posts: 131
Location: Utah
Offline
Sweet Robotronic!! thats the way im used to doing it in unreal modding. i hope that isnt harder to do, cause it will make modeling and animating these things easier. it makes sense that way cause none of the models have percentile deformations in SC.

oh and about the problem with bones coming into the game backwards or offseted, it happens in unreal often (especially the flak cannon!), even if you exported it correctly sometimes certain nodes could be rotated by the code you were extending your weapon from.

so it might be something harded coded into that specific blueprint or elsewhere that your custom units code may be extended from... just my little theory.


Top
 Profile  
 PostPosted: 17 Apr, 2007 
 

Joined: 25 Feb, 2007
Posts: 217
Offline
So what you mean is that individual objects will be linked as a whole to their respective bones? I think thats a much better system.

I look forward to more updates on your progress.

_________________
tpapp's sc2normal texture converter (v1.1):
Image


Top
 Profile  
 PostPosted: 17 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
Aye, that's much faster, especially for mechanical models.
It's a bit of a bitch for organics tho.

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 18 Apr, 2007 
 
Forum Engineer
Forum Engineer

Joined: 09 Mar, 2007
Posts: 199
Offline
CodyLavery wrote:
Sweet Robotronic!! thats the way im used to doing it in unreal modding. i hope that isnt harder to do, cause it will make modeling and animating these things easier. it makes sense that way cause none of the models have percentile deformations in SC.

oh and about the problem with bones coming into the game backwards or offseted, it happens in unreal often (especially the flak cannon!), even if you exported it correctly sometimes certain nodes could be rotated by the code you were extending your weapon from.

so it might be something harded coded into that specific blueprint or elsewhere that your custom units code may be extended from... just my little theory.

Making models for supcom will be _really_ easy.

The reason bone position isn't correct is because of broken code ;(

tpapp wrote:
So what you mean is that individual objects will be linked as a whole to their respective bones? I think thats a much better system.

I look forward to more updates on your progress.


Objects in max will act like a bone. You only need to make every movable part a separate object, set its pivot (bone point) and link it to the parent object.

PheonixIV wrote:
Aye, that's much faster, especially for mechanical models.
It's a bit of a bitch for organics tho.


Organics will not be possible with scmexp2.0. I'm planning on going back to using skinmod because you have more control, I just need to figure out some sorting problems.

Tried thinking of a nice way to calculate the relative position and rotation of a bone today. Broke my brain with all the maths....

And then I found out you could do this:

Code:
bone.position = ( in coordsys parent node.pos )
bone.rotation = ( in coordsys parent node.rotation )


I feel kinda stupid :P

The relative pos/rot was the biggest snag, now that I know this coding the rest should be easy. I hope to have a working version tomorrow.


Top
 Profile  
 PostPosted: 18 Apr, 2007 
 

Joined: 25 Feb, 2007
Posts: 217
Offline
Best news all week.

_________________
tpapp's sc2normal texture converter (v1.1):
Image


Top
 Profile  
 PostPosted: 18 Apr, 2007 
 
User avatar

Joined: 08 Mar, 2007
Posts: 9771
Location: In a non-euclidian space between the walls.
Offline
I suggest you keep the 'using seperate objects as bones' because it is much more efficient for mechanical models, wheras skinmod is much better for organics. If you could choose between the two, or even use a combination of the two with your exporter, it would be really, really good.

_________________
ImageImageImageImageImage


Top
 Profile  
 PostPosted: 19 Apr, 2007 
 
Forum Engineer
Forum Engineer

Joined: 09 Mar, 2007
Posts: 199
Offline
Code:
v0.9
   -New export script. Uses max object instead of bones.
   -Objects are treated as a seperate bone
   -Dummy objects are treated as reference bones
      -Don't link objects to a dummy object. Objects that are linked to dummies are ignored.
   -Check the example max file (requires max9)


download: http://janvanderweg.com/supcom/scmtool0.9.zip

Exporter should fully work. Please test... oh god please test it and tell me everything works.

I left the old skinmod export script in there if you need it for some reason. To use the new exporter click on the "Export .SCM (object)" button.

Edit: Forgot to include the correct readme and example max file. Fixed now.


Top
 Profile  
 PostPosted: 19 Apr, 2007 
 
User avatar

Joined: 22 Feb, 2007
Posts: 172
Offline
Sweet a new exporter. I should give it a try tonight with a simple tank or something. Might make a tutorial from it.


Top
 Profile  
 PostPosted: 19 Apr, 2007 
 

Joined: 25 Feb, 2007
Posts: 217
Offline
Awesome. I havent had a chance yet to put something in game but right off the bat you need to support linking objects to reference bones.

_________________
tpapp's sc2normal texture converter (v1.1):
Image


Top
 Profile  
 PostPosted: 19 Apr, 2007 
 
Forum Engineer
Forum Engineer

Joined: 09 Mar, 2007
Posts: 199
Offline
tpapp wrote:
Awesome. I havent had a chance yet to put something in game but right off the bat you need to support linking objects to reference bones.


I don't see why? Reference bones should be at the end of the links. No supcom model that I've seen has normal bones linked to reference bones. If you really need this I'll try to add it.

I don't know if this is possible though since reference bones come after the normal bones. If a normal bone says its parent is a bone that comes after it in the list it might not load up correctly is supcom.

we now have a nice megathread for the exporter so please continue discussion in there!

http://forums.gaspowered.com/viewtopic.php?t=8582


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic Go to page Previous  1 ... 9, 10, 11, 12, 13



Quick Tools

Search for:
Jump to:  

© 2002-2010 Gas Powered Games Corp. All Rights Reserved. Gas Powered Games is the exclusive trademark of Gas Powered Games Corp.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
 
Home| Games | Company | News & Press | Support
  Terms of Use   |    Copyright Information   |    Privacy Policy