2009-05-18 snapshot

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

2009-05-18 snapshot

Post by jlv »

A little warning first. This code has even less testing than normal, as the Vista box that I do my Windows testing on doesn't support framebuffer objects. So if you're looking for something stable you probably want to skip this one.

Changes:
- Now uses framebuffer objects for offscreen rendering if available.
- Adjustable terrain texture resolution.
- Better leg positioning when dabbing.

Before you crank up the terrain texture resolution, make sure you have enough texture memory. The following numbers are the amounts needed in addition to all the other textures loaded by the track, bikes and riders. If you set it to 1024x1024 with a 128 meg card you will get something like 1 frame per minute.

1024x1024: 603,979,776 bytes
512x512: 150,994,944 bytes
256x256: 37,748,736 bytes
128x128: 9,437,184 bytes
64x64: 2,359,296 bytes
32x32: 589,824 bytes

Windows users: http://mxsimulator.com/snapshots/mx-2009-05-18.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2009-05-18

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.

You will also need to put this file in your install folder:
http://mxsimulator.com/zzzx.saf
(This hasn't changed since the 2008-11-26 version.)
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
zane
Posts: 245
Joined: Wed Apr 02, 2008 9:56 am

Re: 2009-05-18 snapshot

Post by zane »

sweet new leg positioning, thanks jlv!
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2009-05-18 snapshot

Post by DJ99X »

The new leg positioning seems alot more natural. Good work.

The bumped up texture resolutions are good. I don't think anything above 256x256 is necessary unless you are taking screenshots. Otherwise the framerate is cut down heaps, and you dont notice a difference between 256 or higher when you are just riding

As for FrameBuffer Objects
Wikipedia wrote:The FBO has two main uses: The post-processing of rendered images and composition between different scenes. Some examples are:
The rendered image is captured and subjected to Pixel Shaders or other manipulations. This allows for many of today's popular computer graphics effects to be carried out, including the addition of a blurring or bloom effect.
Can be used to create views of other scenes, for example: a TV in a house. A scene can be rendered through an FBO to a texture, then that texture can be applied to the surface of a TV. This is sometimes called "Render to Texture" or RTT.
Seeing as we don't currently have anything that applies to that quote, was that really necessary just yet. Or is it helpful for something else in some way? That would assist in real time reflection rendering wouldn't it?
jlv
Site Admin
Posts: 14912
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2009-05-18 snapshot

Post by jlv »

1024x1024 is overkill, but there are 2 gig cards out there that could handle it. I figured it might be useful for making movies with low fov settings.

FBO's are useful for anything where you want to draw on a texture with OpenGL functions. For MX Sim, it's needed for the terrain textures. Basically there's a 4x4 by 6 deep stack of textures that have the decals pre-drawn on them. The first level covers the 8x8 foot area under the camera, the next level covers 16x16 feet and so on. As you move, parts of the stack become invalid and those textures need to be redrawn for the new position.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2009-05-18 snapshot

Post by DJ99X »

So how come it worked before without it? Seems like my framerate has taken a slight hit with it.
toonys66
Posts: 1046
Joined: Sun Apr 05, 2009 2:54 pm
Team: Privateer
Location: south france

Re: 2009-05-18 snapshot

Post by toonys66 »

hello, i dont understand, i just download it, i try to play but it always block on loading bike and after i get error message from windows, maybe my computer is not powerful enough, but i was on thelowest texture 158x158 or something like this, i try also 256x256 but it does not work it cut the game, i went back to the other snwpshot and it works? any help please?? what can i do to make it work?
or maybe a snapshot just for the leg change?
thanks for the answer.
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2009-05-18 snapshot

Post by DJ99X »

A little warning first. This code has even less testing than normal, as the Vista box that I do my Windows testing on doesn't support framebuffer objects. So if you're looking for something stable you probably want to skip this one.
I see a few people are having problems. You may want to follow this step
zane
Posts: 245
Joined: Wed Apr 02, 2008 9:56 am

Re: 2009-05-18 snapshot

Post by zane »

umm i may have found a bug, but im not sure if it is one.

when ever i play online, my rider model is the stock rider and not the ddmx one.
Image
yomo
Posts: 1930
Joined: Tue Apr 22, 2008 10:00 am

Re: 2009-05-18 snapshot

Post by yomo »

My feed back:
THANK YOU SO MUCH!!!!!

I put it on 1024x1024 loaded the track and it was varying at 25-30 fps
I put it on 512x512 and unfortunately it jumps from 55-60 every now and then so i cant really play on that

but 256x256 is prefect for playing at 512x512 is awesome for videos and stuff like that.

The rider leg is much better but is it possible to not have it so far out from the bike, maybe closer to the front fork?


This is so much better, thank you

EDIT:

http://www.mxsimulator.com/benchracing3 ... 165#p50560
The shot DJ posted is kind of what i was talk about with the leg sort of needing to be tucked in to the front fork

here is an example:
http://www.mcnews.com.au/Wallpaper/Race ... t_1280.jpg

atm its actually pretty close
Last edited by yomo on Mon May 18, 2009 11:51 am, edited 1 time in total.
Image
Mikey
Posts: 7018
Joined: Sat Nov 08, 2008 1:27 am
Location: Melbourne
Contact:

Re: 2009-05-18 snapshot

Post by Mikey »

I love the foot it looks real not and like MVA but i have 2 questios
1) When i do a demo then try to play it back i can watch it it has this error about buffering and it starts a new race.
2) With the terrain texture resolution dose the higher number mean the better it looks pretty much? also running it as 32x32 lol means i dont have to wait 5 mins to play :)

*EDIT* This has fixed my PC it just took 10seconds to load Itunes insted of 3 mins lol.
My photography work
www.mikeowenphotographer.com
yomo
Posts: 1930
Joined: Tue Apr 22, 2008 10:00 am

Re: 2009-05-18 snapshot

Post by yomo »

Mikey wrote: 2) With the terrain texture resolution dose the higher number mean the better it looks?
Nah not at all...

Turn your monitor to the lowest resolution, i hear it looks spectacular

Here you go mikey...

Image

LOOK PRETTY COLOURS!
Image
RaNDoM HeRO
Posts: 3602
Joined: Mon Jan 05, 2009 2:34 am
Team: Privateer
Location: Adelanto,California

Re: 2009-05-18 snapshot

Post by RaNDoM HeRO »

hm..should i just re install the snapshot?? (if you didnt notice look at all the checkers on the ground)

Image
Image
mxracer118
Posts: 1723
Joined: Fri May 16, 2008 8:58 pm

Re: 2009-05-18 snapshot

Post by mxracer118 »

thats the same thing i get.
Image
DJ99X wrote:Putting forum quotes in your signature is gay as fuck
Phathry25
Posts: 7481
Joined: Sat Dec 01, 2007 1:09 am
Team: No Frills Racing
Location: WI
Contact:

Re: 2009-05-18 snapshot

Post by Phathry25 »

Just a guess here..

Your running out of texture memory. Turn the resolution back down a notch.
toonys66
Posts: 1046
Joined: Sun Apr 05, 2009 2:54 pm
Team: Privateer
Location: south france

Re: 2009-05-18 snapshot

Post by toonys66 »

hi again, i try again with now 32x32 and it s the same, the page load track ok, but after the screen block on load bike with the black screen with mx simulator write in the center? and i have to restart my computer cause it block?
i don t know what to do. so i put the snapshot of before, but i ll like to have the new one with the better position of the leg...
thanks for some help on what can i do. cheers
Image
Post Reply