Not wanting to double-post anything, I thought it best to come here.
@Grabandt requested a Pool Party type of scene so... I made one. Basic stuff really. I took a static background image that Grabandt provided and I cropped/resized it to 1920 x 1080 or 16:9 ratio. So far so good. I then tried numerous ways to make the girls look like they're really in the pool. As I said in his other thread, not a simple task :(
So, I made a mask image of the lower part of the background, cutting out the water and reflected the 2 models' clipSprites, hoping to make it look more natural and no reflections on the pool's tiled area. (BTW, I'm intending to try a couple of shaders to make the reflections 'jiggle' around a little so it looks more realistic. Bear with me on that :) )
My problem is, I can't for the life of me figure out where to put the Mask code so that it covers the poolside tiling and the reflections only show in the water.
It's been a while since I made a new scene and I've gone thru the PPS .scn code, ET's stuff, No'6's stuff. I thought I'd done it all correctly :(
Anyway, I've triple checked my file naming and all seems to be correct.
Here's the scene code...
clip {
id: Clip Left
allow: behindtable
}
clip {
id: Clip Right
allow: behindtable
}
////////////////////////////////////////////////////////////////////////////////
texture {
id: Pool
source: Images\Pool Party1.jpg
}
texture {
id: Mask
source: Images\Mask 1.png
}
////////////////////////////////////////////////////////////////////////////////
camera {
type: 2D
pos: 0, 0
size: 800, 450
//Background
sprite {
pos: 0, 450
hotspot: 0, 1
source: Pool
opacity: 1.0
size: 800, 450
material: false
blend: false
resolution: 20
}
//Left Model Clip
clipSprite {
pos: 160, 340
source: Clip Left
standingHeight: 320
resolution: 20
material: false
}
//Left Model Clip Reflection
clipSprite {
pos: 160, 340
source: Clip Left
standingHeight: 320
opacity: .1
Rot: 180,0,0
}
clipNameSprite {
pos: 160, 400
scale: 0.25
hotspot: 0.5, 1
source: Clip Left
}
//Right Model Clip
clipSprite {
pos: 620, 340
source: Clip Right
standingHeight: 320
resolution: 20
material: false
scale: -1, 1, 1
}
//Right Model Clip Reflection
clipSprite {
pos: 620, 340
source: Clip Right
standingHeight: 320
opacity: .1
Rot: 180,0,0
scale: -1, 1, 1
}
clipNameSprite {
pos: 620, 400
scale: 0.25
hotspot: 0.5, 1
source: Clip Right
}
sprite {
pos: 0, 450
hotspot: 0, 1
size; 800, 450
source: Mask
}
}
Any help would be much appreciated, guys. I'm tearing out my hair here!
A snap of the scene...