Author Topic: Track editing  (Read 34912 times)

pulse

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Track editing
« on: January 31, 2014, 01:06:53 AM »
would there be a 3d preview?
able to change skyboxs?
Scale changes?
16 bit?
Normal maps on the decals?
tile map editing?

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #1 on: January 31, 2014, 01:22:19 AM »
would there be a 3d preview?
able to change skyboxs?
Scale changes?
16 bit?
Normal maps on the decals?
tile map editing?

There is no editor yet.
1. There is a tool to view the generated track in 3D.
2. It is possible to change the skybox
3. ???
4. Yes. 16 bits grayscale RAW.
5. There are no "decals". Just layers. They do support normal and specular map.
6. ??? It is possible to set tiling for each layer.

pulse

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: Track editing
« Reply #2 on: January 31, 2014, 01:28:33 AM »
would there be a 3d preview?
able to change skyboxs?
Scale changes?
16 bit?
Normal maps on the decals?
tile map editing?

There is no editor yet.
1. There is a tool to view the generated track in 3D.
2. It is possible to change the skybox
3. ???
4. Yes. 16 bits grayscale RAW.
5. There are no "decals". Just layers. They do support normal and specular map.
6. ??? It is possible to set tiling for each layer.

So when you say layers your talking about like in reflex?
a Mask Map, RGB channels and it's alpha channel
Top Down Texture?
Shadow Mask?

http://twisteddirt.com/wiki/Textures

pulse

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: Track editing
« Reply #3 on: January 31, 2014, 02:56:37 AM »
this is what I mean by scale of the tracks.

resolution scale minaltitude maxaltitude
eg.
9 2.000000 -5.146564 48.516369

'resolution' specifies the size of the terrain.png and shading.ppm you are using. The formula is 2^(n+1)+1. So 2^(9+1)+1=1025, hence standard tracks use 1025x1025 pixel terrains.

'scale' is in feet/pixel, so standard tracks are 2 feet/pixel.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #4 on: January 31, 2014, 10:12:10 AM »
would there be a 3d preview?
able to change skyboxs?
Scale changes?
16 bit?
Normal maps on the decals?
tile map editing?

There is no editor yet.
1. There is a tool to view the generated track in 3D.
2. It is possible to change the skybox
3. ???
4. Yes. 16 bits grayscale RAW.
5. There are no "decals". Just layers. They do support normal and specular map.
6. ??? It is possible to set tiling for each layer.

So when you say layers your talking about like in reflex?
a Mask Map, RGB channels and it's alpha channel
Top Down Texture?
Shadow Mask?

http://twisteddirt.com/wiki/Textures

No idea about reflex, but basically: a diffuse texture and a mask texture.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #5 on: January 31, 2014, 10:18:38 AM »
this is what I mean by scale of the tracks.

resolution scale minaltitude maxaltitude
eg.
9 2.000000 -5.146564 48.516369

'resolution' specifies the size of the terrain.png and shading.ppm you are using. The formula is 2^(n+1)+1. So 2^(9+1)+1=1025, hence standard tracks use 1025x1025 pixel terrains.

'scale' is in feet/pixel, so standard tracks are 2 feet/pixel.

This is quite confusing  :o

This is how the beginning of a track looks like:
Code: [Select]
samples_x = 2049
samples_z = 2049
data = maryland.raw

size_x = 500
size_z = 500
scale = 20
pos_x = 0
pos_y = 0
pos_z = 0

X+ is right, Y+ is up and Z+ is forward.
samples_x and samples_z must be the same value and must be power of 2 + 1.
"scale" is the measure of the heightmap max value.
"pos" is the position in space of the bottom-left corner.
Everything is in meters.
« Last Edit: January 31, 2014, 10:38:19 AM by PiBoSo »

Sandbiter

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1227
    • View Profile
    • RK Web development
Re: Track editing
« Reply #6 on: January 31, 2014, 10:38:22 AM »
Track texturing like Mva U? AWESOME.
Loved doing that, and still do!

rafagas

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
Re: Track editing
« Reply #7 on: January 31, 2014, 01:05:34 PM »

This is how the beginning of a track looks like:
Code: [Select]
samples_x = 2049
samples_z = 2049
data = maryland.raw

size_x = 500
size_z = 500
scale = 20
pos_x = 0
pos_y = 0
pos_z = 0

X+ is right, Y+ is up and Z+ is forward.
samples_x and samples_z must be the same value and must be power of 2 + 1.
"scale" is the measure of the heightmap max value.
"pos" is the position in space of the bottom-left corner.
Everything is in meters.

If I understand it, size_x and size_z will be meters/px?

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #8 on: January 31, 2014, 01:10:52 PM »

This is how the beginning of a track looks like:
Code: [Select]
samples_x = 2049
samples_z = 2049
data = maryland.raw

size_x = 500
size_z = 500
scale = 20
pos_x = 0
pos_y = 0
pos_z = 0

X+ is right, Y+ is up and Z+ is forward.
samples_x and samples_z must be the same value and must be power of 2 + 1.
"scale" is the measure of the heightmap max value.
"pos" is the position in space of the bottom-left corner.
Everything is in meters.

If I understand it, size_x and size_z will be meters/px?

It's just the size of the terrain.

GDUBMX

  • Blue Flag Specialist
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1856
  • Privateer
    • View Profile
    • MX Bikes Central
Re: Track editing
« Reply #9 on: February 01, 2014, 06:11:59 PM »
Will the track editing be similar to gp bikes? I'm unfamiliar with that so will have to learn how to do it. Would love to make tracks for this.
Add me on Steam : GDUBMX
GDUBMX YouTube

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #10 on: February 01, 2014, 07:23:42 PM »
Will the track editing be similar to gp bikes? I'm unfamiliar with that so will have to learn how to do it. Would love to make tracks for this.

The terrain creation is completely different.
But everything else is mostly the same.

mxrewind665

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Track editing
« Reply #11 on: February 02, 2014, 12:30:26 AM »
Will there be an in game editor like Mx Sim. I dont have photoshop but I do have gimp can tracks be made in there? Or can tracks be made in earth sculptor?

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #12 on: February 02, 2014, 12:36:25 AM »
Will there be an in game editor like Mx Sim. I dont have photoshop but I do have gimp can tracks be made in there? Or can tracks be made in earth sculptor?

There is no editor at the moment.
It is possible to use any program that can save a 16 bits grayscale image.

Richard de Kuijper

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Track editing
« Reply #13 on: February 02, 2014, 11:28:15 AM »
please give us a editor :D

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 944
    • View Profile
Re: Track editing
« Reply #14 on: February 02, 2014, 12:15:13 PM »
please give us a editor :D

To sculpt a high-quality track it's probably better to use one of the many professional tools already available.