Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任建锋
yt
Commits
fe924dd3
Commit
fe924dd3
authored
Jul 03, 2018
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
ae4bc527
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
298 additions
and
8 deletions
+298
-8
package_20180703113327.json
.history/package_20180703113327.json
+14
-0
package_20180703121926.json
.history/package_20180703121926.json
+14
-0
SceneManager_20180628115725.ts
.history/src/manager/SceneManager_20180628115725.ts
+129
-0
SceneManager_20180703121911.ts
.history/src/manager/SceneManager_20180703121911.ts
+131
-0
SceneManager.js
dist/manager/SceneManager.js
+4
-4
SceneManager.js.map
dist/manager/SceneManager.js.map
+1
-1
package.json
package.json
+1
-1
SceneManager.ts
src/manager/SceneManager.ts
+4
-2
No files found.
.history/package_20180703113327.json
0 → 100644
View file @
fe924dd3
{
"name"
:
"yt"
,
"version"
:
"1.0.2"
,
"description"
:
"基于Babylonjs的3D框架"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"scripts"
:
{
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"tc"
:
"git+ssh://git@gitlab2.dui88.com:clq/tc.git#1.0"
}
}
\ No newline at end of file
.history/package_20180703121926.json
0 → 100644
View file @
fe924dd3
{
"name"
:
"yt"
,
"version"
:
"1.0.3"
,
"description"
:
"基于Babylonjs的3D框架"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"scripts"
:
{
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"tc"
:
"git+ssh://git@gitlab2.dui88.com:clq/tc.git#1.0"
}
}
\ No newline at end of file
.history/src/manager/SceneManager_20180628115725.ts
0 → 100644
View file @
fe924dd3
export
class
SceneManager
{
public
stage
;
private
_scene
:
BABYLON
.
Scene
;
private
_canvas
;
private
_engine
;
private
static
instance
:
SceneManager
;
public
static
get
ins
():
SceneManager
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
SceneManager
();
}
return
this
.
instance
;
}
constructor
(){
this
.
_canvas
=
document
.
querySelector
(
"#renderCanvas"
);
this
.
_engine
=
new
BABYLON
.
Engine
(
this
.
_canvas
,
true
);
var
createScene
=
function
(){
{
var
scene
=
new
BABYLON
.
Scene
(
this
.
_engine
);
//下面的代码是为了设置微信上面的touch事件兼容
var
n
=
scene
.
_onPointerUp
,
o
=
scene
.
_onPointerDown
,
r
=
scene
.
_onPointerMove
,
a
=
BABYLON
.
Tools
.
GetPointerPrefix
();
this
.
_canvas
.
removeEventListener
(
a
+
"move"
,
r
),
this
.
_canvas
.
removeEventListener
(
a
+
"down"
,
o
),
window
.
removeEventListener
(
a
+
"up"
,
n
),
scene
.
_onPointerUp
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
n
(
e
)
}
,
scene
.
_onPointerDown
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
o
(
e
)
}
,
scene
.
_onPointerMove
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
r
(
e
)
}
,
this
.
_canvas
.
addEventListener
(
a
+
"move"
,
scene
.
_onPointerMove
,
!
1
),
this
.
_canvas
.
addEventListener
(
a
+
"down"
,
scene
.
_onPointerDown
,
!
1
),
window
.
addEventListener
(
a
+
"up"
,
scene
.
_onPointerUp
,
!
1
);
//下面的代码是为了设置微信上面的touch事件兼容
var
camera
=
new
BABYLON
.
FreeCamera
(
"baseCamera"
,
new
BABYLON
.
Vector3
(
0
,
0
,
0
),
scene
);
this
.
_engine
.
setHardwareScalingLevel
(
0.6
)
return
scene
;
}
}.
bind
(
this
)
this
.
_scene
=
createScene
();
this
.
_engine
.
runRenderLoop
(
function
()
{
this
.
_scene
.
render
();
TWEEN
.
update
();
}.
bind
(
this
));
window
.
addEventListener
(
"resize"
,
function
()
{
this
.
_engine
.
resize
();
}.
bind
(
this
));
}
/* public get stage(): any {
return this._stage;
}*/
public
get
scene
():
BABYLON
.
Scene
{
return
this
.
_scene
;
}
public
get
canvas
():
any
{
return
this
.
_canvas
;
}
public
get
engine
():
any
{
return
this
.
_engine
;
}
public
change
(
display
){
/* console.log(display)
var i;
for(i in display){
console.log(display[i])
}*/
for
(
var
l
of
SceneManager
.
ins
.
scene
.
meshes
){
l
.
dispose
()
}
/*var j;
for(j in SceneManager.ins.stage){
console.log(SceneManager.ins.stage[j])
if( SceneManager.ins.stage[j]){
if(SceneManager.ins.stage[j].getChildMeshes){
SceneManager.ins.stage[j].getChildMeshes(false,(child)=>{
child.dispose();
});
}
if( SceneManager.ins.stage[j].dispose){
SceneManager.ins.stage[j].dispose()
}
}
}*/
SceneManager
.
ins
.
stage
=
display
;
}
/* public change(module){
// console.log(this._stage._children)
if(this.stage._children){
this.stage._children.forEach(function (child) {
this.stage.removeChild(child)
child.dispose()
}.bind(this))
}
this.stage.addChild(module)
// console.log( this._scene)
}*/
}
\ No newline at end of file
.history/src/manager/SceneManager_20180703121911.ts
0 → 100644
View file @
fe924dd3
export
class
SceneManager
{
public
stage
;
private
_scene
:
BABYLON
.
Scene
;
private
_canvas
;
private
_engine
;
private
static
instance
:
SceneManager
;
public
static
get
ins
():
SceneManager
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
SceneManager
();
}
return
this
.
instance
;
}
constructor
(){
this
.
_canvas
=
document
.
querySelector
(
"#renderCanvas"
);
this
.
_engine
=
new
BABYLON
.
Engine
(
this
.
_canvas
,
true
);
var
createScene
=
function
(){
{
var
scene
=
new
BABYLON
.
Scene
(
this
.
_engine
);
//下面的代码是为了设置微信上面的touch事件兼容
var
n
=
scene
.
_onPointerUp
,
o
=
scene
.
_onPointerDown
,
r
=
scene
.
_onPointerMove
,
a
=
BABYLON
.
Tools
.
GetPointerPrefix
();
this
.
_canvas
.
removeEventListener
(
a
+
"move"
,
r
),
this
.
_canvas
.
removeEventListener
(
a
+
"down"
,
o
),
window
.
removeEventListener
(
a
+
"up"
,
n
),
scene
.
_onPointerUp
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
n
(
e
)
}
,
scene
.
_onPointerDown
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
o
(
e
)
}
,
scene
.
_onPointerMove
=
function
(
e
)
{
void
0
!==
e
.
pointerId
&&
r
(
e
)
}
,
this
.
_canvas
.
addEventListener
(
a
+
"move"
,
scene
.
_onPointerMove
,
!
1
),
this
.
_canvas
.
addEventListener
(
a
+
"down"
,
scene
.
_onPointerDown
,
!
1
),
window
.
addEventListener
(
a
+
"up"
,
scene
.
_onPointerUp
,
!
1
);
//下面的代码是为了设置微信上面的touch事件兼容
var
camera
=
new
BABYLON
.
FreeCamera
(
"baseCamera"
,
new
BABYLON
.
Vector3
(
0
,
0
,
0
),
scene
);
this
.
_engine
.
setHardwareScalingLevel
(
0.6
)
return
scene
;
}
}.
bind
(
this
)
this
.
_scene
=
createScene
();
this
.
_engine
.
runRenderLoop
(
function
()
{
this
.
_scene
.
render
();
TWEEN
.
update
();
}.
bind
(
this
));
window
.
addEventListener
(
"resize"
,
function
()
{
this
.
_engine
.
resize
();
}.
bind
(
this
));
}
/* public get stage(): any {
return this._stage;
}*/
public
get
scene
():
BABYLON
.
Scene
{
return
this
.
_scene
;
}
public
get
canvas
():
any
{
return
this
.
_canvas
;
}
public
get
engine
():
any
{
return
this
.
_engine
;
}
public
change
(
display
){
/* console.log(display)
var i;
for(i in display){
console.log(display[i])
}*/
/* for(var l of SceneManager.ins.scene.meshes){
l.dispose()
} */
SceneManager
.
ins
.
scene
.
meshes
=
[]
/*var j;
for(j in SceneManager.ins.stage){
console.log(SceneManager.ins.stage[j])
if( SceneManager.ins.stage[j]){
if(SceneManager.ins.stage[j].getChildMeshes){
SceneManager.ins.stage[j].getChildMeshes(false,(child)=>{
child.dispose();
});
}
if( SceneManager.ins.stage[j].dispose){
SceneManager.ins.stage[j].dispose()
}
}
}*/
SceneManager
.
ins
.
stage
=
display
;
}
/* public change(module){
// console.log(this._stage._children)
if(this.stage._children){
this.stage._children.forEach(function (child) {
this.stage.removeChild(child)
child.dispose()
}.bind(this))
}
this.stage.addChild(module)
// console.log( this._scene)
}*/
}
\ No newline at end of file
dist/manager/SceneManager.js
View file @
fe924dd3
...
@@ -82,10 +82,10 @@ var SceneManager = /** @class */ (function () {
...
@@ -82,10 +82,10 @@ var SceneManager = /** @class */ (function () {
for(i in display){
for(i in display){
console.log(display[i])
console.log(display[i])
}*/
}*/
for
(
var
_i
=
0
,
_a
=
SceneManager
.
ins
.
scene
.
meshes
;
_i
<
_a
.
length
;
_i
++
)
{
/* for(var l of SceneManager.ins.scene.meshes)
{
var
l
=
_a
[
_i
];
l.dispose()
l
.
dispose
();
} */
}
SceneManager
.
ins
.
scene
.
meshes
=
[];
/*var j;
/*var j;
for(j in SceneManager.ins.stage){
for(j in SceneManager.ins.stage){
console.log(SceneManager.ins.stage[j])
console.log(SceneManager.ins.stage[j])
...
...
dist/manager/SceneManager.js.map
View file @
fe924dd3
{"version":3,"file":"SceneManager.js","sourceRoot":"","sources":["../../src/manager/SceneManager.ts"],"names":[],"mappings":";;AACA;IAgBI;QAEA,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAClD,IAAI,WAAW,GAAC;YACZ;gBAGI,IAAI,KAAK,GAAG,IAAI,OAAO,CAAC,KA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C;QAC1B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAClB,CAAC;IA7DD,sBAAkB,mBAAG;aAArB;YACI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChB,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,EAAE,CAAC;aACtC;YACD,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IA8DD,sBAAW,+BAAK;QAJjB;;YAEI;aAEH;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;;;OAAA;IAED,sBAAW,gCAAM;aAAjB;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IAED,sBAAW,gCAAM;aAAjB;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IAEM,6BAAM,GAAb,UAAc,OAAO;QAClB;;;;YAII;QAEJ;;aAEK;QAEJ,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,GAAC,EAAE,CAAA;QAEhC;;;;;;;;;;;;;WAaG;QACH,YAAY,CAAC,GAAG,CAAC,KAAK,GAAC,OAAO,CAAC;IACnC,CAAC;IAaL,mBAAC;AAAD,CAAC,AAjID,IAiIC;AAjIY,oCAAY"}
\ No newline at end of file
\ No newline at end of file
package.json
View file @
fe924dd3
{
{
"name"
:
"yt"
,
"name"
:
"yt"
,
"version"
:
"1.0.
1
"
,
"version"
:
"1.0.
3
"
,
"description"
:
"基于Babylonjs的3D框架"
,
"description"
:
"基于Babylonjs的3D框架"
,
"main"
:
"./dist/index.js"
,
"main"
:
"./dist/index.js"
,
"types"
:
"./types/index.d.ts"
,
"types"
:
"./types/index.d.ts"
,
...
...
src/manager/SceneManager.ts
View file @
fe924dd3
...
@@ -94,9 +94,11 @@ export class SceneManager{
...
@@ -94,9 +94,11 @@ export class SceneManager{
console.log(display[i])
console.log(display[i])
}*/
}*/
for
(
var
l
of
SceneManager
.
ins
.
scene
.
meshes
){
/*
for(var l of SceneManager.ins.scene.meshes){
l.dispose()
l.dispose()
}
} */
SceneManager
.
ins
.
scene
.
meshes
=
[]
/*var j;
/*var j;
for(j in SceneManager.ins.stage){
for(j in SceneManager.ins.stage){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment