Please can you cut out that tiny part of the model, including those round buttons, maybe save it as a tiny sre file and attach it here (no need for textures) just so I can see it and get an idea of the size involved.
Ideally the code would detect error triangles but not small triangles that are there for a reason.
I'm short of time today but added a couple of features that make yesterday's model error reporting more useful.
New 'find' buttons to select error triangles or bad normals
New button to select a point by entering the point index
Index of a single selected point or triangle is displayed
Rearranged buttons in tri mode to line up with point mode
It has a new identifier for excessively small triangles which can be the cause of bad normals.
I can think of two main causes for bad normals. A 'bad normal' is when LFS can't understand which way a surface is pointing.
One example, is triangles, in the same smoothing group, in two opposite directions, based on the same points. So one triangle says "point faces that way" and other triangle says "point faces opposite way". Add these together, point doesn't face anywhere. Of course, triangles facing in opposite directions, based on the same points, need to be in their own smoothing groups, but LFS editor can't work that out, you have to do it manually.
Another example is extremely thin or tiny triangles. E.g. a triangle which is based on points that are in a line. Which direction does such a triangle face? Well that doesn't even make sense, geometrically it's just a line, although logically it has been specified as a triangle. That is a modelling error, but LFS editor cannot work out what you meant to do, or something like that. However, the new detection I added yesterday can help you find such thin triangles. Tip: sometimes use the "triangle buttons" to find the triangle referred to by the cyan line.
I am wondering if the tolerance for small/thin triangles need to be increased, to allow tiny ones. At the moment, the limit is down somewhere near 1 square millimeter which seems small enough to my mind, but apparently some models use a lot of such tiny triangles.
Spare wheel can now be offset laterally (set RIGHT value)
FIX: Save as SIT / STR name now limited to 7 characters
FIX: Dashboard texture can now be updated in a 2D view
Removed message spam about bad normals - instead a report is displayed at the top right in the modeller. This feature is not yet finished as I would like to add a button to help by selecting one of the offending points or triangles.
No, he's obviously a very experienced LFS driver and his rapid adaptation to the energy saving would have made him the winner of the second race, if it wasn't for the penalty he received! But he was a newcomer to the E-Challenge on Sunday. So that was very impressive.
I watched the races in the broadcast replay which was well informed and entertaining as ever.
Fun to see newcomer Alen Terzic's terrific speed in Race 1, seemingly unconcerned about energy conservation.
I loved Nico Puntola's tidy reverse driving (in correct track direction) after a spin in lap 3 before a controlled spin back to face the right way.
I'd like to congratulate all the participants who were part of the entertainment (including before I ever had a go) and thank all drivers throughout the field for the really respectful driving. And thanks for being kind to me too.
It's not really a bug, but an issue caused by a rare case of an ALPHA surface writing to the Z-buffer, which is necessary for the car windows, for reasons I won't describe in detail here (to stop painted lines on roads behind the car appearing in front of the windows - a strange effect). Transparency is always annoying to deal with, because of the necessity to draw transparent surfaces in the correct order. Sometimes perfect solutions aren't practical, so we need a compromise.
I don't think it's possible to get around it, I tried changing the draw order but I see that LFS moves the s_plate_alp textures to the end of the list. I think I did that to prevent the alpha numbers messing up the look of the windows.
I think it's best to accept the anomaly and not worry about it, as it will rarely be noticed.
This is because each number plate texture has up to four number plates on it (shared between different players) so LFS automatically positions the cutout to the right place.
As far as I can understand, you shouldn't need to adjust the cutout because you can adjust the mapping instead.
1) Vehicle editor will not crash (in Textures tab or when creating car from model)
2) There is a message "Too many materials"
3) It will not export for testing or upload if there are too many materials
This must be the best way, as LFS itself will crash if there are too many materials. I believe there should be no need for so many materials, if you can share texture pages, etc.
I like the idea of hiding subobjects and making that work like it does for triangles and points. I assume you would like the selection button and the visible model to disappear at once.
I also like the idea of merging subobjects. I think the key to this is to first allow multiple subobject selection, which could also be helpful when hiding objects or if you wanted to delete a few, move two subobjects together, etc.
(I like a lot of the other suggestions too but these seemed relevant to my point about multiple subobject object selection).
For now, I have added the often requested "named subobjects" in Test Patch D15, along with a vehicle editor crash fix.
I did hold it together for the first race so I'm happy with that. After a start grid incident I found myself at the back of the field in 16th position. I gradually worked up a bit to finish 9th. Related to energy saving, I managed to catch up and pass Zdravko Topolnjak near the end of the final lap, but ran out of energy on the final bend so he passed me again. This was quite exciting.
My second race was a bit out of control. I think I struggled with the extra power, which I had opted for in that race but as my car was faster than usual at the high speed bend, I think that was the cause of a few wall hits that made the car handle badly. Eventually when we could select dry tyres, I opted to fix the car which took a long time, only to immediately hit the same wall again! After another driver's incident caused a safety car I was allowed to pass the safety car and raced around the track to catch the back of the field. Lack of experience showed when I came across the slow moving cars on lap 19 and crashed right into the back of Jared Meade, knocking his car into the air. Sorry about that! That was again at the famous high speed corner. After the restart there wasn't long to go and on lap 20 I hit the armco at the high speed corner, this time knocked myself right out of the course and had to find my way back in to the circuit to finish the race. Is that legal?
So... that fast corner caused a lot of trouble for me but as I say, the first race felt in control and consequently more fun. I don't think I deserve any congratulations at all for the second race.
I would like to congratulate the other drivers, especially the top three: Gábor Gyüre, Imran Azhar and Niko Puntola though I have to say there were a lot of really good drivers there. It's amazing to see.
The replicas of the real tracks are so well done by Michal Málek, within the limits of the layout editor. The organisation and running the races by Master Race Car in conjunction with New Dimension Racing is incredibly professional. Finally the coverage by Sim Broadcasts is so well done and entertaining, what can I say but well done everyone, amazing job.
It's quite humbling to experience such fine work using this old simulator and I am extra inspired to get done what needs to be done, to bring the latest updates to you.
I've had a look into this, found a possible reason for the crash and recreated a crash that matches your description.
It looks as if the code will fail (and crash, unpredictably) if there are more than 64 different materials in the model (when the subobjects are combined with the main model, which LFS does automatically).
I'll need to decide how to allow more materials, limit the number of materials, or both, as it is of course not acceptable for the program to crash.
Although I will do that, I must also say that I feel it's an excessive number of materials. Eric's most extremely detailed vehicle, the RB4, has reached 50 materials. Although I shouldn't be surprised that someone else's model exceeds 64 materials, as a programmer I feel this is too much for in game use and somehow you should reduce the number of materials. Maybe you can achieve the same results by either reducing the number of textures (e.g. by using cutouts on fewer, combined, texture pages) or reducing the number of different material settings in the 'cutout' mode?
I can't give any specific suggestions without seeing the model, but I have made a note to consider a fix/limit/warning/etc. Please let me know if the explanation makes sense (if I've described it properly and if you model really does have so many materials).
Thanks, I've asked Victor about it. It's probably a text conversion thing. I think it's best to leave it as it is now, and Victor will let us know if you should change anything, or if he fixes it on his side.