Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Let There Be Light 2  (Read 44392 times)

0 Members and 1 Guest are viewing this topic.

Jabberwocky

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Let There Be Light 2
« Reply #30 on: December 19, 2014, 04:56:38 pm »
Cool!  Great to see this committed to github, lolz. 

herrybiscuit

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Let There Be Light 2
« Reply #31 on: January 01, 2015, 12:12:43 am »
is it possible to detect if an object is inside of the shadow? i have not played with this tool yet but i wanted to know before i get my hands dirty.

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Let There Be Light 2
« Reply #32 on: January 01, 2015, 02:55:50 am »
Yes, it is possible to detect if something is in the shadow.
Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

stulleman

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Let There Be Light 2
« Reply #33 on: January 30, 2015, 08:42:20 pm »
Hey just out of curiosity, do know when you will release something we can experiment with?

Pridexs

  • Newbie
  • *
  • Posts: 5
  • Wat.
    • View Profile
    • Email
Re: Let There Be Light 2
« Reply #34 on: February 10, 2015, 10:29:03 pm »
This looks amazing! I messed around with LTBL1 when I was working in a top down shooter a few months back and I really liked it. Can't wait to see this improved version in action!

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Re: Let There Be Light 2
« Reply #35 on: February 10, 2015, 10:54:34 pm »
Might use this in my maze game when the first small release of code we can break turns up. :)   Good work as usual too. :D
I have many ideas but need the help of others to find way to make use of them.

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Let There Be Light 2
« Reply #36 on: February 25, 2015, 01:33:51 pm »
Hi. Nice that you're working on a new version. I'm using LTBL 1 right now and i like it alot. I've gotten it to work quite well but there are some bugs that you have to work around and it takes alot of testing to set it up correctly.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9042
    • View Profile
    • development blog
    • Email
Re: Let There Be Light 2
« Reply #37 on: February 25, 2015, 01:36:53 pm »
Did you try my version of LTBL? Or better yet switch to LTBL2. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Let There Be Light 2
« Reply #38 on: February 25, 2015, 01:46:23 pm »
Did you try my version of LTBL? Or better yet switch to LTBL2. ;)
I didn't think LTBL2 is ready for use yet. I just saw the thread though. And no, i didn't try your version. Mine works, it's just a bit weird to get it to work, and there are no directional lights.

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Let There Be Light 2
« Reply #39 on: February 25, 2015, 01:56:50 pm »
Just checked that github link. He hasn't updated it since he posted it 2 months ago and then he said that "It's NOT ready for use", so i guess i will wait until he develops it further.

yhu420

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • Email
Re: Let There Be Light 2
« Reply #40 on: February 27, 2015, 01:41:04 am »
Holy sh** this looks so nice.. I had never heard of LTBL before that post but damn it looks good.. Is there a "tech demo" available for download somewhere around here?

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: Let There Be Light 2
« Reply #41 on: February 28, 2015, 10:39:14 pm »
Wanna ask one question.
How to make everything on the window darkened except places with light? I have trouble with this..
Infinite insomnia.

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Let There Be Light 2
« Reply #42 on: March 06, 2015, 07:19:35 am »
Hello everyone,

I'm not dead! I have just been busy with some other things lately, but I decided to set aside some time to finish up LTBL2.

A "usable" version is now on GitHub. I haven't tested it extensively, but from the few tests that I did do it looked fine, minus some minor shadow bugs that should get fixed soon.
Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

JohnGreek

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Let There Be Light 2
« Reply #43 on: March 07, 2015, 08:36:23 pm »
Hello, i try to compile your library with CMAKE but i run into std::make_unique error not defined. I did a bit
of research and it turned out that this is an upcoming c++14 function. Instead of injecting a template snippet in every *.h file is there an other way?

My OS is Win7 x64,
I tried with GCC 4.8.0 and 4.8.1.
Should i bother to try with 4.9.0?

Thanks :)
« Last Edit: March 07, 2015, 08:42:19 pm by JohnGreek »

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Let There Be Light 2
« Reply #44 on: March 07, 2015, 08:46:19 pm »
Use a compiler with C++14 support or just add your own implementation.
You can grab STL's implementation (which is what got adopted in C++14 IIRC) from N3656.