Age Verification
This website contains age-restricted material including nudity and explicit content. By entering, you confirm being at least 18 years old or the age of majority in the jurisdiction you are accessing the website from.
I am 18+ or older - Enter
I am under 18 - Exit
Our parental controls page explains how you can easily block access to this site.

마지막の글 - 페이지 #15

  게시판

Wyldanimal
중재자
Joined in Mar 2008
16958 글

Discussions for Scenes for Version 1.2.X Fullscreen Mode here

iStripper에 관한 모든 것
February 24, 5028 답변
@ET
@Calgon

I had some time to play with converting the ET scene to using the Camera method.
I also simplified the background shader, only needing 1 buffer, because both eye camera views will use the same background

Doing that gave a huge performance boost.

ET - FractalGardenA480-Camera-3D.scn
https://virtuastripper.net/ET_FractalGardenA480-Camera-3D.scn
https://virtuastripper.net/SceneImages/ET_FractalGardenA480-Camera-3D.jpg


text: Info/infoFractalGarden084f.txt
logo: Info/small_logoFractalgardenA480A.png
minVersion: 1.2.0.80

clip {
id: Clip
deny: top, inout
nameGlowColor: 0, 1, 1
}
texture {
id: Sweet
source: Textures/Beige01.png
}
texture {
id: ppcstage
source: ETImages/Plaftexrot01/PPstageMini.png
}
// end of Textures
framebuffer {
id: Clipx
size: 960, 540 //reduced to half size for clip from 1920, 1080
source: Clip
}
framebuffer { // create a blank canvas only need one
id: blank_canvas
size: 1920, 1080
source: Sweet
}
framebuffer{ // Paint the background from the shader on the canvas
id: background
size: 1920, 1080
pos: 960, 540
sprite{
size: 1920, 1080
hotspot: 0.5, 0.5
pos: 0, 0, 0
rot: 0, 0, 0
opacity: 1
source: blank_canvas // use the blank canvas
shader: fragment, Shaders/mrange/Mandelbox slicesMod01.fsh
//shader: fragment, Shaders/clouds.fsh //mrange/Mandelbox slicesMod01.fsh
}
} // end of background
// same background will be used in both eye views

// most of the comments will be in the left eye frame buffer
// the right eye frame buffer will be the same except for the camera position
// create the left eye view frame buffer
framebuffer { // Left eye buffer
id: left_eye_buffer
size: 1920, 1080
camera { //Left eye camera view shifted to the left
type: 3D
angle: 45
pos: -20, 0, 1368 // camera positioned to the left
//pos: -20, 0, 1272 //1368
target: 0, 0, 0 // target is centered
Sprite{ // insert the background
size: 1920, 1080
pos: 0, 0, -200 // set the depth of the background
scale: 1.5, 1.5 // scale the background to fill the view
source: background
}
// other scene items here
sprite { // insert the stage
pos: -240, 210, 685 // place it in the Center of the camera view
size: 448, 64 //440
hotspot: 0.5, 0.5
source: ppcstage
scale: 0.925, 1.0 //1.85, 1
}
clipSprite { // centered on stage
pos: -240, 195, 710 // X same as Stage
sittingHeight: 290
standingheight: 370
resolution: 20
scale: -0.5, 1.0 // scale 50% in X it will be stretched in the VR headset
source: Clipx
}
clipNameSprite { // clip name
source: Clip
pos: -130, 135, 700 // offset to the right of the model
scale: 0.32, 0.32
}
}// end of Left eye Camera view
}//end of Left Eye buffer

// the right eye frame buffer is exactly the same as the left eye
// Except for the camera position
framebuffer {
id: right_eye_buffer
size: 1920, 1080
camera { //Right eye view
type: 3D
angle: 45
// only the camera pos is different
// the rest of the scene is exactly the same
pos: 20, 0, 1368 // shift the camera to the right
//pos: 20, 0, 1272 //1368
target: 0, 0, 0 // the target is the center
Sprite{ //insert the background
size: 1920, 1080
pos: 0, 0, -200
scale: 1.5, 1.5
source: background
}
// other scene items here
sprite { // insert the stage
pos: -240, 210, 685 // Center of the camera view
size: 448, 64 //440
hotspot: 0.5, 0.5
source: ppcstage
scale: 0.925, 1.0 //1.85, 1
}
clipSprite { // centered on stage
pos: -240, 195, 710 // X same as Stage
sittingHeight: 290
standingheight: 370
resolution: 20
scale: -0.5, 1.0
source: Clipx
}
clipNameSprite { // clip name
source: Clip
pos: -130, 135, 700 // offset to the right of the model
scale: 0.32, 0.32
}
}// end of Right eye Camera view
}//end of Right Eye buffer


// this is where you build the SBS scene
//16:9 1920 x 1080
camera { // Compose the SBS Scene
type: 3D
angle: 45
pos: 0, 0, 1272
sprite { // insert the Left eye buffer
size: 1920, 1080
pos: 0, 0, 0 // at the left of the screen
source: left_eye_buffer
scale: 1.0, -1.0 // Flip the buffer over
}
sprite { // insert the Right eye buffer
size: 1920, 1080
pos: 960, 0, 0 // at the half screen location
source: right_eye_buffer
scale: 1.0, -1.0 // // Flip the buffer over
}
// end of SBS scene creation
} // close the SBS Camera
Previous 페이지 #15 다음