[Mod] Animated 3D torches [3d_torch]

User avatar
Calinou
Moderator
 
Posts: 3162
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] Animated 3D torches [3d_torch]

by Calinou » Fri Sep 12, 2014 17:59

Misty wrote:Calinou,
do you think there's a viable way to reduce the number of node boxes it uses?


Yes, you can make good-looking torches with only one nodebox and one node definition.

This is controversial due to wall torches being straight and not being vertically offset, but anyway, here it is.
 

User avatar
Misty
Member
 
Posts: 51
Joined: Sun Jun 16, 2013 02:09

Re: [Mod] Animated 3D torches [3d_torch]

by Misty » Fri Sep 12, 2014 23:34

Calinou,

I looked at your example, and now im wondering if your torch could be ceiling mounted, or placed on the floor.
and how would you get minetest to use a light and particle emitting material on only part of the torch without using a second set of mesh faces for the buring end ?
 

thetoon
Member
 
Posts: 106
Joined: Tue Dec 11, 2012 12:55

Re: [Mod] Animated 3D torches [3d_torch]

by thetoon » Mon Sep 15, 2014 14:53

Calinou wrote:
Misty wrote:Calinou,
do you think there's a viable way to reduce the number of node boxes it uses?


Yes, you can make good-looking torches with only one nodebox and one node definition.

This is controversial due to wall torches being straight and not being vertically offset, but anyway, here it is.


Are nodeboxes mandatory? Wouldn't a mesh (even one mimicing the nodebox version's appearance) be much better from a resources standpoint?
 

User avatar
philipbenr
Member
 
Posts: 1688
Joined: Fri Jun 14, 2013 01:56
Location: United States
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi

Re: [Mod] Animated 3D torches [3d_torch]

by philipbenr » Mon Sep 15, 2014 22:47

True. Not only that, we could remove the whole idea of making a nodebox appearance. Just have a torch that is tilted and have a blender pro (Jordach) try and make a flame.
 

Tsumi
New member
 
Posts: 2
Joined: Mon Sep 15, 2014 11:57

Re: [Mod] Animated 3D torches [3d_torch]

by Tsumi » Tue Sep 16, 2014 17:01

@Semmett9

You should rename Depends.txt to depends.txt because if you run this mod on a linux server the filesystem is case-sensitive and mod fails to load (due it is not able to find depends.txt and then it will not include default mod)
 

MaxPower
Member
 
Posts: 30
Joined: Wed Sep 24, 2014 17:25

Re: [Mod] Animated 3D torches [3d_torch]

by MaxPower » Sun Sep 28, 2014 21:05

Does not work for me on minetest 0.4.10

22:00:43: ERROR[main]: Failed to load and run script from
22:00:43: ERROR[main]: /home/xavier/.minetest/mods/3d_torch/init.lua:
22:00:43: ERROR[main]: /home/xavier/.minetest/mods/3d_torch/init.lua:62: attempt to perform arithmetic on global 'LIGHT_MAX' (a nil value)


/EDIT
stop the game (not minetest) and restart it, and it is working now
 

User avatar
Calinou
Moderator
 
Posts: 3162
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [Mod] Animated 3D torches [3d_torch]

by Calinou » Fri Oct 10, 2014 19:04

Misty wrote:Calinou,

I looked at your example, and now im wondering if your torch could be ceiling mounted, or placed on the floor.


Yes, it can.

thetoon wrote:Are nodeboxes mandatory? Wouldn't a mesh (even one mimicing the nodebox version's appearance) be much better from a resources standpoint?


Currently, meshes require an entity, so they would use more resources.
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 55 guests