obj vs 3ds when importing into upspring - Page 4

obj vs 3ds when importing into upspring

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: obj vs 3ds when importing into upspring

Post by SpliFF »

morty.jpg
(57.79 KiB) Downloaded 2 times
WinXP 32-bit. Don't know if it's right or wrong TBH.

Also don't jump to assumptions. UpSpring doesn't even build 64-bit, it's a 32-bit app. It shouldn't behave any different. It could easily be a number of other factors.
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: obj vs 3ds when importing into upspring

Post by Master-Athmos »

SpliFF wrote:So what this means is that adding Collada support to Spring and UpSpring would make OBJ vs. 3DS an irrelevant issue. I only brought this up because I think that BOTH OBJ and 3DS are obsolete. Anyway, I realise this thread isn't talking about the future and no support exists in Spring/UpSpring for Collada yet so don't let me derail this thread.
Yeah - .fxb is a fine format although I'd think twice before making it the format for Spring. It imo stores too much info unimportant to Spring like light positions and things like that. It also will give you and the actual content developers headaches as there kinda regularly are compatibility issues when something was changed about the format - so prepare to do regular updates on the code for it...

To my mind the best solution would be either a direct import of like md3 models or whatever sounds feasible as a new model format or having some good tools for just importing the geomertry and do the rest in tools that save to a Spring friendly format. For the latter we'd probably need a facelifted Upspring and an animation tool for the to come bones system (while this also *could* be done via Plugins like the BOS one for Blender we have right now which creates the required code)...
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: obj vs 3ds when importing into upspring

Post by SpliFF »

Master-Athmos wrote:Yeah - .fxb is a fine format ...
AFAIK FBX (not FXB) is unrelated to Collada. The Collada extension is .dae and if the two formats are related in any way it must be historical.
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: obj vs 3ds when importing into upspring

Post by Master-Athmos »

Yeah of course .fbx - small typo. I thought this was the Collada extension but maybe I mistook it for Autodesk...
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: obj vs 3ds when importing into upspring

Post by Forboding Angel »

Argh wrote:Try this. It's very important to actually open UpSpring first; double-clicking on S3Os opens the oldest version usually. I just put a shortcut on my desktop. This is the last public build of UpSpring from jcnossen, and it fixed a bunch of things.
Is this newer than 1.54?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds when importing into upspring

Post by smoth »

no
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: obj vs 3ds when importing into upspring

Post by Beherith »

Sorry about the OT, but does anyone have a batch collada-to-anythingwings3dcanimport tool?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds

Post by smoth »

rattle wrote:I don't export as 3ds because it seems that wings' 3ds exporter unwelds vertices where seams are resulting in messy hard edges all over the place.
This apparently isn't part of wing's fault. Supposedly 3ds breaks all edges that are discontinuous on the uv due to some restriction of only one uv per vertex.

this is probably where the ugly mesh breaks are coming from on 3ds files.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

That doesn't make any sense, though. When I imported your test model, it was preserved exactly as you set it up, all hard and soft edges were preserved.

I think the problem's with UpSpring, not the file format.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds when importing into upspring

Post by smoth »

mmkay.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

Just to confirm that, there's a shot of the side of the left shoulder- mixed hard and soft edges, same with the leg. I don't think there's anything wrong with the file specification at all.

If what you were saying was true, 3DS files wouldn't have become one of the four de-facto base formats just about everything reads and writes. There's just something buggy about UpSpring, is all. That doesn't mean there isn't a serious problem, ofc- but at least it means it could get fixed.
Attachments
morty3.jpg
morty3.jpg (22.74 KiB) Viewed 2106 times
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds when importing into upspring

Post by smoth »

3ds is a legacy format. do you still see .ani? nope no one does it. yet we still use them for cursors.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

Meh, OBJ is older than 3DS, lol, it's from the mid 1980's IIRC.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds when importing into upspring

Post by smoth »

I have presented the information.

Feel free to find a nearby wall and argue with it.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

I have presented proof that what you've said is incorrect. There's a bug in UpSpring. This is true. I see different results than you do, and that's what's causing these issues. You need to quit being so irrational about a file format. Being wrong about the cause doesn't mean there isn't a bug and that 3DS isn't borked for you. Now that we know there's a bug in the software, it needs to be addressed.

I don't really care, if it's fixed through fully supporting the OBJ specification, or by fixing whatever's wrong with 3DS support. Either way, it means one-stop imports, and not wasting time on tedious stuff that isn't necessary.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: obj vs 3ds when importing into upspring

Post by rattle »

http://www.wotsit.org/list.asp?fc=2

file format specs, go read them

Also:
http://www.google.com/q=does+3ds+store+normal+data
A 3DS mesh does not store any normal data so normals must be computed by the target system.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

The Unofficial 3DStudio 3DS File Format v1.0 (RTF) states that the format contains specific references to welding; I didn't see anything there to support your claims, and the screenshots I posted were from Smoth's 3DS.

Maybe under some circumstances UpSpring isn't handling the welding operation correctly- perhaps it gets the vert index wrong, or something. That might explain the welding errors Smoth showed earlier.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: obj vs 3ds when importing into upspring

Post by rattle »

Broken welding may be upspring's or wings' fault, but the major thing is that 3ds doesn't store vertex normal data which OBJ does. I thought that's what this entire discussion is about.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: obj vs 3ds when importing into upspring

Post by Argh »

According to 3D Studio File Format v0.93 (RTF):
The first three ints are the three vertices of the face.
0 stands for the first vertex defined in the vertex list.
The order has a purpose: to give the direction for the normal
of each face.
If you turn a screw (standard screw) in the way the vertices
indicate you will find the normal.
IOW, it doesn't store the normals in the same fashion OBJ does (explicitly) but implicitly, apparently. Probably the UpSpring bug is there.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: obj vs 3ds when importing into upspring

Post by smoth »

.3ds stores smmothing groups not normals.

It breaks weilds where the uv map has a break see under side of back in my earlier picture.

Obj keeps the normals a fixed obj sub object import would solve this whole discussion
Post Reply

Return to “Art & Modelling”