Lighting and erode.
Re: Lighting and erode.
Would there be any way to make erode carry over into the next races? Then we could use some more starter ruts, and they just get a little deeper and rougher as the nights go on which would be more consistent for the riders, rather than guessing and having no idea how its going to form and learning as we go which is what causes so many to crash.
Re: Lighting and erode.
I'd be hard to make it automatic since the server barely knows anything about the track. I could possibly do something like let a client save and restore the track. Might be a bit slow sending that much data over UDP though.
It could be done fairly easily if the clients were required to stay connected for the entire time the track is eroding.
It could be done fairly easily if the clients were required to stay connected for the entire time the track is eroding.
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: Lighting and erode.
Is this lighting update something we would be able to have before outdoors?jlv wrote: For the lighting, I could try some simple ambient self-occlusion when calculating the terrain vertex shading values. I'm in the middle of integrating the scripting engine right now and I'd like to get it wrapped up before I start tearing into anything else though.
Went through a lot of testing/smashing my head into a wall with the kicker stuff in SX to ultimately just have to turn off erode on jumps for SX as the solution we thought we found was the jump shapes were not correct, but even with "correct" jump shapes the issue persisted. Understandable, it's part of development, but I'd like to avoid banging my head against the wall more fighting the lack of visibility of erode for outdoors and heading down the road of using erode for outdoors if it ultimately isn't going to work because you can't see it.
Unlike SX where the tracks were previously smooth, so no erode on the rhythms didn't really matter; it's a huge thing for outdoors, as either we have to build rough tracks or having erode working well and that changes the workload on terrain creation significantly.
I'm happy to continue to help testing and developing the settings side, and we're making progress, but the visual element is a pretty substantial road block right now.
Re: Lighting and erode.
So if you drop network mid race will the client be able to pull back missed erode data on re-connection to the server, or is the person out of luck?jlv wrote:I could possibly do something like let a client save and restore the track. Might be a bit slow sending that much data over UDP though.
It could be done fairly easily if the clients were required to stay connected for the entire time the track is eroding.
Re: Lighting and erode.
Probably not in a month for the self-occlusion. For the kicker thing, I was thinking it might help if I projected the force vector to the terrain before removing the Y component. I had ruled out that idea before but now I'm thinking it might actually be better that way. That should be an easy change to make. I just want to wrap up some stuff with the scripting integration first.checkerz wrote:Is this lighting update something we would be able to have before outdoors?jlv wrote: For the lighting, I could try some simple ambient self-occlusion when calculating the terrain vertex shading values. I'm in the middle of integrating the scripting engine right now and I'd like to get it wrapped up before I start tearing into anything else though.
Went through a lot of testing/smashing my head into a wall with the kicker stuff in SX to ultimately just have to turn off erode on jumps for SX as the solution we thought we found was the jump shapes were not correct, but even with "correct" jump shapes the issue persisted. Understandable, it's part of development, but I'd like to avoid banging my head against the wall more fighting the lack of visibility of erode for outdoors and heading down the road of using erode for outdoors if it ultimately isn't going to work because you can't see it.
Unlike SX where the tracks were previously smooth, so no erode on the rhythms didn't really matter; it's a huge thing for outdoors, as either we have to build rough tracks or having erode working well and that changes the workload on terrain creation significantly.
I'm happy to continue to help testing and developing the settings side, and we're making progress, but the visual element is a pretty substantial road block right now.
They'd be out of luck.SKlein wrote:So if you drop network mid race will the client be able to pull back missed erode data on re-connection to the server, or is the person out of luck?jlv wrote:I could possibly do something like let a client save and restore the track. Might be a bit slow sending that much data over UDP though.
It could be done fairly easily if the clients were required to stay connected for the entire time the track is eroding.
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: Lighting and erode.
Probably not in a month for the self-occlusion. For the kicker thing, I was thinking it might help if I projected the force vector to the terrain before removing the Y component. I had ruled out that idea before but now I'm thinking it might actually be better that way. That should be an easy change to make. I just want to wrap up some stuff with the scripting integration first.jlv wrote:checkerz wrote:Is this lighting update something we would be able to have before outdoors?jlv wrote: For the lighting, I could try some simple ambient self-occlusion when calculating the terrain vertex shading values. I'm in the middle of integrating the scripting engine right now and I'd like to get it wrapped up before I start tearing into anything else though.
Went through a lot of testing/smashing my head into a wall with the kicker stuff in SX to ultimately just have to turn off erode on jumps for SX as the solution we thought we found was the jump shapes were not correct, but even with "correct" jump shapes the issue persisted. Understandable, it's part of development, but I'd like to avoid banging my head against the wall more fighting the lack of visibility of erode for outdoors and heading down the road of using erode for outdoors if it ultimately isn't going to work because you can't see it.
Unlike SX where the tracks were previously smooth, so no erode on the rhythms didn't really matter; it's a huge thing for outdoors, as either we have to build rough tracks or having erode working well and that changes the workload on terrain creation significantly.
I'm happy to continue to help testing and developing the settings side, and we're making progress, but the visual element is a pretty substantial road block right now.
Not a real rush on the kicker thing as it isn't really an outdoor issue. I mean, cool when it comes I'm excited to test it, but don't over rush that part.
Just going to have to work with decals and lighting we have currently to do the best we can for outdoors, just hard with elevation and shadows and everything to really make this work.
-
- Posts: 3020
- Joined: Wed Dec 22, 2010 4:52 pm
- Team: wat
Re: Lighting and erode.
JLV, do wheel collisions create erode currently? It just seems we are trying to mimic real life ruts and bumps but cannot achieve the same shape or spacing in some area's. Could the shape or sizing of the current collisions have something to do with this?
Re: Lighting and erode.
I don't believe they do. I believe erode width is something that is edited in the tileinfo. If you look at Jay's A1, you can tell it is a lot thinner and more aggressive.Hi Im Skyqe wrote:JLV, do wheel collisions create erode currently? It just seems we are trying to mimic real life ruts and bumps but cannot achieve the same shape or spacing in some area's. Could the shape or sizing of the current collisions have something to do with this?
TeamHavocRacing wrote:As I awake from champagne wishes and caviar dreams, I realize it's back to Pabst Blue Ribbon and Doritos.
Re: Lighting and erode.
It's calculated from the tire to ground contacts. Not sure if you meant something else by wheel collisions. The main obstacle for small ruts is the track resolution doesn't have enough detail for it. (On top of that, the contact info in the erode packets is averaged to save bandwidth which also reduces the resolution in a way.) I'd worry less about skinny ruts and more about getting the bumps right since that is actually possible as opposed to trying to make something that you don't have the detail to represent.Hi Im Skyqe wrote:JLV, do wheel collisions create erode currently? It just seems we are trying to mimic real life ruts and bumps but cannot achieve the same shape or spacing in some area's. Could the shape or sizing of the current collisions have something to do with this?
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.
-
- Posts: 3020
- Joined: Wed Dec 22, 2010 4:52 pm
- Team: wat
Re: Lighting and erode.
I used the wrong wording with collision. I was asking what the shape of the tire creating the erode is. When you run erode at 100 it seems that the erode forming is shaped like a sphere.jlv wrote:It's calculated from the tire to ground contacts. Not sure if you meant something else by wheel collisions. The main obstacle for small ruts is the track resolution doesn't have enough detail for it. (On top of that, the contact info in the erode packets is averaged to save bandwidth which also reduces the resolution in a way.) I'd worry less about skinny ruts and more about getting the bumps right since that is actually possible as opposed to trying to make something that you don't have the detail to represent.Hi Im Skyqe wrote:JLV, do wheel collisions create erode currently? It just seems we are trying to mimic real life ruts and bumps but cannot achieve the same shape or spacing in some area's. Could the shape or sizing of the current collisions have something to do with this?
No idea if I am correct or even in the ballpark but it seems like the current tire shaped like a sphere? I was just wondering if the changing the shape of the tire to have a flatter side profile could help?
Re: Lighting and erode.
They are a torus. http://forum.mxsimulator.com/viewtopic. ... 84#p739084
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
-
- Posts: 3020
- Joined: Wed Dec 22, 2010 4:52 pm
- Team: wat
Re: Lighting and erode.
Thanks Nate.
Re: Lighting and erode.
Erode digs using the same shape as the brush in the editor. It's a radial spline curve with the slope set to 0 at the edge and center.Hi Im Skyqe wrote:I used the wrong wording with collision. I was asking what the shape of the tire creating the erode is. When you run erode at 100 it seems that the erode forming is shaped like a sphere.jlv wrote:It's calculated from the tire to ground contacts. Not sure if you meant something else by wheel collisions. The main obstacle for small ruts is the track resolution doesn't have enough detail for it. (On top of that, the contact info in the erode packets is averaged to save bandwidth which also reduces the resolution in a way.) I'd worry less about skinny ruts and more about getting the bumps right since that is actually possible as opposed to trying to make something that you don't have the detail to represent.Hi Im Skyqe wrote:JLV, do wheel collisions create erode currently? It just seems we are trying to mimic real life ruts and bumps but cannot achieve the same shape or spacing in some area's. Could the shape or sizing of the current collisions have something to do with this?
No idea if I am correct or even in the ballpark but it seems like the current tire shaped like a sphere? I was just wondering if the changing the shape of the tire to have a flatter side profile could help?
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.