Notice: This is an old thread and information may be out of date. The last post was 903 days ago. Please consider making a new thread.
Tutorial for Skybox and Skyboxi?
I can install them in a track... Position them correctly... But when you check in the ingame camera's, they look awful and pixelated and sometimes clipping some of the structure objects...
Anybody has a tutorial of making a correct placement of the skybox and skyboxi... I will surely appreciate any help or tips...
Have you looked at the track making tutorial? http://www.mbdevteam.com/download/tu..._by_scottj.rar
I think the pixelation thing is,, in the material settings you need to select 'No Detail Reduction' and when you save the sky texture choose no mip maps.
mannnn... you always come thru for me bro! ima try this now
I really don't know 100% how it works as I haven't played with it much, but I presume you only use it with things you don't want to lose detail, like the sky and maybe terrain if you use an overhead pic. I only know to do this because I looked at how default ISI tracks are made.
Originally Posted by JorgeANeto
Ok, I will do a bit of 'thinking out loud' here (so don't take this as gospel), I have looked into this, but I still don't understand it fully, so I will type what I think and hope it can help clear it up a bit.
Originally Posted by JorgeANeto
You don't actually need sky.dds (I don't know why or how) I think those names are used to name the animation.
The animation uses sky files from the commonmaps.mas or you can build your own. Infact you don't even need to make a sky tex. at all because all you need is in the commonmaps.mas. The only reason you would make your own sky is if the location had a certain unique thing.
I think the main textures used are sky01 (day) and sky04 (night), the rest I think are for dusk and dawn which aren't turned on for long.
I think the lerping is not a static blend, but a way to cause a fade.
If you look at the animation,,,
You can see that it is offset.
Here are the material properties from the track sample piece that comes with rftools v1.
The sky textures themselves are beyond my understanding on how they are made. I think they are similar to how a cube map is made or something like that. But in some cases I see just plain dxt1 sky's made so I don't think how they are made is important.
You see the thumbnails from common mas show some fancy thing, but when you open them they all look normal. You can see the file format, bottom left of each wtv window.
So that's about all the knowledge I can share about this. I hope it helps somewhat.
Some time ago I did some tests with that animation sequence, trying to figure out how it works.. but I failed
I did 4 solid colored textures (like pink, green, blue, yellow), run timescaled session and noted down exact times for all texture transistions during that 24h period, but found no obvious connection with anim sequence
Yes, lerp is used here for fading (which gives pretty good results).
Thanks for the kind words Jorge
@LesiU, Try using the scene viewer, all you have to do it press a button to change the sky. It makes it a lot faster.
This is from the gMotor Viewer help.
Time-of-day controls are used to adjust the direction and color of the scene lighting, and sky transitions if present and properly setup. Transition take place over a 3-second interval, and can be paused (frozen) by hitting the same key again.
· F1 – transition from night to dawn (sunrise) phase
· F2 – transition from dawn to day (sunny) phase
· F3 – transition from day to dusk (sunset) phase
· F4 – transition from dusk to night phase
· Backspace – transition to the next phase. The phase order is dawn, day, dusk, night.
Thanks mianiak, but I was talking about figuring out the lerp animation sequence provided in the material properties for sky dome.
JorgeANeto. For me, it looks like a direct reference to all 5 (0-4) textures. Lerping is about linear transition between two points which rF is using for transitions between each texture change, so that's not the case (well, at least in my opinion). I'll ask my friend to have a look into the shader code. Maybe he will find anwers to our questions? Stay tuned.
Shader is doing only Lerping on two textures (and RGBA color) that it receives from the GFX engine, so it is the engine, that interprets the sequence directly. You can try and ask ISI directly about that. Maybe this time they will help you. I tried, about a year ago, and they said that they don't remember that already, so they have no idea how it works
Awesome addition, Mianiak! I've been following the tutorials floating around, and I didn't see anywhere where they mentioned the T2 animation sequence. I was scratching my head until I (re)stumbled on this thread. The order in which my skys were showing up was not the same I was getting on any other other track, plus it would flash white during the transition from sky to sky. Using that animation sequence for T2 fixed it perfectly! Hopefully the tutorial-makers will take note and add this info to their tut's. I'm starting to compile a list of notes on track building. This one has definitely made it in!
After creating a sphere and give it a sky texture, I still can't see the sky properly, what I see is only the blue color (part of the sky tex) and no clouds at all. Maybe there's a problem with my UVWmap? And how to do this in proper way? All other properties already set as in ISI's tutorial and in this post.
Fix the problem, turns out I need to flip the normal. Works fine, but the sky animation is still working incorrectly and too fast. The animation is backwards I think (night is day, and day is night).
Originally Posted by taufikp