@@ -343,12 +343,12 @@ var g_sceneInfo = [
343
343
] ;
344
344
345
345
var g_skyBoxUrls = [
346
- 'assets/GlobeOuter_EM_positive_x.jpg' ,
347
- 'assets/GlobeOuter_EM_negative_x.jpg' ,
348
- 'assets/GlobeOuter_EM_positive_y.jpg' ,
349
- 'assets/GlobeOuter_EM_negative_y.jpg' ,
350
- 'assets/GlobeOuter_EM_positive_z.jpg' ,
351
- 'assets/GlobeOuter_EM_negative_z.jpg'
346
+ '../aquarium/ assets/GlobeOuter_EM_positive_x.jpg' ,
347
+ '../aquarium/ assets/GlobeOuter_EM_negative_x.jpg' ,
348
+ '../aquarium/ assets/GlobeOuter_EM_positive_y.jpg' ,
349
+ '../aquarium/ assets/GlobeOuter_EM_negative_y.jpg' ,
350
+ '../aquarium/ assets/GlobeOuter_EM_positive_z.jpg' ,
351
+ '../aquarium/ assets/GlobeOuter_EM_negative_z.jpg'
352
352
// 'static_assets/skybox/InteriorCubeEnv_EM.png'
353
353
]
354
354
@@ -498,7 +498,7 @@ Scene.prototype.onload_ = function(data, exception) {
498
498
var textures = { } ;
499
499
for ( var name in model . textures ) {
500
500
textures [ name ] = tdl . textures . loadTexture (
501
- 'assets/' + model . textures [ name ] , true ) ;
501
+ '../aquarium/ assets/' + model . textures [ name ] , true ) ;
502
502
}
503
503
// setup vertices
504
504
var arrays = { } ;
@@ -603,7 +603,7 @@ function setShaders() {
603
603
604
604
function loadScene ( name , opt_programIds , fog ) {
605
605
var scene = new Scene ( opt_programIds , fog ) ;
606
- scene . load ( "assets/" + name + ".js" ) ;
606
+ scene . load ( "../aquarium/ assets/" + name + ".js" ) ;
607
607
return scene ;
608
608
}
609
609
@@ -616,7 +616,7 @@ function loadScenes() {
616
616
}
617
617
618
618
function loadPlacement ( ) {
619
- tdl . io . loadJSON ( 'assets/PropPlacement.js' , function ( json , exception ) {
619
+ tdl . io . loadJSON ( '../aquarium/ assets/PropPlacement.js' , function ( json , exception ) {
620
620
if ( exception ) {
621
621
throw exception
622
622
} else {
@@ -656,7 +656,7 @@ function initLightRay(info) {
656
656
*/
657
657
function setupLaser ( ) {
658
658
var textures = {
659
- colorMap : tdl . textures . loadTexture ( 'static_assets/beam.png' ) } ;
659
+ colorMap : tdl . textures . loadTexture ( '../aquarium/ static_assets/beam.png' ) } ;
660
660
var program = createProgramFromTags (
661
661
'laserVertexShader' ,
662
662
'laserFragmentShader' ) ;
@@ -686,7 +686,7 @@ function setupLightRay() {
686
686
}
687
687
688
688
var textures = {
689
- colorMap : tdl . textures . loadTexture ( 'assets/LightRay.png' ) } ;
689
+ colorMap : tdl . textures . loadTexture ( '../aquarium/ assets/LightRay.png' ) } ;
690
690
var program = createProgramFromTags (
691
691
'texVertexShader' ,
692
692
'texFragmentShader' ) ;
@@ -701,7 +701,7 @@ function setupLightRay() {
701
701
}
702
702
703
703
function setupBubbles ( particleSystem ) {
704
- var texture = tdl . textures . loadTexture ( 'static_assets/bubble.png' ) ;
704
+ var texture = tdl . textures . loadTexture ( '../aquarium/ static_assets/bubble.png' ) ;
705
705
var emitter = particleSystem . createParticleEmitter ( texture . texture ) ;
706
706
emitter . setTranslation ( 0 , 0 , 0 ) ;
707
707
emitter . setState ( tdl . particles . ParticleStateIds . ADD ) ;
0 commit comments