There is source code for FreeSOLID is in the speed dreams source code. I guess that gets used for unix and mac. It slightly different than what's on sourceforge and different from solid3 on github. There are also patches floating around all over the place. Windows and unix have the same problem. I don't know which one is best to use.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For Windows solid2.dll is installed by installer.
It's built from https://sourceforge.net/projects/freesolid/files/FreeSOLID-2.1.2.zip/download
On Mac, it is bundled with the .app file. It is installed on the build machine via Macports
sudo port -t install freeSOLID
On other nixes, I don't know if we use the code that's in the simuv2.1/Solid-2.0 directory
or if it is installed as a dependency. I have not explicitly installed it on my Linux (es) or on BSD.
Some time ago there was a discussion on removing 'bundled' code. I don't remember which distro(s) had a problem with it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The pit wall related crashes have been fixed by [r8855].
The problem was caused by 2 overlapping walls. This happened because the wall on the last segment overlapped the wall on the first segment. This caused the collision detection code to find a collision between the 2 walls when checking for a collision between a car and a wall. Our code didn't expect this and crashed because it thought the wall was a car.
I have seen this problem for years. I happens with some camera views. I have never been able to figure out why.
I am seeing problems with simuv4 and cars with new tire parameters not moving or moving uncontrollably. Cars without the new tire parameters will move normally. I guess the new tire compound is not ready yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I'm using the 1.1.0-alpha 5 on windows, and every attempt at generating pits to my tracks causes them to crash when loading it in speed-dreams. I do not know what is the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It'll be the pit wall bug I think. If you change the border type to "curb" it avoids it. Or if you make sure there is no overlap between the start and end of the pit straight
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
made new track as pit gen issues nuke my track forever. also noticed that if i add curbs to my track that are higher than 0, the AIs won't drive over them anymore. it's very noticable with shadows as they use the wholee track given to them. The start finnish line alining is so annoying, if there's a gap you can see it and if there's overlap then there's other issues. it would be nice to have a sort of snapping feature to help with that.
so as i'm trying out more stuff, it appears that sd doesn't like over lapping track. exported track as "All" and got this error. But if i export it as a track with racing line it works!
Hello @iobyte
So I have some notes regarding sd2-trackeditor 1.1.0 alpha5. In Properties -> Track only the Track width seems to work (I haven't tried profil as i don't know what it does), please investigate. I cannot seem to get turn marks (are turn marks the board on the side of the track that mark distance?) or racing line to work or i'm just doing something wrong.
I haven't tried Objects, Cameras, Surfaces, or Lights yet as it's uncharted territory for me. The grid stuff works great! Only thing to say about that is that I can't make a rallycross type grid like this. (attachment) but what I got out of it is enough for me.
Tooltips or some kind of general usage guide for some of the stuff would be appreciated but that's something we as a community can work for.
In the end I'm having a blast making tracks and I'm very happy that I now have a version of trackeditor that actually lets me load my tracks and and has bankings and others integrated to trackeditor so I don't have to manually edit the xml file for bankings.
I would recommend using the latest version in svn. A lot has changed and been fixed since the alpha versions. I can provide a jar file if you can't generate one from svn.
I got the jar file and it seems to have same issues. "In Properties -> Track only the Track width seems to work (I haven't tried profil as i don't know what it does), please investigate."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This only sets the defaults when none are specified. Track width is the only thing that you can actually change that will be guaranteed to have an effect. The others might have an effect if you didn't override them in the segment editor. They are not meant to change something that has already been specified.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a known bug. https://sourceforge.net/p/speed-dreams/tickets/1210/ sd2-trackgen doesn't generate valid terrain for tracks that overlap. TT3-trk.ac will be OK but TT3-msh.ac will not and they get combined into TT3.ac. I'll look into it but I don't think there will be a quick fix.
Last edit: Robert Reif 2023-04-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It turns out determining if the track overlaps is not that hard. Conceptually it wouldn't be that hard to implement this. I would guess it would take a week full time to implement if no surprises are found. I have a lot of other stuff I'm working on and some long trips coming up so I can't get to this any time soon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
time isn't an issue, you can get back to that whenever you have time. I just wanted to see if it's possible to make tracks that overlap. Maybe one day :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems to be related to FreeSOLID2. You don't get a crash when running with simuv3 physics which doesn't use SOLID.
There is a newer version of solid https://github.com/dtecta/solid3. Maybe we should look into using it.
@beaglejoe , @torcs-ng, can you take a look to this? I can't find it on Ubuntu repos
Possibly related??
[#909]
Related
Tickets: #909
There is source code for FreeSOLID is in the speed dreams source code. I guess that gets used for unix and mac. It slightly different than what's on sourceforge and different from solid3 on github. There are also patches floating around all over the place. Windows and unix have the same problem. I don't know which one is best to use.
For Windows solid2.dll is installed by installer.
It's built from https://sourceforge.net/projects/freesolid/files/FreeSOLID-2.1.2.zip/download
On Mac, it is bundled with the .app file. It is installed on the build machine via Macports
sudo port -t install freeSOLID
On other nixes, I don't know if we use the code that's in the simuv2.1/Solid-2.0 directory
or if it is installed as a dependency. I have not explicitly installed it on my Linux (es) or on BSD.
Some time ago there was a discussion on removing 'bundled' code. I don't remember which distro(s) had a problem with it.
The pit wall related crashes have been fixed by [r8855].
The problem was caused by 2 overlapping walls. This happened because the wall on the last segment overlapped the wall on the first segment. This caused the collision detection code to find a collision between the 2 walls when checking for a collision between a car and a wall. Our code didn't expect this and crashed because it thought the wall was a car.
Related
Commit: [r8855]
WTF! This is the guilty one!:
On the track I am working on, I had to remove the wall to avoid the error and it looked very bad. Thanks a lot!
Upsss!!!! Seems that this commit are buggy. If you create a quick race with several cars, at start or several seconds later, you have this error:
I reverted to 8854 and the problem is gone. I tried it on different circuits, not only on my WIP track.
I have seen this problem for years. I happens with some camera views. I have never been able to figure out why.
I am seeing problems with simuv4 and cars with new tire parameters not moving or moving uncontrollably. Cars without the new tire parameters will move normally. I guess the new tire compound is not ready yet.
Hi! I'm using the 1.1.0-alpha 5 on windows, and every attempt at generating pits to my tracks causes them to crash when loading it in speed-dreams. I do not know what is the problem.
Can you send me the xml file for the track?
It'll be the pit wall bug I think. If you change the border type to "curb" it avoids it. Or if you make sure there is no overlap between the start and end of the pit straight
made new track as pit gen issues nuke my track forever. also noticed that if i add curbs to my track that are higher than 0, the AIs won't drive over them anymore. it's very noticable with shadows as they use the wholee track given to them. The start finnish line alining is so annoying, if there's a gap you can see it and if there's overlap then there's other issues. it would be nice to have a sort of snapping feature to help with that.
Last edit: orjis 2023-04-28
so as i'm trying out more stuff, it appears that sd doesn't like over lapping track. exported track as "All" and got this error. But if i export it as a track with racing line it works!
Hello @iobyte
So I have some notes regarding sd2-trackeditor 1.1.0 alpha5. In Properties -> Track only the Track width seems to work (I haven't tried profil as i don't know what it does), please investigate. I cannot seem to get turn marks (are turn marks the board on the side of the track that mark distance?) or racing line to work or i'm just doing something wrong.
I haven't tried Objects, Cameras, Surfaces, or Lights yet as it's uncharted territory for me. The grid stuff works great! Only thing to say about that is that I can't make a rallycross type grid like this. (attachment) but what I got out of it is enough for me.
Tooltips or some kind of general usage guide for some of the stuff would be appreciated but that's something we as a community can work for.
In the end I'm having a blast making tracks and I'm very happy that I now have a version of trackeditor that actually lets me load my tracks and and has bankings and others integrated to trackeditor so I don't have to manually edit the xml file for bankings.
Thank you for your work!
I would recommend using the latest version in svn. A lot has changed and been fixed since the alpha versions. I can provide a jar file if you can't generate one from svn.
Last edit: Robert Reif 2023-04-29
I got the jar file and it seems to have same issues. "In Properties -> Track only the Track width seems to work (I haven't tried profil as i don't know what it does), please investigate."
This only sets the defaults when none are specified. Track width is the only thing that you can actually change that will be guaranteed to have an effect. The others might have an effect if you didn't override them in the segment editor. They are not meant to change something that has already been specified.
For rallycross start does setting rows to 1 and distance between columns 0 and offset within a column to 0 work?
that causes SD to crash as it's placing the cars inside eachother. (i think)
The latest version of trackeditor has a check for this. Click the green checkmark icon on right of the top icon bar to show problems with the track.
This is a known bug. https://sourceforge.net/p/speed-dreams/tickets/1210/ sd2-trackgen doesn't generate valid terrain for tracks that overlap. TT3-trk.ac will be OK but TT3-msh.ac will not and they get combined into TT3.ac. I'll look into it but I don't think there will be a quick fix.
Last edit: Robert Reif 2023-04-29
It turns out determining if the track overlaps is not that hard. Conceptually it wouldn't be that hard to implement this. I would guess it would take a week full time to implement if no surprises are found. I have a lot of other stuff I'm working on and some long trips coming up so I can't get to this any time soon.
time isn't an issue, you can get back to that whenever you have time. I just wanted to see if it's possible to make tracks that overlap. Maybe one day :)
You could try adding a relief file and relief lines in the loops to force geometry to be created in them. I doubt it will help but it might.
The trackeditor doesn't support adding relief lines yet. It can display them and you can do some minor editing of them but you cant create them yet.