Error trying to run Surface explorer locally

13 views
Skip to first unread message

Ricardo Alves Mosqueira

unread,
Jan 17, 2012, 12:50:04 PM1/17/12
to PhiloGL
Hello,

I'm trying to run Surface Explorer locally but the alert "There was an
error while creating the WebGL application" appears! I tried to run
other examples and they worked fine. Can anybody help me?

Thanks,

Ricardo.

Nicolas Garcia Belmonte

unread,
Jan 17, 2012, 4:28:38 PM1/17/12
to phi...@googlegroups.com
try putting the code behind a web server

if you can have command line you can do python -m SimpleHTTPServer on
the folder and a server will run on that folder.

--
Nicolas Garcia Belmonte - http://philogb.github.com/

Ricardo Alves Mosqueira

unread,
Jan 18, 2012, 10:44:10 AM1/18/12
to PhiloGL
How do I do this?

On 17 jan, 19:28, Nicolas Garcia Belmonte <phil...@gmail.com> wrote:
> try putting the code behind a web server
>
> if you can have command line you can do python -m SimpleHTTPServer on
> the folder and a server will run on that folder.
>
> On Tue, Jan 17, 2012 at 9:50 AM, Ricardo Alves Mosqueira
>

Ricardo Mosqueira

unread,
Jan 18, 2012, 1:03:00 PM1/18/12
to PhiloGL
Do the files surface.vs.glsl, surface.fs.glsl and graph-compute.js must be in the project folder?

2012/1/18 Ricardo Alves Mosqueira <guep...@gmail.com>



--
Ricardo Alves Mosqueira

Nicolas Garcia Belmonte

unread,
Jan 18, 2012, 1:28:29 PM1/18/12
to phi...@googlegroups.com
yes

--

Ricardo Mosqueira

unread,
Jan 18, 2012, 1:43:26 PM1/18/12
to phi...@googlegroups.com
But how do I create a file .glsl?

2012/1/18 Nicolas Garcia Belmonte <phi...@gmail.com>



--
Ricardo Alves Mosqueira
Message has been deleted

Nicolas Garcia Belmonte

unread,
Jan 18, 2012, 2:05:23 PM1/18/12
to phi...@googlegroups.com
Hi Ricardo,

There's a pretty high entry barrier for getting familiar with WebGL in
general, and although PhiloGL helps lower that bar, I think you will
still need to learn other things which are required to understand how
this project works first.

I would recommend reading a javascript book (Javascript patterns) and
or follow an OpenGL/WebGL tutorial before working with this project
(Nehe tutorials for example are pretty good http://nehe.gamedev.net/):

Once you're familiar with both things then it will be much easier for
me to help you with this project and get what you want accomplished :)

Thanks,

On Wed, Jan 18, 2012 at 10:49 AM, Ricardo Mosqueira <guep...@gmail.com> wrote:
> And also, I'm using Apache Tomcat 7! Isn't it the same as put the code
> behind a web server?
>
>
> 2012/1/18 Ricardo Mosqueira <guep...@gmail.com>

Ricardo Alves Mosqueira

unread,
Jan 30, 2012, 10:26:29 AM1/30/12
to PhiloGL
Hi,

It's is working fine on Google Chrome, but in Firefox all I get is a
white rectangle?
Can you help me?

Thanks,

On 18 jan, 17:05, Nicolas Garcia Belmonte <phil...@gmail.com> wrote:
> Hi Ricardo,
>
> There's a pretty high entry barrier for getting familiar with WebGL in
> general, and although PhiloGL helps lower that bar, I think you will
> still need to learn other things which are required to understand how
> this project works first.
>
> I would recommend reading a javascript book (Javascript patterns) and
> or follow an OpenGL/WebGL tutorial before working with this project
> (Nehe tutorials for example are pretty goodhttp://nehe.gamedev.net/):
>
> Once you're familiar with both things then it will be much easier for
> me to help you with this project and get what you want accomplished :)
>
> Thanks,
>
>
>
>
>
>
>
>
>
> On Wed, Jan 18, 2012 at 10:49 AM, Ricardo Mosqueira <gueps...@gmail.com> wrote:
> > And also, I'm using Apache Tomcat 7! Isn't it the same as put the code
> > behind a web server?
>
> > 2012/1/18 Ricardo Mosqueira <gueps...@gmail.com>
>
> >> But how do I create a file .glsl?
>
> >> 2012/1/18 Nicolas Garcia Belmonte <phil...@gmail.com>
>
> >>> yes
>
> >>> On Wed, Jan 18, 2012 at 10:03 AM, Ricardo Mosqueira <gueps...@gmail.com>
> >>> wrote:
> >>> > Do the files surface.vs.glsl, surface.fs.glsl and graph-compute.js must
> >>> > be
> >>> > in the project folder?
>
> >>> > 2012/1/18 Ricardo Alves Mosqueira <gueps...@gmail.com>
Reply all
Reply to author
Forward
0 new messages