Light/LightBulb Basic Java

Hey all!,

We (my group and I) have a assignment for school and we’d like to ask a question:

Is there a way to make a light(bulb) with JOGL without adding a new library… so using only the basic operations?
(Why no extra library? We have to use basic JAVA and JOGL operation.)

Can anybody help us with this?

Regards,
Tom (“Team22”)

“make a light(bulb)” is really ambiguous.
Are we talking about a 3D model, or an actual light source, or both
what is there in the scene to light ? (because if you just code a light with nothing in there… you know)
but yes its perfectly possible with java and jogl

Cero is right, as far as we’re concerned you can just load a pic of a lightbulb. Obviously we don’t know what your specific assignment is, so it’s up to you to elaborate.

Purely a guess, but I think he is referring to a Light Source, in that case you will need to make a lighting engine.

We mean an actual lightsource, not just a picture XD sorry about that!

For now we just want to figure out how to make a LightSource somewhere in an 3D environment.
A point that emits light (like a lightbulb! XD)

we now how to make ‘environmental’ lighting with glLight, but we can’t make a lightpoint which you can walk by… or around… or whatever.

(we are still newbies)

You said something about lighting engine? could you tell us some more about it, maybe some examples?

grtz