Archived modding threads

Status
Not open for further replies.
CHECK THIIS UOT, COMPLETELY RE DONE PHYSICS ALL THRUOUT THE GAME, FROM GROUND UP...

NO GAME OR PHYSICS SO CALLED EXPERTS, CAN TOUCH THESE CAR PHYSICS, NEVER HAD AND PROBABLY NEVER WILL..
MAKES ALL OTHER PHYSICS PREVIOUSLY THOUGHT AS REALISTIC LOOK AND FEEL OBSOLETE..
 
Well I've read all the tuts an help me threads and thread on getting a track packed into mas files an into rf! But i willing to pay someone who can break this code... A track i made will NOT work in rf after packed into mas 30 times today.. It worked yesterday one time after i packed into mas files and when i came out an zipped it up to share to ppl said it didn't work. When i went back and tried to load it. In race weekend It would hang at end of loading not crash out to desktop till i closed it out manually and would load in testing but car would not move bouncing . Now how the heck did this happen ??? DID GOD COME DOWN AN SAY HEY LOOK WATCH THIS LETS MESS WITH THIS GUY??? And can you have /PNG and tga, and JPG in mas files. ? they were the 1st time it loaded after i packed it an now its not worked since.. even after 30 something tries to repack it an load it. Il pay anyone who can fix this mess...
 
FROM 2 DIFFERENT TITLES. YEAH THATS NOT COOL, BUT REALLY KIND OF LAME, IF YOU ARE THAT DUMB, AND CANT JUST ENHANCE THE ORIGINAL TRACKS, I GUESS A PRETENDER, GENIUS
 
  • tunaphis

Ok,So I use a controller and auto gearbox on Dirt Rally.Most cars change up at near redline but the STi doesn't,It changes up at a low 4000 rpm which bogs it down making for slow times/crashes.I've spent considerable time searching for some way to edit this problem but so far nada.Am hoping someone smarter can solve this, not just for me but auto players in general.
Thanks in advance,
tunaphis.
 
24/1-2016. Important note added to, Move reference/anchor/pivot point section.
New information is in part 2!

This is to keep others from having as bumpy, a ride into this as i have had. Many frustrations.

Finding the right way into LIDAR point clouds, is like navigating a dense jungle.

There are so many purposes and ways to use LIDAR data, that we have acces to a forest full of free and paid for software, plus lots of file formats. Ad to that, all the things you can do to those files.

A heartfelt thankyou to Daniel Girardeau-Montaut, the creator of Cloudcompare. For creating the software and the pointers, that made this tutorial better.

What is LIDAR?
Lidar (also written LIDAR, LiDAR or LADAR) is a remote sensing technology that measures distance by illuminating a target with a laser and analyzing the reflected light. Although thought by some to be an acronym of Light Detection And Ranging, the term lidar was actually created as a portmanteau of "light" and "radar". Lidar is popularly used as a technology to make high-resolution maps, with applications in geodesy, geomatics,archaeology, geography, geology, geomorphology, seismology, forestry, remote sensing, atmospheric physics, airborne laser swath mapping (ALSM), laser altimetry, and contour mapping. (From Wikipedia).

Getting LIDAR data.
This is somewhat beyond the scope off this tutorial, but searching for geodata or height model, together with the country, should be a good starting point.

Software needed
CloudCompare
It is Open Source and can be downloaded here:
http://www.danielgm.net/cc/

CloudCompare supports import of 27 different file formats. There is a pretty fair chance, it will eat your file.

Before we start, a copyright notice needed for the data used.
Copyright notice Bellahøj Park Point cloud and Ortho photo
As required, according to this site: (In Danish)
http://download.kortforsyningen.dk/content/vilk%C3%A5r-og-betingelser
Contains data from Geodatastyrelsen and Danske kommuner Fot-data
Ekstracted lokation : Bellahøj Park Copenhagen
DHM/Point cloud
DLD 30/10-2015 Punktsky_617_72_LAZ_UTM32-ETRS89
Ekstracted lokation : Nisseringen Næstved
DHM/Point cloud
DLD 14/11-2015 Punktsky_612_68_LAZ_UTM32-ETRS89
http://download.kortforsyningen.dk/content/geodataprodukter
DLD = Download date
DanTDBV D@nN (My photo and film signature)

How do you do, you do, you do

I use LAZ files in this case. LAZ is a compressed LAS file.

  • Open CloudCompare
  • Open the file you wish to use. Select multiple files with Shift and Control
  • Open LAS File Chose Apply all
  • Global shift/scale Yes to All

  • Navigation: Left mousebutton Rotate, Scroll wheel Zoom, Right mouse button Move
  • You always need to select the file/s You want to work with.
    Select each file in turn (In DB Tree chose the filename)
  • Change active Scalar Fields to Classification (This is the one I prefer to use)
2 fields have been changed here
CC Classification.jpg


Merge and select

I usually do a fast selection, of a wider area than needed and save that, before refining the area further.

  • Control select all files (Same as above)
CC Selection.jpg


  • Click Merge multiple clouds button in Top ToolBar (TTB)
CC Top Toolbar.jpg

  • Adjust the view, until the desired area is visible
  • Click Segment button in TTB (scissors)
  • (Opens Segment toolbar. Hover mouse over tools for tool tips)
Segment selection.jpg

  • Select area of cloud to keep. For an irregular area, use Polygonal selection
  • If you are satisfied Hit Confirm segmentation. If you are not hit Clear segmentation. Cancel to quit
    In DB Tree chose the parts, of the cloud you wish to discard. (I clear the checkmarks, from the parts I want to keep) Hit Delete
  • Select resulting file and save a backup. I have good experience with exporting as LAZ. I chose Highest resolution. LAS/LAZ comparison: LAS 287 MB, LAZ 40,6 MB.
Further area refining.

CC pre clean.jpg

  • Now use the Segment tool, to remove the areas not visible from the track.
  • Polygon selection makes it possible to do complex selections.
Polygon selection.jpg

After Segment out selection
CC Segment out selection.jpg


CC cleaned.jpg

  • Save another backup
To be continued

I am not allowed to upload more, than 10 pictures so it is split into 2.

Go and have a break. Do what you do to relax and refresh.
 
Last edited:
I am slowly leaving the startbox, for creating Nisseringen in Denmark from scratch.

This is my firs attempt at buildin a virtual racetrack.

To do list at this point:
Nearly everything.

I have LIDAR/Point Cloud data of the terrain. I am creating the landcape from this.

I have BTB, RTB, 3DSimED3, CloudCompare, Meshlab, Meshmixer and Blender.

I am in the proces of learning, how to do these things and finding the strengths and weaknesses of these programs, so I will be watching videos and reading up on, a lot of stuff here and elsewhere.

The track is moving, but not yet alive, so to speak.

To build: Nisseringen and CHGP Faelledparken.

I hope to offer some great rides for others.

Well, it is very timeconsuming to maintain multiple WIP threads, so instead of creating another on the same subject, I will link to the one over at Assetto Corsa Mods. You will find it in the tracks section.

mod-edit: dont need to, can post it here as well if you wish

I will answer questions here and post update notes.

Have a wonderfull weekend.
 
Last edited:
Continued

Welcome back. Are you ready?

Reference/anchor/pivot point.
Remember all the big numbers in the Global shift/scale dialog?
The numbers in the big box, is the placement of the reference/anchor/pivot point, in the file you open.
The numbers in the small box, is the placement of the reference/anchor/pivot point, in the file while you work.

The Global shift information is discarded, when exporting to .stl, so the reference/anchor/pivot point, coordinates will be the numbers from the little box.

For landscapes I prefer to have the pivot point, in the center of the model. It makes it easier to cut the model into managable pieces and reassemble them.

Moving reference/anchor/pivot point.
  • Select the file
  • Chose Edit
CC Edit menu.jpg

  • Chose Edit global shift and scale
  • Change X, Y, Z values to zero. Keep the scale.
  • Hit yes
  • Click Point picking in TTB
  • Click on the point in the cloud, where you want the center to be.
  • Write down X, Y, Z values. Click discard
  • Select the file
  • Chose Edit
  • Chose Apply transformation
  • Go to Axis, Angle pane
  • Enter your written values, in the Translation section. You may need to check Apply inverse transformation.
  • Hit Ok
Export test mesh
  • Select the file
  • Chose Edit
  • Chose Mesh
  • Chose Delaunay 2.5D (XY plane) (Until now I have left Max egde length at default)
  • Select the file
  • Save as Binary .stl file.
Open the exported .stl in Blender and check, if it is where you want it.
When you have it right, do another backup.

Very important!
Whenever you reload your centered cloud, do NOT! Shift the global scale!

Your choise should be:
  • Global shift/scale No
Chosing the level of the cloud, to convert to mesh
  • Select the file
  • In the DB Tree Properties SF display params window, You can play around with the 2 circles until you only have the ground. (With the files I have, 2 is the ground)
CC Scalar Fields parameters 2.jpg

  • I find it easier to uncheck, show NaN/out of range values in grey, on the parameters pane.
  • Chose Filter points by value in TTB
  • Change both fields to your SF display params ground value
  • Hit Ok
  • Select Mesh and save. (I usually ad the levels to the name)
Creating a full resolution Mesh and export(This works for me)
  • Select the file
  • Chose Edit
  • Chose Mesh
  • Chose Delaunay 2.5D (XY plane) (Until now I have left Max egde length at default)
  • Select the file
  • Save as Binary .stl file.
PC level 2 full resolution .jpg

Nisseringen mesh example from cloud full density.jpg

Full resolution vs reduced resolution.
I found that in cleaning a full res mesh in Meshmixer, I was reducing the areas I worked with about 70-90%. It is much easier to reduce the cloud, before creating the mesh.

This however have the disadvantage, that the terrain details is washed out. (Not as sharp as with the full resolution cloud).
I have decided to keep the full poly mesh and creating a low poly mesh over that.
It does however slows down the PC.

My solution is to cut the full poly mesh, into chunks that I work on seperatly. This is way more easier in than in Blender. At least from what I know. More about this below.

Creating a reduced resolution Mesh
  • Select the file
  • Chose Edit
  • Chose Subsample
  • Move the slider from small towards large, remember your setting, hit ok
  • You can delete the resulting layer, without touching the base layer.
  • Play around with this until you, are sattisfied with the cloud density.
  • Select the file
  • Chose Mesh
  • Chose Delaunay 2.5D (XY plane) (Until now I have left Max egde length at default)
  • Select the file
  • Save as Binary .stl file.
PC level 2 reduced resolution .jpg


Nisseringen mesh example from cloud reduced density.jpg

Cutting a mesh into chunks

Delete everything in CloudCompare. Or as I do, close and reopen CloudCompare. (You did remember to save your progress?)

Open the .stl file you created above.
  • Select the file
  • Now use the Segment tool, to cut the mesh into managable chunks
  • Keep only the parts you are working with visible
  • If you have cut something, that should not have been, use the merge tool
  • Save each part as you go
  • Always uncheck the parts, you have exported
When you import the chunks, they are in the right places.
I have used the resulting files in Meshlab, Meshmixer and Blender.

I would advise to lock the Location:, Rotation: and Scale: settings in Blender

You are should now be ready, to continue in your favorite 3D program.

Some Blender information

Moving view close to the 3D cursor

  • Hit Alt/Home
Moving reference/anchor/pivot point in Blender.

I have kept this as it is usefull for other offcenter models.

When importing the mesh in Blender, you might find that the placement is off, to way off.

Chosing Yes to All for Global shift/scale, have seriosly reduced, the placement being off problem.

The following example, was with No to Global shift/scale.

This is not happening in Meshlab or Meshmixer, only in Blender.

One example is the model in the picture. Blenderunits from scene center:
Transform
Location
X=684203.25000
Y=6123295.5000
Z=55.56239
Nisseringen Full Pivot.jpg


There are 6 cars in this picture, can you spot them?

The reason for this, is the Anchor/Pivot point of the model.
The Location coordinates tells, where in the world the Anchor/Pivot point is.

Move the pivot point into the model

The first step, is to get the 3D cursor, out to the model.

I had some trouble doing this. The 3D cursor would just not appear, when clicking close to the mesh. With the view back, on the center of the world, the cursor worked as advertised.

This is how I got it to work:
  • Make sure that the model is selected
  • Chose View Selected
  • Change to Edit mode
  • Hit A to deselect all
  • Select a Vertex
  • Change to Object mode
Now you should get the 3D cursor, when you click. Well at least I do.
  • Place the 3D cursor, where you want the Pivot point to be.
  • Chose Object/Transform/Origin to 3D Cursor.
Your model is no longer off the mark.

A fast way to move the model, is to change the Transform/Location values.
Transform
Location
X:684203.25000
Y:6123295.5000
Z:55.56239
Center of the world
X:0
Y:0
Z:0

Good luck.

If you have any questions, then do not hesitate to ask and I will do my best to answer.

Keep in mind that English, is not my first language.

Update history
24/1-2016. Important note added to, Move reference/anchor/pivot point section.
23/1-2016. Move reference/anchor/pivot point + splitting mesh in CloudCompare sections added.
18/1-2016. Found a quicker way to do it.
 
Last edited:
Status
Not open for further replies.

Latest News

How long have you been simracing

  • < 1 year

    Votes: 237 14.8%
  • < 2 years

    Votes: 165 10.3%
  • < 3 years

    Votes: 159 9.9%
  • < 4 years

    Votes: 120 7.5%
  • < 5 years

    Votes: 225 14.1%
  • < 10 years

    Votes: 188 11.7%
  • < 15 years

    Votes: 125 7.8%
  • < 20 years

    Votes: 91 5.7%
  • < 25 years

    Votes: 72 4.5%
  • Ok, I am a dinosaur

    Votes: 219 13.7%
Back
Top