Discussions for Scenes for Version 1.2.X Fullscreen Mode here
Tudo sobre iStripper
December 20, 2016, 5088 respostas
There is a lot of OpenGL programming in the xmas scene that I really do not understand at all. I have no experience of framebuffers, uniform parameters, or shader coding. Is there anywhere I can go to learn?
As I have mentioned in a previous post, the xmas scene does not correct the orientation of the clipSprite. This means that clips where the model has writing on clothing or on tattoos appear as mirror images.
I tried to correct this simplistically by seting the x scale parameter negative on the clipSprites, but I found that the lighting created by the fire on the model was inappropriate. In the end I had to mirror the whole scene, with the tree now on the right of the screen. Here is the altered code:
//------------------------------ main scene
sprite {
size: 2200, 1080
scale: -1, 1, 1 // correct symmetry
pos: 0,0 // see half window rear left, half picture rear right
//pos: 100,0 // shifted x by +100 to see all window rear left, no picture rear right
source: colorClip,0 // clip, full size
source: fbo2,1 // blurred light mask
source: fboNormalBackground,2 // background
shader: combine_light.fsh
blend: false
}
//------------------------------ model reflect
clipSprite {
scale: -1.0, 0.9, 1.0 // correct symmetry
pos: -100, 500 // see half window, rear left, half picture rear right
//pos: 0, 500 // shifted x by +100 to all window rear left, no picture rear right
standingHeight: 800
rot: 180, 0, 0
source: ClipBm
opacity: 0.3075
}
I would have thought adding additional dancers might give strange unnatural effects from the 'fire-glow'.
It's just too clever stuff for me!