View topic - Upspring 1.54



All times are UTC + 1 hour


Post new topic Reply to topic  [ 437 posts ]  Go to page 1, 2, 3, 4, 5 ... 22  Next
Author Message
 Post subject: Upspring 1.54
PostPosted: 22 Sep 2006, 20:07 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
New version (1.54)

Download it here
See post: link


Or the version with euler angles instead of quaternions, and fixed BOS exporter script:
Download it here


Last edited by jcnossen on 26 Mar 2007, 23:38, edited 16 times in total.

Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 01:18 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Not tried it out yet but, YAY! :-) 8)


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 02:31 
Modeler
User avatar

Joined: 12 Dec 2005, 01:49
Good to see its updating.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 03:10 
Moderator
User avatar

Joined: 23 Nov 2005, 06:16
Location: Dunedin, New Zealand
Sounds promising.

/edit/ Looks promising too. :-)

/edit/ Feature Request : Equivalent of wings 'A' key, for focusing on a specific selected object or group.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 03:26 
P.U.R.E. Developer
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
Will test :-)


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 04:59 
P.U.R.E. Developer
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
Tested it. When we can call the animations via script, this will be very impressive. Glad to see this is moving along so quickly- I figured it'd be months before you could get back to this.

Three feature requests:

1. "Move Origin". Allows movement of the Origin XYZ just like Move, but doesn't move the geometry.

2. "Gridsize". Would change the sensitivity of the Move command, allowing the equivalent of "snap to grid" in most 3D applications. Would default to 0.1 units, but should be float-able. Could be combined with Move Origin or Move Part.

Basically, this would be another tool that would help translation of geometry over the format and setting up the rotational points (which is about 90% of the drudgework, as origins and part locations get all screwed up when hierarchies get made, and not all modeling software allows for manipulation of part origins natively).

3. It'd also be nice if UpSpring assumes that users want previous absolute positioning of child objects when they are Pasted onto Parents, instead of relative to the new Parent, which would also save modelers a huge amount of time. Then we could import the model as-is... fix the Origins with Move Origin, and be done and ready to animate- that'd be perfect :-)

If you don't understand why this is a really big deal, I'll send you one of the NanoBlobs models in native OBJ, and let you try to put it together with proper rotational points in UpSpring- I think one try will convince you ;)


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 08:41 
Imperial Winter Developer

Joined: 06 Feb 2005, 13:42
Location: Indianapolis
At a cursory glance, the new rotation stuff seems to work properly, but there's still one major kink... it has a funky mirroring problem.

These are the exact same files:

Image

It's not just a rotation, it's a full blown mirror... as you can see, it really screws up the quick little pose I just threw together to test:

Image

It looks far more accurate than 1.3 would ever spit out though, which is very good. With 1.3 trying the same thing would give me a Saturday Night Fever-trooper at best...


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 08:43 
P.U.R.E. Developer
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
Yeah, not having it mirror everything would be boss. I'm so used to dealing with that, I kind've forgot to mention it.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 10:53 

Joined: 29 May 2005, 10:18
Location: Eindhoven, Netherlands
Argh wrote:
...
If you don't understand why this is a really big deal, I'll send you one of the NanoBlobs models in native OBJ, and let you try to put it together with proper rotational points in UpSpring- I think one try will convince you ;)

I (or Tobi) realy need to set up WebDav that way you can simply point to the file there.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 11:19 
Moderator
User avatar

Joined: 23 Nov 2005, 06:16
Location: Dunedin, New Zealand
How do we get the animation out? Is there any general documentation somewhere?

Image


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 15:38 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
What's the mirroring in relation to other editors and ota? I trust my own transformation code more than spring actually.

DasBruce: The idea is that animations can be exported using lua, but I'm still working on the lua interface...


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 17:53 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
In v1.3 only s3o were mirrored, and not 3do. 3do just had their textures up-down mirrored.

Anyway, if the order of rotation has been fixed to match Spring and TA ones, that's very woot! woot! rejoicing!

I'll test that new UpSpring and report next time I get the internet back.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 19:31 
Omnidouche
User avatar

Joined: 16 Oct 2004, 18:40
Location: I still have more posts than you.
Spring renders all S3O things mirrored, last I checked. It's a Spring bug, not an Upspring bug.

I can quickly verify if you like, GEM has a tank with a secondary turret that is always on the wrong side ingame.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 20:31 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
Hm ok, it's probably better to fix spring then..
I've uploaded a new version
http://user.supradigital.org/jcnossen/U ... -1.4b2.exe

The swap button works now, and there is an example script of how to export animation info.
Also S3O are mirrored on save and load, but I'll remove that once it's fixed in spring.

scripts/exampleExporter.lua contains a script that writes some animation data to a text file. It's a little comment-less at the moment though.
I'm not sure what is needed for someone to write a BOS exporter... currently the exported file looks like this:

Code:
Object LeftTurret2
 Current Pos:-14.000, 28.000, -18.000
 Current Rotation:-0.000, -0.768, -0.000
 Current Scale:1.000, 1.000, 1.000
 AnimProperty position with 2 keys
  Key time: 0.00,  Vector3: -14.000, 28.000, -18.000
  Key time: 2.00,  Vector3: -14.000, 28.000, -18.000
 AnimProperty rotation with 2 keys
  Key time: 0.00,  Rotation: -0.000, -0.768, -0.000
  Key time: 2.00,  Rotation: -0.000, 0.890, 0.000
 AnimProperty scale with 2 keys
  Key time: 0.00,  Vector3: 1.000, 1.000, 1.000
  Key time: 2.00,  Vector3: 1.000, 1.000, 1.000


With some adaptation it would be possible to only write the changed key frames, and convert the "rotation" to degrees instead of radians.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Sep 2006, 20:37 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
I don't mind Spring mirroring s3os since Upspring mirrors my objs upon import and the result is the correct way around.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 25 Sep 2006, 19:10 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
I've created a new lua script that attempts to export a bit of BOS code like this:

Code:
Move FrontTurret to z-axis 1 speed[-11];
Move RearTurret to z-axis -8 speed[11];
Turn LeftTurret2 to y-axis 9284 speed<8647>;
Sleep 2000;
Turn RightTurret1 to y-axis 9648 speed<9648>;
Turn RightTurret2 to y-axis 9648 speed<9648>;
Turn LeftTurret1 to y-axis -7099 speed<-7099>;
Turn LeftTurret2 to y-axis -6917 speed<-16201>;
Sleep 1000;
Move FrontTurret to z-axis 28 speed[13];
Sleep 2000;
Turn FrontTurret to x-axis -10922 speed<-14563>;
Turn FrontTurret to y-axis 9102 speed<12136>;
Turn FrontTurret to z-axis 0 speed<0>;
Sleep 750;


However the BOS tutorials I found where a bit vague on units...
- What's the unit for turn speed?
- What's the range and unit of rotation?
- What value do I have to scale position with?

http://user.supradigital.org/jcnossen/U ... -1.4b3.exe contains it (BOSExporter.lua). OPK format has changed between b2 and b3 btw.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 26 Sep 2006, 06:36 
BT: Legacy & Spring 1944 Developer

Joined: 21 Sep 2004, 07:25
Location: Needlessly hostile.
Its really goign to suck if/when the Spring devs fix the mirroring... because then we'll all have to go and un-mirror all of our S3O's.. :S


Top
 Offline Profile  
 
 Post subject:
PostPosted: 26 Sep 2006, 06:38 
User avatar

Joined: 17 Aug 2005, 10:42
Location: Alshain
Wouldn't it be better now than later (or never) though?


Top
 Offline Profile  
 
 Post subject:
PostPosted: 26 Sep 2006, 07:04 

Joined: 08 Jun 2005, 10:10
Location: Unified-State Republic Indonesia
Hi, I notice the welding system is still the same (smoothing divided by separated UV island.... :shock: )


Top
 Offline Profile  
 
 Post subject:
PostPosted: 26 Sep 2006, 08:00 

Joined: 28 Jan 2005, 18:15
Location: Cockpit of a Dire Wolf.
Ever notice that note in the weapon.tdf for OTA that said turnrate is in 65k degrees? Well, not quite... but anyway.

- What's the unit for turn speed? Degrees per second sorta, I'm mostly certain. When you place it in <>'s, then its multiplied by the angular constant of 182 before compile, to get it into Spring's rotational units.
- What's the unit for turn speed? 65520 (uncannily close to 2^16) is equivalent to 360 degrees, based off the angular constant. But Spring is -180 to 180, so thats -32760 to 32760. Or is it actually using 32768 in the engine...
- What value do I have to scale position with? I'm fairly sure that its the same as the position values in the model (at least in 3dobuilder, but you would know best if they are exactly the same in Upspring), however I have managed to confuse myself on the particulars in past OTA modding...


Last edited by Archangel of Death on 27 Sep 2006, 07:23, edited 1 time in total.

Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 437 posts ]  Go to page 1, 2, 3, 4, 5 ... 22  Next

All times are UTC + 1 hour


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:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.