Upspring 1.54 - Page 12

Upspring 1.54

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

KDR_11k wrote:3ds is a horrible format, even MAX users hate it because it unwelds the vertices along UV seams. Also not every 3d application handles every format well.
^flozi
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Jc, I was using 1.3.. it could be possible that I missed the version that changed it.

I am about to head out for an exam but yeah... the object shows up as solid black now... no idea why. I'll look into it as soon as I can but I cannot promise it would be tonight. I am desperate need of sleep.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

smoth wrote:Jc, I was using 1.3.. it could be possible that I missed the version that changed it.

I am about to head out for an exam but yeah... the object shows up as solid black now... no idea why. I'll look into it as soon as I can but I cannot promise it would be tonight. I am desperate need of sleep.
Yes, there was a big change in 1.4x iirc that basically made everything welded.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Small fix: There was a bug in the rotation tool to rotate object in one of the views.

http://user.supradigital.org/jcnossen/U ... r-1.51.exe
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Oh, and um... one last teeny-tiny thing. If you put a point object in and move it, UpSpring crashes, and corrupts the file, so that it's trashed forever.

Thankfully, I back everything up, but I figured you might wanna know that ;)

Even with that little issue... meh... this RULES. Of all the things about Spring, having to either have welding or abandon it entirely has been one of my biggest pet peeves. Not to mention how object origins are all properly left tied to the root, so building rotational points, etc., is unbelievably easy, and all the other little stuff. I'm in modeling heaven!
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

That was pissin me off a lot. Good thing its fixed, or at least workin for me. 3DS has a bunch of options and stuff now, thats okay. Argh, I don't save "backups" but I do keep all of the original files, before they are modified. Example, the Wings file of a model, the 3DS file, and the s3o. Another example (saved my ass many times) was keeping the original file of the texture, without the transparency stuff.

I don't have any gripes or glitches.. Yet.

Well, have fun in Heaven, Argh. I'm expecting something groundbreaking in a year or two :wink:


edit: I forgot why I came here... Why does UpSpring render textures so ugly...?

edit2: Never mind, its still screwin up and deleting my stuff, but save as seemed to work... :cry:

Damn, damn, damn, damn! I wanted to finish the gunship tonight.. :cry: I need to work as fast as possible... :cry:
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

PLEASE, please, fix the obj format. I really do not want to be forced to use the 3ds format.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

I really haven't had any problems exporting 3DS from Rhino, I don't see problems with my smoothing groups at all.

Are you using 3DS itself? Or just Wings? If just Wings... I'd export as OBJ, import into UVMapper Pro, correctly set up the splits and welds, and then export back to Wings, finally exporting as 3DS. I use a somewhat similar workflow with Rhino, and that works great.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

or the obj could just be fixed and I can continue my work.

3ds does weird things to models. I used 3dsmax once to see if it was just wings. 3ds breaks my weilds I do not wish to use uvmapper pro, I hate the program and it adds another step into my work. Seriously, I understand you are fine with 3ds but I do not like what that format does to my models.

OBJ import is broken, don't dismiss my statement as legitimate because you are fine with 3ds files. I AM NOT. I did not do any modeling tonight and I am waiting on a fix so I can go back to work.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Argh wrote:Oh, and um... one last teeny-tiny thing. If you put a point object in and move it, UpSpring crashes, and corrupts the file, so that it's trashed forever.
That is why I had to clone base (or any other empty object) when setting firepoints up on that peewee remake. Doesn't crash then.
smoth wrote:Jc, I was using 1.3.. it could be possible that I missed the version that changed it.

I am about to head out for an exam but yeah... the object shows up as solid black now... no idea why. I'll look into it as soon as I can but I cannot promise it would be tonight. I am desperate need of sleep.
That is why I tried to use 3ds which apparently randomly breaks smoothing groups.
It's all black when lightning is turned on in upspring and I can only assume that it behaves the same in spring. Also, smoothing groups are ignored as it seems for the OBJ format in general. So a fix would be handy.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Oh, and um... one last teeny-tiny thing. If you put a point object in and move it, UpSpring crashes, and corrupts the file, so that it's trashed forever.
It only crashes for me with origin-move on an empty object. Anyway I rechecked my code to handle objects without geometry and hopefully it works out correctly now.

Also fixed OBJ loading
http://user.supradigital.org/jcnossen/U ... r-1.52.exe
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

edit: Ooops, never mind, that was an error on my part :oops:
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

thanks jc, it is fixed! :)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

This time upspring didn't break my smoothing groups when using a 3ds export from wings. I didn't tesselate the model in wings, though, I let upspring do it this time.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

It is tesselating though, the 3DS format can only store triangles
Remember to run Optimize after loading from OBJ or 3DS, since the model will contain exactly 3 * numberOfTriangles vertices. The optimize function takes normals into account, so it shouldnt be welding everything.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

It is tesselating though, the 3DS format can only store triangles
Hmm I didn't know that. Yes I already noticed that optimize pushes the filesize down by >50% but didn't exactly know what happened. Good work anyway.

Never really realized that using 3ds can speed things up a lot, no more exporting as obj and importing/naming them in upspring one by one.

edit:
There are issues with the *lighting (yes lighting!) now.
The model was only fully lit when it's tiny, after scaling it up it became bady lit. Also when I hide the grid, the model becomes entirely black, unless *lighting is disabled.
Last edited by rattle on 20 Mar 2007, 17:13, edited 1 time in total.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

You mean "lighting", not "lightning", yes? And is this true if you back away with the camera (i.e., zoom out) or only when you remain at default zoom? This is probably a very simple issue about how far away the lightsource that is tied to the camera is- it's probably too close to the camera right now.
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post by MadRat »

Jc, how hard would it be to do these two things:

1. add an option in Upswing to unwravel a texturemap from the model - if one doesn't already exist? Even if it just makes a grid and maps each zone to a model face would simplify things.

2. paint texturemaps with images from external sources in a straightforward procedure? Like how we used to do textured faces in 3dobuilder perhaps, only it takes the pic and stretches/shrinks it to fit the mapped area. Heck, with a framework like that it probably would be easy to convert old 3do files to the s3o format.

These two things would surely save alot of time.
Last edited by MadRat on 20 Mar 2007, 13:28, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It would also provide the basis fo a 3do to s3o converter
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Ive thought about this before. All you need is a big texture with every 3do bitmap drawn on it, like Spring uses internally (atlas texture or something iirc). Then just assign each poly's UV map co-ords to the appropriate place on the large texture, and you have a (very) basic 3do -> s3o converter 8)
Post Reply

Return to “Engine”