MX Bikes Official Forum

Mods => Track Editing => Topic started by: Niko Mouk on March 30, 2016, 04:49:55 PM

Title: Skydomes, help please
Post by: Niko Mouk on March 30, 2016, 04:49:55 PM
Hi,
I created skydomes in blender and I can't get it working in mapview. Could you please help about :

- What should be the size of the skydome, related to the heightmap size ? Fixed ?

- After exporting to FBX format thanks to blender, I opened FBX2EDF and my god what have I to check/set here ?

Thank you !
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 30, 2016, 04:59:53 PM
Simple.. The origin is the center so build skydome around that. It's fixed as far as I can tell so you shouldn't need to make it bigger or smaller. Any size will do.

In fbx2edf, leave it on 'Mesh', load your fbx and click 'Save'. Call it clearsky.edf, cloudysky.edf or rainysky.edf, run fbx2edf and then put the generated .edf in your finished track folder.

Should work just fine :)
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 30, 2016, 06:53:51 PM
This is what I did and it doesn't work :(

With a small sphere the clearsky.edf was only 800kb so I did a bigger one which is near 7Mo but still not showing in mapview. No need to regenerate map right ?
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 30, 2016, 06:59:21 PM
Ah, no.. Like I said the .eff goes in your finished track folder not your project folder, I.e:

Program files / Mx bikes / tracks / your track / clearsky.edf

You can open final track folders .map files in mapview so then do that and you can switch between clear, cloudy and rainy.

I keep a mapview in my finished track folder for working on skydomes.
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 30, 2016, 09:19:38 PM
Yes exactly, as it's in the tutorial, this is what I do. Everything is in the final folder. The 2 original skydomes are working but if I customize the cloudy for example, it's not showing.

Hmm... it says my JPG isn't power of 2... now it's ok, my jpg source is 2048x1024 but it's still not showing in mapview  :(

My dome is a full sphere (not semi).

(https://gyazo.com/09bb2820d020906e3de61e59c08d1c89.png)
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 31, 2016, 12:08:14 AM
You can't use jpegs. It has to be .tga
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 31, 2016, 09:51:03 AM
Still the same using TGA (I tried to add/remove the alpha channel). What's strange is my fbx is only 36ko while the TGA is 8MB.

Here are the files : Test1.zip (http://labo.elaia.ch/cortex/#/view/file/2j5dcnmbabbibawf3lk1/Test1.zip) , could you or someone take a look and tell me what's wrong please ?
Many thanks
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 31, 2016, 10:37:45 AM
Sorry mate, cant help you there - Don't use Blender.
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 31, 2016, 10:43:34 AM
Quote from: TheFatController on March 31, 2016, 10:37:45 AMDon't use Blender.

Maybe that's my problem ? Blender files could be different. Could you tell me which program(s) do you use ? If it's 3DS MAx I should have an old version somewhere
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 31, 2016, 10:46:34 AM
Ha.. well I use Sketchup. When I export I save from Sketchup as .dae with textures in their own folder (say I export sky.dae, I get a folder called sky with my textures in).

Then I run that through Sket2FBX which makes an output folder with my fbx, and again a folder with the same name with textures in.

Then I run that fbx through FBX2EDF to make my .edf.

Sounds long winded but it only takes seconds, and works.

Have you exported track objects before? I know a few people who use Blender with no problems..
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 31, 2016, 11:03:01 AM
That was yesterday the first time I opened Blender. I followed this tutorial (https://www.youtube.com/watch?v=gMzIe8y7spI) and in export options there is .FBX so I thought it was easy but it seems something's going wrong.
Title: Re: Skydomes, help please
Post by: Niko Mouk on March 31, 2016, 01:48:10 PM
Quote from: TheFatController on March 31, 2016, 10:46:34 AM-I export I save from Sketchup as .dae with textures in their own folder
- Then I run that through Sket2FBX which makes an output folder with my fbx, and again a folder with the same name with textures in.
- Then I run that fbx through FBX2EDF to make my .edf.

Worked like a charm. Thank you for sharing.

(https://i.gyazo.com/df4ed6898eb153d0f6c12359df8a9381.jpg)
Title: Re: Skydomes, help please
Post by: 𝖙𝖋𝖈 on March 31, 2016, 01:50:56 PM
No probs. Sketchup is pretty good for very basic track objects. Never going to be as good as something like Blender but it does the job for me.