[closed] simple and slow shadows [shadows]

User avatar
Hybrid Dog
Member
 
Posts: 2734
Joined: Thu Nov 01, 2012 12:46

[closed] simple and slow shadows [shadows]

by Hybrid Dog » Sat Feb 22, 2014 21:43

lag
Last edited by Hybrid Dog on Mon Nov 16, 2015 18:55, edited 4 times in total.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
Novacain
Member
 
Posts: 285
Joined: Sat Aug 31, 2013 01:03
Location: Skaaro

by Novacain » Sun Feb 23, 2014 00:44

looks like the kilngon pain stick makes its return.
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

User avatar
rubenwardy
Moderator
 
Posts: 6015
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
Inocudom
Member
 
Posts: 3080
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Feb 23, 2014 01:24

This is a very wonderful experiment here, Hybrid Dog. I am curious to see how this turns out.

How could this be achieved with artificial light sources and lava?
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

jin_xi
Member
 
Posts: 165
Joined: Mon Jul 02, 2012 18:19
 

User avatar
Hybrid Dog
Member
 
Posts: 2734
Joined: Thu Nov 01, 2012 12:46

by Hybrid Dog » Wed Mar 05, 2014 20:06

I updated this mod.
— global_step is used → less lag
— sunlight propagates is used instead of a dark texture, so smooth lighting needs to be disabled
— shadows are only calculated at the chunk where the player stands in yet
— they are shown not only on the ground
Last edited by Hybrid Dog on Wed Mar 05, 2014 20:09, edited 1 time in total.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
Enke
Member
 
Posts: 469
Joined: Fri Nov 15, 2013 02:56
Location: The internet
GitHub: NANOsoldierEnke
IRC: Enke
In-game: Enke

by Enke » Thu Mar 06, 2014 00:47

Huh. Interesting.
Last edited by Enke on Thu Mar 06, 2014 00:47, edited 1 time in total.
Lush8
ExtraVars for Red Eclipse

<Anarchid> my turn was still the most awesome, yielding all the cripples, two captured paranormals, and death rate of about 30%
<ORCACommander> Anarchid: you need to work harder
<ORCACommander> I am hereby putting you under review until you can increase the casualty rate
 

User avatar
paramat
Developer
 
Posts: 3580
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat
 

Cyberpangolin
Member
 
Posts: 16
Joined: Sat Dec 20, 2014 15:48
In-game: Cyberpangolin

Re: [closed] simple and slow shadows [shadows]

by Cyberpangolin » Mon Sep 28, 2015 08:01

I wanted to try it, but it didn't work. Here is the log...

Code: Select all
2015-09-28 09:57:10: ERROR[main]: ServerError: Runtime error from mod 'shadows' in callback environment_Step(): /home/moi/.minetest/mods/vector_extras/init.lua:619: table index is nil
2015-09-28 09:57:10: ERROR[main]: stack traceback:
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/vector_extras/init.lua:619: in function 'set_data_to_pos'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:72: in function 'is_hard'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:87: in function 'shadow_here'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:131: in function 'update_chunk'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:188: in function 'update_chunks'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:212: in function </home/moi/.minetest/mods/shadows/init.lua:198>
2015-09-28 09:57:10: ERROR[main]:    /usr/share/minetest/builtin/game/register.lua:355: in function </usr/share/minetest/builtin/game/register.lua:335>


Maybe it has something to do with the s in "chunk" but I'm not sure at all.

0.4.13
Youtuber (en français / in french ): [url]youtube.com/cyberpangolin[/url]
Not anymore im english, not enough time. Sorry guys...
Regularly seen on the Minetestforfun server: http://minetestforfun.com/
 

User avatar
Hybrid Dog
Member
 
Posts: 2734
Joined: Thu Nov 01, 2012 12:46

Re: [closed] simple and slow shadows [shadows]

by Hybrid Dog » Wed Sep 30, 2015 15:37

Cyberpangolin wrote:I wanted to try it, but it didn't work. Here is the log...

Code: Select all
2015-09-28 09:57:10: ERROR[main]: ServerError: Runtime error from mod 'shadows' in callback environment_Step(): /home/moi/.minetest/mods/vector_extras/init.lua:619: table index is nil
2015-09-28 09:57:10: ERROR[main]: stack traceback:
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/vector_extras/init.lua:619: in function 'set_data_to_pos'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:72: in function 'is_hard'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:87: in function 'shadow_here'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:131: in function 'update_chunk'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:188: in function 'update_chunks'
2015-09-28 09:57:10: ERROR[main]:    /home/moi/.minetest/mods/shadows/init.lua:212: in function </home/moi/.minetest/mods/shadows/init.lua:198>
2015-09-28 09:57:10: ERROR[main]:    /usr/share/minetest/builtin/game/register.lua:355: in function </usr/share/minetest/builtin/game/register.lua:335>


Maybe it has something to do with the s in "chunk" but I'm not sure at all.

0.4.13

thanks for informing me, l fixed it.
https://github.com/HybridDog/shadows/co ... 2843f643fe

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 


Return to WIP Mods



Who is online

Users browsing this forum: CalebJ and 3 guests