Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (855)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Light/LightBulb Basic Java  (Read 2063 times)
0 Members and 1 Guest are viewing this topic.
Offline team22

Junior Newbie

« Posted 2012-12-05 10:59:44 »

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?

Tom ("Team22")

Offline Cero
« Reply #1 - Posted 2012-12-05 14:59:46 »

"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

Offline Jimmt
« League of Dukes »

JGO Kernel

Medals: 167
Projects: 5
Exp: 6 years

« Reply #2 - Posted 2012-12-06 03:59:17 »

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.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline cheatsguy

Junior Devvie

Medals: 3

Gamer turned Pixel Artist turned Programmer

« Reply #3 - Posted 2012-12-06 14:44:51 »

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

Busy between school, work, life, games, programming and general screwing around.
If you'd like some pixel art for your game, send me a PM, i'll see what I can do.
Current project:
Offline team22

Junior Newbie

« Reply #4 - Posted 2012-12-06 19:43:28 »

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?

Pages: [1]
  ignore  |  Print  

EgonOlsen (1569 views)
2018-06-10 19:43:48

EgonOlsen (1549 views)
2018-06-10 19:43:44

EgonOlsen (1142 views)
2018-06-10 19:43:20

DesertCoockie (1569 views)
2018-05-13 18:23:11

nelsongames (1173 views)
2018-04-24 18:15:36

nelsongames (1558 views)
2018-04-24 18:14:32

ivj94 (2315 views)
2018-03-24 14:47:39

ivj94 (1524 views)
2018-03-24 14:46:31

ivj94 (2611 views)
2018-03-24 14:43:53

Solater (881 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!