Adding new objects to the project

45 views
Skip to first unread message

Bruno

unread,
Nov 7, 2011, 9:02:19 AM11/7/11
to WebGL Earth Developer Group
Hello,

I'm trying to add new objects to webglearth,i already creat a new
shader with the information for a cube, i compile with no errors, then
i run the project and nothing new apears.

I have this.cubo.draw() just after this.earth.draw()
My cube have the vertices in 1 and -1 cordinates, its centred in
0,0,0.

Can anyone have some ideias about the problem i'm having?

Regards,
Bruno



Petr Sloup - Klokan Technologies GmbH

unread,
Nov 7, 2011, 6:28:52 PM11/7/11
to WebGL Earth Developer Group
Hi,

It's hard to tell what the problem might be. Have you tested your
object in separate environment to verify that it's working ok on it's
own?

Regards,

-----Petr SloupSoftware Engineer - WebGL Earth developer
Klokan Technologies GmbHBahnhofstrasse 9, Baar 6340, SwitzerlandTel:
+41 (0)41 511 26 12Email: in...@klokantech.comWeb: http://www.klokantech.com/

Bruno

unread,
Nov 8, 2011, 6:48:52 AM11/8/11
to WebGL Earth Developer Group
Hello,
I'm using the cube object from webgl lessons i found online, its a
lesson 4 that draw a cube and a piramid.
Instead of trying to create a object from that lesson i started with
halo.js and i creat other objets.

I still dont know why it didnt work with the object like i found in
the lesson, but its working now.

Thanks

On 7 Nov, 23:28, Petr Sloup - Klokan Technologies GmbH
<sloupp...@gmail.com> wrote:
> Hi,
>
> It's hard to tell what the problem might be. Have you tested your
> object in separate environment to verify that it's working ok on it's
> own?
>
> Regards,
>
> -----Petr SloupSoftware Engineer - WebGL Earth developer
> Klokan Technologies GmbHBahnhofstrasse 9, Baar 6340, SwitzerlandTel:
> +41 (0)41 511 26 12Email: i...@klokantech.comWeb:http://www.klokantech.com/
Reply all
Reply to author
Forward
0 new messages