Main Menu

lightmaps

Started by Tibbar, February 28, 2004, 05:28:12 PM

Previous topic - Next topic

Tibbar

Is there a way to have multiple UV coordinates for objects such that you can tile a brick texture, but also stretch out a single light map on that surface?  How would you recommend doing lightmaps?  Thanks.

EgonOlsen

We had a little discussion about how to do lighting in jPCT here:

http://www.jpct.net/forum/viewtopic.php?t=70

As you can see from the thread above, lightmaps (or multiple u/v-coordinates) are not supported ATM. You may ask yourself, why both features you asked for are not present in the current version. Maybe this thread can answer this:

http://www.jpct.net/forum/viewtopic.php?t=89

Hope this helps.

Tibbar

Thanks for the fast reply.  Although it's too bad sw rendering can't do everything  :wink: I think jPCT is still great in that you don't have to download any plugins in order to get a little 3D.

rolz

Helge,

I see the thread is way too old, but can you please add support for these features, at least for hardware renderer  ?
Regards,
Andrei

EgonOlsen

Quote from: "rolz"I see the thread is way too old, but can you please add support for these features, at least for hardware renderer  ?
Hardware only support for multi texturing? I'll see if it fits somehow into jPCT...

rolz

Great !

Basicaly, what i need is to add 'shadows' to the ground for static objects.
It could be also used for 'roads' and spot decorations on the ground.

Additionally, can you please add possibility to use non-linear fog ? What i am looking for is to make fog appear only starting at certain distance (fog of war)

EDIT:

regarding fog, could you please add additional parameter to World.setFogParameters() that would allow to specify 'starting' limit for fog (GL11.GL_FOG_START in LWJGL) ?
Regards,
Andrei

EgonOlsen

Multi texturing for the hardware renderer is on its way...


rolz

Oh it looks very promissing. Can't wait to get my hands on it ;)
Regards,
Andrei