jeromeetienne / threex.geometricglow

a three.js extension to make any object glow at geometric level
http://jeromeetienne.github.io/threex.geometricglow/examples/geometricglowmesh.html
220 stars 38 forks source link

Unresolved variable or type glowMesh #5

Open TsukioAkira opened 8 years ago

TsukioAkira commented 8 years ago

how can i fix this i have all the scripts included in my header and still get this message why?

<script type="text/javascript" src="Js/Detector.js"></script>
<script type="text/javascript" src="Js/jquery.min.js"></script>
<script type="text/javascript" src="Js/dat.gui.min.js"></script>
<script type="text/javascript" src="Js/three.min.js"></script>
<script type="text/javascript" src="Js/leap.min.js"></script>
<script type="text/javascript" src="Js/threex.planets.js"></script>
<script type="text/javascript" src="Js/threex.atmospheredatgui.js"></script>
<script type="text/javascript" src="Js/threex.atmospherematerial.js"></script>
<script type="text/javascript" src="Js/threex.dilategeometry.js"></script>
<script type="text/javascript" src="Js/threex.geometricglowmesh.js"></script>
<script type="text/javascript" src="Js/package.require.js"></script>
<script type="text/javascript" src="LeapCameraControls.js"></script>
<script type="text/javascript" src="LeapObjectControls.js"></script>
jeromeetienne commented 8 years ago

do you have the same error when you try the examples/ ?

TsukioAkira commented 8 years ago

i haven't tried yet because I tried out to get a glow around my earth but got this error while coding hehehe

TsukioAkira commented 8 years ago

i have this code right now

            var Atmosphere              = new THREEx.GeometricGlowMesh(earthMesh);
            earthMesh.add(glowMesh.object3d);

            var outsideUniforms         = glowMesh.insideMesh.material.uniforms;
            outsideUniforms.glowColor.value.set('babyblue');

this should be correct but i get the unresolved error at the glowMesh

w9914420 commented 7 years ago

@TsukioAkira did you manage to resolve this issue?