2008-05-17 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

2008-05-17 snapshot

Post by jlv »

This has all new terrain texturing code.

Windows users: http://mxsimulator.com/snapshots/mx-2008-05-17.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2008-05-17-28

Replace mx.exe or mxbin with one of the above files. I'd keep a backup of the originals since these aren't well tested.

Here's an update to Locust to use the new system: http://mxsimulator.com/tracks/zzzzlocustupdate.saf
The updated locust is only using 3 textures. I'll do a better job on it and the rest of the tracks soon.
rewrew421
Posts: 1421
Joined: Thu Dec 13, 2007 12:41 am
Team: Privateer
Location: West Kentucky, USA

Re: 2008-05-17 snapshot

Post by rewrew421 »

FIRST DL...DJ

Thanks JLV :)
D.Eckels #421 "The O-G"
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-05-17 snapshot

Post by jlv »

I forgot to say you should enable mipmap generation in the graphics menu. It's off by default because the driver for my laptop's gpu says it has the feature but it doesn't work correctly. A little searching around convinced me that a lot of other drivers have trouble with it, so it's off by default. But if you have good drivers it will make the textures look smoother in the distance.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2008-05-17 snapshot

Post by DJ99X »

Hmmm. The new grass texture looks weird in my opinion. I think that the tracks would look better with the grass tiles, but with the dirt decals. And everything looks too detailed. Like, the dirt decals might need to be scaled larger.

So whats the go with putting these in our own tracks? I opened the saf file, and it says that there needs to be a file called decals.gz. Whats the layout of this file
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-05-17 snapshot

Post by jlv »

The dirt decal is actually a bit oversized. Look at the size of the tracks vs. the size of the tires on the bikes. They're both just placeholders though. I'm not completely happy with them. I'll post some of the other textures I've been working on in a bit.

Here's an example for the decals file (the .gz just means it's been gzipped):
[50 50] 0.0 40.000000 1.000000 @tmpgrassbig.png
[100 50] 0.0 20.000000 1.000000 @tmpgrass.png
[150 50] 0.0 20.000000 1.000000 @tmpdirt.png

The fields are:
[x z] angle size aspectratio texture
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2008-05-17 snapshot

Post by DJ99X »

Oh, I thought the 1 represented the friction. I guess thats for the tilemap then.

The render time has severly increased for things like track editing, and even the tilemaps take a while to render properly even without decals
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-05-17 snapshot

Post by jlv »

There's a lot more cached information now. When you edit things the cached textures aren't valid anymore and have to be rendered again. It would be possible to make an untextured mode to make terrain editing go smoother if it turns out to be a big problem.

Is the gameplay running smoothly at least?
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2008-05-17 snapshot

Post by DJ99X »

Yeah, the framerate is running the same, I guess its up to the graphics card. It takes like a second or two to render the textures after ive changed view
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2008-05-17 snapshot

Post by DJ99X »

I'll tell you what JLV, you have done an excellent job with this system. I have been putting in other dirt textures (which i must say are very easy to make), and it looks fantastic. I also like how you have made a flow feature for putting in the decals, makes it very simple to put in. Thanks for your hard work JLV!
Wilson
Posts: 987
Joined: Fri Dec 07, 2007 3:22 am
Team: Privateer
Location: Vegas

Re: 2008-05-17 snapshot

Post by Wilson »

OK ive messed around with it for a while, now i need to ask anyone who knows, how do i make the tire/ruts as overlays.
dearnhardtfan7
Posts: 1095
Joined: Sat Mar 22, 2008 2:05 am
Team: Privateer
Location: Trafford Alabama

Re: 2008-05-17 snapshot

Post by dearnhardtfan7 »

I am gonna sound dumb but I can't remember how to put the snapshot in the game. I have the suspension and gearing snapshot running, but I haven't fooled with any of the others and now I've forgot how to put them in. Sorry for sounding like a little kid but help would be greatly appreciated.
R.I.P. Jacob Nash #241
PSN-chrismri463
Image
xfire--cmarona463
ddmx
Posts: 5374
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: 2008-05-17 snapshot

Post by ddmx »

just put it into your root directory, rename it mx.exe, delete the old one, and make a shortcut if you want it
gordy
Posts: 1099
Joined: Sat Jan 19, 2008 6:43 am
Team: Privateer
Location: Bathurst, Australia

Re: 2008-05-17 snapshot

Post by gordy »

hey jvl,
i've just encountered a problem with the new decals;
whenever i run a an external demo of my vegas track, e.g. the one of your fast lap,
the decals do not appear to be appearing on the track and i am simply getting the underlying shading file and basic dirt tile.
Am i doing something wrong? Or is there some sort of issue with the texture system here?
Image
instupitious.
jlv
Site Admin
Posts: 14928
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2008-05-17 snapshot

Post by jlv »

Does it fix it if you fix the case in the decals file? The mixed upper/lowercase might confuse it when it's reloading cached textures.
Post Reply