Skip to main content

A little help for a beginnger, with the HelloUniverse example...

1 reply [Last post]
michelle_g
Offline
Joined: 2007-05-25

Hello, I'm a begginer and would really like to get some help...
My question is this: I went over some of the examples to some simple java 3d stuff. Among them is the example to the "HelloUniverse" - the rotating cube. I've been trying to change the cube to a sphere, but from some reason, when I switch the code for "new ColorCube" In "new Sphere" - I get nothing. Does anyone know why this is happening?

Also, if anyone has a simple code for a sphere which moves according to a given coordinates (x,y,z), I'd be very greatfull if you could post it... it would help me a lot...

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
lew
Offline
Joined: 2005-04-15

> Hello, I'm a begginer and would really like to get
> some help...
> My question is this: I went over some of the examples
> to some simple java 3d stuff. Among them is the
> example to the "HelloUniverse" - the rotating cube.
> I've been trying to change the cube to a sphere, but
> from some reason, when I switch the code for "new
> ColorCube" In "new Sphere" - I get nothing. Does
> anyone know why this is happening?
>

no lights exists on the scene

see this thread for details:
http://forums.java.net/jive/thread.jspa?messageID=206798