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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kori

Pages: 1 [2]
16
SFML projects / Re: Let There Be Light 2
« on: August 25, 2015, 07:13:45 pm »
I think that this can make shadows very low intense and deformed. 2 light systems will be enought with posibility of deleting unusable lights.

This is my main problem. Does anyone know how to delete light and light Shape? In my opinion there is properly implemented remove function in code, but does nothing, or in some cases there is an error somewhere in QuadTree. Maybe just use ltbl 1.5?

17
SFML projects / Re: Let There Be Light 2
« on: August 25, 2015, 06:33:04 pm »
I just make two light systems, first is normal, second is with modified penubra texture (i just cut out this bright part :D ). But, i don't know how it will be works with more lights on scene (performance).
 Especially, that i can't remove lights (don't know why, just removeLight() not working), so i holding pretty lot of them at once. 


18
SFML projects / Re: Let There Be Light 2
« on: August 24, 2015, 07:20:32 pm »
I have an interesting problem. Normally lights is falling into obiect from side. In side-scroller it's perfect, but how to make a sun light in a top-down game, something like that :

(click to show/hide)
not like that:
 
(click to show/hide)
Illusion of light from above, without this long penubra shadow. Any ideas?

19
SFML projects / Re: Let There Be Light 2
« on: July 11, 2015, 12:48:54 am »
I download the code again, then in C::B change 'Q' and 'q', solve some problems with c++14 standard, and now everything work. Thanks to all!
Ps. If anyone have any exemple code, maybe send me via priv/mail or paste here. It will be propably more helpful than "quick start" on github.

20
SFML projects / Re: Let There Be Light 2
« on: July 10, 2015, 10:18:42 am »
Thanks, but unfortunately no  :-\
But I find something interesting. My folders CMakeFiles/LTBL2.dir/source/ltbl/lighting  and  CMakeFiles/LTBL2.dir/source/ltbl/Quadtree are empty. Maybe this is the problem, now, how to fix it.

21
SFML projects / Re: Let There Be Light 2
« on: July 09, 2015, 06:09:56 pm »
Does anyone here already build LTBL2 under Linux? After succesfull cmake, during "make" i have this error:

Code: [Select]
[size=10pt]Scanning dependencies of target LTBL2
[ 10%] Building CXX object CMakeFiles/LTBL2.dir/source/ltbl/Math.cpp.o
[ 20%] Building CXX object CMakeFiles/LTBL2.dir/source/ltbl/lighting/LightDirectionEmission.cpp.o
In file included from /home/lord/dev/SFM_THOR_BOX2D/LTBL2-master/LTBL2/source/ltbl/lighting/LightSystem.h:3:0,
                 from /home/lord/dev/SFM_THOR_BOX2D/LTBL2-master/LTBL2/source/ltbl/lighting/LightDirectionEmission.cpp:5:
/home/lord/dev/SFM_THOR_BOX2D/LTBL2-master/LTBL2/source/ltbl/quadtree/DynamicQuadtree.h:3:36: fatal error: ltbl/Quadtree/Quadtree.h: Nie ma takiego pliku ani katalogu  // mean no such file or directory
 #include <ltbl/Quadtree/Quadtree.h>
                                    ^
compilation terminated.
make[2]: *** [CMakeFiles/LTBL2.dir/source/ltbl/lighting/LightDirectionEmission.cpp.o] Błąd 1 // mean error1
make[1]: *** [CMakeFiles/LTBL2.dir/all] Błąd 2 // mean error 2
make: *** [all] Błąd 2 //mean error 2 [/size]



thank you in advance :)

Pages: 1 [2]