2021 SX Tracks. Most of the stadiums just don't render the major section at all. I'm not really sure how I could help anymore but this is just what I've seen from myself and others.
2021-11-22 snapshot (Updated 2021-11-25)
-
- Posts: 1182
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: 2021-11-22 snapshot
Re: 2021-11-22 snapshot
Hm. That's a mystery. I'll look into it. Thanks!Jakob Hubbard wrote: ↑Wed Nov 24, 2021 1:02 am 2021 SX Tracks. Most of the stadiums just don't render the major section at all. I'm not really sure how I could help anymore but this is just what I've seen from myself and others.
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: 2021-11-22 snapshot
Looking at the stadium, it's because the models are unlit (-2 exp) and have the specular intensity set to 0. I store that as the alpha value of the specular color and use it to scale the rest of the color, but when it's unlit that color is used as the ambient color and there it directly sets the alpha. So I inadvertently made the whole thing transparent.
It'll be fixed in the next update.
What do you guys think about ditching the statue wireframes in the editor?
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: 1182
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: 2021-11-22 snapshot
Ditch em, I guess their useful for sequence files for ables but if I'm able to figure out how to get my move_statue function to work, it'll be unnecessary.
Still can't figure out why the function returns zero, I've had other people look at it too and we're stumped, but I did update the code a little bit more and used the find_statue function to verify the indexes were being passed correctly.
-
- Posts: 1182
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: 2021-11-22 snapshot
Jakob Hubbard wrote: ↑Wed Nov 24, 2021 2:17 am Ditch em, I guess their useful for sequence files for bales but if I'm able to figure out how to get my move_statue function to work, it'll be unnecessary.
Re: 2021-11-22 snapshot
Which function returns 0?Jakob Hubbard wrote: ↑Wed Nov 24, 2021 2:17 am Still can't figure out why the function returns zero, I've had other people look at it too and we're stumped, but I did update the code a little bit more and used the find_statue function to verify the indexes were being passed correctly.
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: 1182
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: 2021-11-22 snapshot
mx.move_statue()
I have something like this
Code: Select all
if (mx.move_statue(index, x, y, z, a)
{
mx.message('1');
}
else
{
mx.message('0');
}
-
- Posts: 1182
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: 2021-11-22 snapshot
forgot a parenthesis in my code here beforehand but obviously its syntactically correct in my ideJakob Hubbard wrote: ↑Wed Nov 24, 2021 3:44 amCode: Select all
if (mx.move_statue(index, x, y, z, a)) { mx.message('1'); } else { mx.message('0'); }
-
- Posts: 1615
- Joined: Sun Nov 04, 2012 2:25 am
- Team: Phil's
- Location: Vancouver Island
- Contact:
Re: 2021-11-22 snapshot
I normally run 256x256 shaders direct, ive tried playing with the settings but cant seem to fix it.jlv wrote: ↑Wed Nov 24, 2021 1:02 amYou could get more hitches if you were running 1024x1024 terrain textures in copy mode before since copy mode limits that to 256x256. Now that copy mode is gone if you ask for 1024x1024 you get it along with all the hitches that come with that setting. Run it at 256x256 and it should be the same as before, maybe even a little faster since it avoids the back buffer to texture copy.motokid499 wrote: ↑Tue Nov 23, 2021 6:25 am Something really wrong going on for me, random hitches and slow motion type freezing. FPS displays 124/125 consistently but game is unplayable.
Tanner Rogers
Re: 2021-11-22 snapshot
Same for me.motokid499 wrote: ↑Tue Nov 23, 2021 6:25 am Something really wrong going on for me, random hitches and slow motion type freezing. FPS displays 124/125 consistently but game is unplayable.
Ryzen 7 5800X
GTX 1080
32Gb RAM
Game installed in NVMe
Re: 2021-11-22 snapshot
Cmon Bro . One Solutionjlv wrote: ↑Wed Nov 24, 2021 12:57 amIt'd be really helpful to have something specific. What am I looking for and what track makes it happen?Jakob Hubbard wrote: ↑Tue Nov 23, 2021 5:05 am I’ve seen issues with rendering large objects such as stadiums as well with this new snapshot that I thought I’d add in here
Re: 2021-11-22 snapshot (Updated 2021-11-24)
Updated to fix the transparent unlit objects and removed statue wireframes:
Windows users: https://mxsimulator.com/snapshots/mx-2021-11-22-1607.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2021-11-22-1607
Windows users: https://mxsimulator.com/snapshots/mx-2021-11-22-1607.exe
Linux users: https://mxsimulator.com/snapshots/mxbin-2021-11-22-1607
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: 2021-11-22 snapshot
Probably because it has a collision file. Moving objects with collisions is not currently allowed. My fault for not documenting this.Jakob Hubbard wrote: ↑Wed Nov 24, 2021 3:44 ammx.move_statue()
I have something like thismx.move_statue returns 0 on error I just have it up to display the message 0 when it fails.Code: Select all
if (mx.move_statue(index, x, y, z, a) { mx.message('1'); } else { mx.message('0'); }
BTW, when you do this, make sure the statue position is a pure function of time. That will make it continue to work if you rewind in a demo.
As an example, if you want something to move along the x axis at "xv" feet/second, do it like this:
mx.move_statue(index, x + xv * mx.seconds, y, z, a);
Not like this:
x += xv * mx.seconds_per_tic;
mx.move_statue(index, x, y, z, a);
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.