2009-05-18 snapshot
2009-05-18 snapshot
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.)
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.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: 2009-05-18 snapshot
sweet new leg positioning, thanks jlv!
Re: 2009-05-18 snapshot
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
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
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?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.
Re: 2009-05-18 snapshot
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.
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.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: 2009-05-18 snapshot
So how come it worked before without it? Seems like my framerate has taken a slight hit with it.
Re: 2009-05-18 snapshot
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.
or maybe a snapshot just for the leg change?
thanks for the answer.
Re: 2009-05-18 snapshot
I see a few people are having problems. You may want to follow this stepA 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.
Re: 2009-05-18 snapshot
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.
when ever i play online, my rider model is the stock rider and not the ddmx one.
Re: 2009-05-18 snapshot
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
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.
Re: 2009-05-18 snapshot
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.
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
www.mikeowenphotographer.com
Re: 2009-05-18 snapshot
Nah not at all...Mikey wrote: 2) With the terrain texture resolution dose the higher number mean the better it looks?
Turn your monitor to the lowest resolution, i hear it looks spectacular
Here you go mikey...
LOOK PRETTY COLOURS!
-
- Posts: 3602
- Joined: Mon Jan 05, 2009 2:34 am
- Team: Privateer
- Location: Adelanto,California
Re: 2009-05-18 snapshot
hm..should i just re install the snapshot?? (if you didnt notice look at all the checkers on the ground)
-
- Posts: 1723
- Joined: Fri May 16, 2008 8:58 pm
Re: 2009-05-18 snapshot
thats the same thing i get.
DJ99X wrote:Putting forum quotes in your signature is gay as fuck
Re: 2009-05-18 snapshot
Just a guess here..
Your running out of texture memory. Turn the resolution back down a notch.
Your running out of texture memory. Turn the resolution back down a notch.
jlv wrote:Here's a picture of my nuts.
Re: 2009-05-18 snapshot
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
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