Full white tint/White Fade in-out room transition

Started by Kinoko, Fri 24/09/2004 03:57:21

Previous topic - Next topic

Kinoko

Can I use SetAmbientTint or any other function to get an object to be completely white? I'm trying to get a kind of saturated sunlight effect and at the moment, I've had to animate the object going from completely white to partly white on my own, and then use SetAmbientTint at full blast to carry it on from there. I realise it's a -tint- and probably shouldn't saturate full white anyway but... is there a way around this?

Also, is there any way to get a white fade in/out room transition?

Pumaman

Have you tried

SetAmbientTint(255, 255, 255, 100, 100);

or did this not white them out enough?

TerranRich

As for white room transitions, you might have to use a large white object. Otherwise, I think CJ should implement a way to set/change the default fade-out transition color...IF at all possible. :)
Status: Trying to come up with some ideas...

Kinoko

I used SetAmbientTint(255, 255, 255, 100, 100); and was really surprised that it only seemed to partially tint the picture. It was still very visible. If you want, I'll upload a picture later that demonstrates to what extent it tints (I can't just now though).

Neither of these problems are terribly important, but a white room transition would be nice (for that very much overused Hollywood effect) and a complete white "tint" would just save my game some disk space.

Pumaman

Ah yes, due to the colourization method it uses, that will actually just turn the image to greyscale.

A whiteout screen transition would be perfectly possible - I'll add it to my list.

TerranRich

Well, I was kind of thinking of a way for the user to specify a certain color. But if that's not possible, then a whiteout only additon would be awesome. :)
Status: Trying to come up with some ideas...

kelly

The few times I ever needed a fade to white effect, I just set the transition to crossfade and then faded into an all-white room. From that room, I reset the transition and went to the next room.

Not the most elegant solution and it does add a room (and rules out 256 color games), but it worked well in a pinch until CJ makes something easier available.

TerranRich

You could also have an all-white fullscreen object fade in on the first room, then another corresponding all-white object fade out on the other, with an instant transition (or lack thereof) between rooms.
Status: Trying to come up with some ideas...

Phemar

#8

Couldn't you also change the black color in the palette (I know it's locked, but you can change it with scripting) and in theory that should change the fadin color.

EDIT: Well, no it doesn't work, but if you're running a 320x200 game and your game is to letterbox res then the black borders at the top and bottom will appear white.

Off-topic: BTW, I noticed a function called SetPalette (color*); <- What on Earth does that do? It's not in the manual.

strazer

#9
Keep an eye on FadeInColor/FadeOutColor. :)

SMF spam blocked by CleanTalk