Search found 7 matches

Return to advanced search

code vs lua and custom worldgen

on this fourm there have been a few and i'm 1 that have been trouble with block gen in lua mainly the speed of script. I think there should be few different forms of block gen that are implement in the minetest code that lua can acess. The lua api that should be added to minetest 1. chunk gen ( a fu...
by alien58
Tue Jul 03, 2012 10:23
 
Forum: Partly official engine development
Topic: code vs lua and custom worldgen
Replies: 1
Views: 1034

useing notepad++ as lua editor

I have been looking for a good editor and i have found notepad++. spend a hour or two working out how to add syntax highlighting and syntax folding. Auto completion is next to work out.

did some one made a lua script editor for minetest?
by alien58
Wed Jun 13, 2012 02:46
 
Forum: WIP Mods
Topic: useing notepad++ as lua editor
Replies: 9
Views: 5658

after a little bit of thinking you could use occlusion culling with no filled chunks ie. chunks with some block in it. IF 1 or more of it sides are filled with a none transparent blocks. You can use that side for occusion box check. This sides check should be only use on chunks that are close to th...
by alien58
Sun Jun 03, 2012 23:03
 
Forum: Partly official engine development
Topic: optimization of the chunks that needs to be displayed
Replies: 8
Views: 2107

celeron55... I change a few textures to transparent just to see what you do for occlusion culling because i could not work out a way of useing chunks for culling. After a little while of running around looking at chunk loading / unloading then it hit me. I have to say who every made that form of cul...
by alien58
Fri Jun 01, 2012 01:13
 
Forum: Partly official engine development
Topic: optimization of the chunks that needs to be displayed
Replies: 8
Views: 2107

lua is not that hard the way i do it. just copy and paste the code you want then change the veribles.

I spend over 1 hour adding charcoal to minetest useing a old mod then converting over to the new format.
I think time well spend no need to hunt for coal when starting a new world.
by alien58
Wed May 30, 2012 01:00
 
Forum: Partly official engine development
Topic: optimization of the chunks that needs to be displayed
Replies: 8
Views: 2107

LolManKuba it may be normal but for speed there should not be drawned. here is a breakdown of the optimization -- keep all chunk within 1 range of the player loaded -- add player chunk to list of chunks to check plus a verible to store a counter. starting counter = 1 -- For every item in the list --...
by alien58
Wed May 30, 2012 00:32
 
Forum: Partly official engine development
Topic: optimization of the chunks that needs to be displayed
Replies: 8
Views: 2107

optimization of the chunks that needs to be displayed

first off i'm not very good with c but have many years useing basic ( darkbasic pro ). The overview of the optimization is simple to reduce the number of chunks that need to do display within the range of the player. This was of displaying is wasteful what i mean there are chunks that you can not ge...
by alien58
Tue May 29, 2012 15:46
 
Forum: Partly official engine development
Topic: optimization of the chunks that needs to be displayed
Replies: 8
Views: 2107

Return to advanced search