Models - Page 4

Models

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
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

ALso what format did it support ?
1. UVW ??
2. How to attach between part ?
3. triangle or quad ? since it MAX i believe it is triangle though
4. To export it i must make standard mesh or MAX polygon (convert to poly ?)
any tutorial for that ?
1. It supports one UV mapping channel
2. I don't know, I didn't write the plugin, ask Yeha
3. The format supports triangle strips, triangles, and quads. It's just up to the plugin what it puts in the model.
4. I have succesfully converted an Editable Mesh with the plugin in 3DS max 6. It had just one piece though, I don't know about attaching.
oops I missed it anyway

is the new model format supported for features? cos I can get the map with the bridges in .s3o format to load
It should be, there are some problems with custom features so I'll be checking that out...
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Image
Why is the framework black?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

It's not black but dark green (R:0 G:8 B:0). Ingame the nanoframe is green and pulsating, and he took the screenshot just at the lowest of the pulse.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Did he? I think I need to adjust my screen settings...
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Great work with the LLT (though my cube > your cube :P )
How did you get the part-tree working? :-)
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Post by mongus »

not directly related.. but, can the green and red bars be ahumm.. embedded into some other texture/part/moved... remaped linked?

like having a .. health bar rigth on the back of a unit.. and.. the red bar in its gun?

beautifull llt! (me is ontopic now).

e: cool, tx zwzsg, that makes it. (but will have them dupped.. ah well nothing is perfect).
Last edited by mongus on 04 Nov 2005, 04:06, edited 1 time in total.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Use get HEALTH in your script, and move a piece according to that value.

Like, move embbedded_health_bar to x-axis [10] - ([10]*get HEALTH)/100 now; with embbedded_health_bar being a [10] long green piece on the back of the unit, sliding in a sheath.
User avatar
LathanStanley
Posts: 1429
Joined: 20 Jun 2005, 05:16

Post by LathanStanley »

ummmm.... HOLY CRAP ITS ABOUT TIME!!!! Image

I might leave the privateer project after I finish my galaxy's last few parts and come start making models and UV wrapping them for spring again !!!!!! ImageImage

btw, here's a link to my project I did in the privateer game thing... (I'm not advertising... just showing off) :wink:

http://wcuniverse.sourceforge.net/privg ... 1&topic=40

I could bust out all my old models I was doin and UV them and export like mad WOOT!
TARevenger
Posts: 111
Joined: 23 Jan 2005, 00:09

Post by TARevenger »

TARevenger wrote:I can get the map with the bridges in .s3o format to load
I'll rephase that I can't load the map, looks like model can't be read or found
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

LathanStanley: :shock:
Amazing texturing!!
Please go ahead and export all your old models :)
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

FLOZi wrote:Great work with the LLT (though my cube > your cube :P )
How did you get the part-tree working? :-)
(yes your cube rocks)
You need to link the objects together. For scripting, I just used the old LLT script.

Image
As for the black lines. They are black and stay black.
They doesn't change color like in varius shades of green.

Image
I can't get the texture on. I've made the model in 3d Studio Max, with UV mapping and it looked quite good for my first textured model.
But I can't get it working in spring. All hope it brings is this weird buggy thing when it's not yet placed:
Image
So how did you get your texture to work FLOZi?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Well, I used a program called Ultimate Unwrap 3d to make the cube (though i could have just as easily imported it from elsewhere) did a quick and easy UV map of it, exported the map, painted it, applied it to the model. Then I exported the model as .3ds (actually better to do this as .obj - keeps Spring 'Y is up' axes), imported into MAX 7.

I edited the .bmp of the texture map by adding a blank alpha channel and saving as a .png. Then i exported the model in MAX using the s3o plugin, setting texture 1 to cube.png and texture 2 blank.

Having some issues with a more complex model, however. And I don't really know MAX well enough to link pieces properly. :cry:

edit: well figured that out... though perhaps Zaphods 3do->3ds convertor already does it automagically. In which case I want it!

edit2: your problem looks like what happens when a texture is missing inthe 3do format... where did you put your texture file?
User avatar
TA 3D
Posts: 260
Joined: 12 Nov 2004, 06:08

Post by TA 3D »

Okay what you see when you select the building to build it is the entire texture space with all the textures on that unit. What causes that is a missing texture. You need to make sure the texture is in the "UnitTextures\tatex" folder. That should fix your problem, but remember the texture has to be in eather .bmp, .tga, or if your feeling like making it really good, .dds.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

edit: well figured that out... though perhaps Zaphods 3do->3ds convertor already does it automagically. In which case I want it!
I doubt that max will read it correctly, a lot of editors just ignore child objects in a 3DS file. In fact, I wonder if it's actually intented to have child objects since 3ds is not a very properly defined format.

Here is a screenshot of a support tool I'm working on right now. It's supposed to be easy to convert between 3do and s3o, and import/export single 3ds objects (these can be exported/imported by a lot of 3D editors). I'm hoping it will allow more mods to use the new format, and provide a way of improving unit formats in the future.

Image
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Sweet start.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Zaphod wrote:
edit: well figured that out... though perhaps Zaphods 3do->3ds convertor already does it automagically. In which case I want it!
I doubt that max will read it correctly, a lot of editors just ignore child objects in a 3DS file. In fact, I wonder if it's actually intented to have child objects since 3ds is not a very properly defined format.

Here is a screenshot of a support tool I'm working on right now. It's supposed to be easy to convert between 3do and s3o, and import/export single 3ds objects (these can be exported/imported by a lot of 3D editors). I'm hoping it will allow more mods to use the new format, and provide a way of improving unit formats in the future.

Image
Think I may wait for this before doing any further work with s3o :wink:
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

TA 3D wrote:Okay what you see when you select the building to build it is the entire texture space with all the textures on that unit. What causes that is a missing texture. You need to make sure the texture is in the "UnitTextures\tatex" folder. That should fix your problem, but remember the texture has to be in eather .bmp, .tga, or if your feeling like making it really good, .dds.
I tripple checked it. I was using an existing texture.
My cube (I now using a cube, one texture) turned black when build.
And still the buggy "can't find texture"-texture when placing.

Don't know what I'm doing wrong.
Maybe someone can post an example unit in s3o (and everything that comes with it). That would be greatly helpful.

To make things worse, my cube (actually called The Cube of Death, now I know why) made my PC restart when I self-destructed it. That restarting happens from time to time in normal games, maybe it's a bug in some explosion (self-D was a BIG_UNIT explosion) that causes it.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

LathanStanley wrote:ummmm.... HOLY CRAP ITS ABOUT TIME!!!! Image

I might leave the privateer project after I finish my galaxy's last few parts and come start making models and UV wrapping them for spring again !!!!!! ImageImage

btw, here's a link to my project I did in the privateer game thing... (I'm not advertising... just showing off) :wink:

http://wcuniverse.sourceforge.net/privg ... 1&topic=40

I could bust out all my old models I was doin and UV them and export like mad WOOT!
Wooow, nice stuff man. I may be needing you assistance it looks like :-) cause me and Warlord can't texture for toffey... Well actully for a lot of toffy i might, but thats besides the point. What would you say to giving us a hand with texturing a few features (Trees, rocks and stuff like that)?

aGorm
User avatar
LathanStanley
Posts: 1429
Joined: 20 Jun 2005, 05:16

Post by LathanStanley »

aGorm wrote: Wooow, nice stuff man. I may be needing you assistance it looks like :-) cause me and Warlord can't texture for toffey... Well actully for a lot of toffy i might, but thats besides the point. What would you say to giving us a hand with texturing a few features (Trees, rocks and stuff like that)?

aGorm
I can be up for it... been busy, quite VERY busy lately...

what free time I come up with, I can help....

I'd kinda prefer to tackle BIG projects when I have the time... but who knows..

reach me on Yahoo for the fastest responses though :wink:
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Post by mongus »

Buggy was doing something like this, wasnt him?

he talked about editing software, included unit designer...

hey buggy! any adv. on that editor you want to show us?

this is just to avoid repeated work...
Post Reply

Return to “Engine”