Page 166 of 400

Re: Ask a simple question, get a simple answer

Posted: Sat Nov 19, 2016 11:32 pm
by kelly1111
Can someone please tell me what I did wrong with this floor texture (the lighting problem) ?

http://imgur.com/a/vEieM

Is it the normal map ?

Re: Ask a simple question, get a simple answer

Posted: Sat Nov 19, 2016 11:45 pm
by Isaac
Probably. Is the normal map in object or tangent fashion? (Supposed to be object normals for LoG2)

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 12:06 am
by minmay
Isaac wrote:Probably. Is the normal map in object or tangent fashion? (Supposed to be object normals for LoG2)
You've got it backwards, it should be in tangent space for Grimrock. DXT5nm style for grimrock 2 (X coordinate in green channel, Y coordinate in alpha channel, red and blue channel are ignored).

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 12:23 am
by Isaac
minmay wrote:
Isaac wrote:Probably. Is the normal map in object or tangent fashion? (Supposed to be object normals for LoG2)
You've got it backwards, it should be in tangent space for Grimrock. DXT5nm style for grimrock 2 (X coordinate in green channel, Y coordinate in alpha channel, red and blue channel are ignored).
I already knew it was tangent for Grimrock; I've made them for LoG1 before...

I was under the [false?] impression that LoG2 normal maps were swizzled object normals.

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 12:35 am
by kelly1111
Ok ... trying to get it to work (need some advice again)

http://imgur.com/a/5ctDC

Is this the way ?

gimp did give me some warning about a volume map.

Is there a good toturial around to read into to learn the ropes on this ?

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 12:43 am
by Isaac
kelly1111 wrote:Is there a good toturial around to read into to learn the ropes on this ?
viewtopic.php?f=22&t=8080&p=103867&hili ... ap#p103867

@minmay : Thanks!

I just made a Photoshop Action that makes the NM conversion a one click step. 8-)

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 1:09 am
by Duncan1246
It's probably a silly question, but I need an answer: how can I close an image drawn with context commands? (code in my last post on this thread)

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 1:43 am
by Isaac
Duncan1246 wrote:It's probably a silly question, but I need an answer: how can I close an image drawn with context commands? (code in my last post on this thread)
I've been waiting on an answer from minmay. [Afaik] The player has to click the screen. There does not seem to be a way to call the function to cancel it.

****Edit: I misunderstood you to mean 'drawn with GameMode.showImage()', instead of context commands. :?
As is [was later] posted, a simple condition to skip the drawing command will stop it. Context GUI commands are drawn per frame.

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 1:49 am
by AndakRainor
Duncan1246 wrote:It's probably a silly question, but I need an answer: how can I close an image drawn with context commands? (code in my last post on this thread)
You could remove the connector, or immediately return in your drawing function when some condition is met.

Re: Ask a simple question, get a simple answer

Posted: Sun Nov 20, 2016 1:51 am
by AndakRainor
Does anyone know how the health_regeneration_rate and energy_regeneration_rate stats work? How much health or energy per second do they restore?