Time |
Nick |
Message |
03:35 |
|
blaise joined #minetest-mods |
03:48 |
|
Siva_Machina joined #minetest-mods |
08:34 |
|
Siva joined #minetest-mods |
08:39 |
|
Siva_Machina joined #minetest-mods |
10:14 |
|
T4im joined #minetest-mods |
10:14 |
|
T4im left #minetest-mods |
10:34 |
|
blaise joined #minetest-mods |
12:25 |
|
Siva joined #minetest-mods |
12:28 |
|
Siva_Machina joined #minetest-mods |
14:07 |
|
Wuzzy joined #minetest-mods |
15:00 |
|
ElectronLibre joined #minetest-mods |
16:06 |
|
Siva joined #minetest-mods |
17:00 |
|
Siva_Machina joined #minetest-mods |
18:14 |
|
silur joined #minetest-mods |
18:14 |
silur |
hi |
18:14 |
silur |
i need somebody to help me importing a textured 3D model to my mod |
18:17 |
|
Siva joined #minetest-mods |
18:19 |
|
Cryterion joined #minetest-mods |
18:21 |
silur |
anyone? |
18:29 |
ElectronLibre |
You want to use a 3d model inside a mod, right? |
18:29 |
ElectronLibre |
For a nodemesh or an entity? |
18:34 |
silur |
yes i made a 3D model with blender |
18:34 |
silur |
the size is between the 1,1,1 size limit |
18:34 |
silur |
exported into an obj file |
18:35 |
silur |
then register_node with drawtype="mesh" and mesh="mymesh.obj" |
18:35 |
ElectronLibre |
Ok. Do you want to use it for a node or an entity? |
18:35 |
silur |
for a node |
18:35 |
ElectronLibre |
Ok, a meshnode. |
18:35 |
silur |
but all i see is a purple like box |
18:36 |
ElectronLibre |
Did you set a texture to the node? |
18:36 |
silur |
yes i UV textured into a separate png file but I'm not using it yet in the lua |
18:36 |
ElectronLibre |
If you applied any texture on the object (in blender) it won't be shown, you need to specify the texture in the lua definition. |
18:37 |
ElectronLibre |
Add tiles = {"my_tile_image.png"}, in the node definition. |
18:38 |
silur |
but my mesh is just a box, if I add tiles = then my UV texture gets wrapped on 6 sides of the cube :\ |
18:38 |
silur |
it's not rendering my custom mesh, just a box |
18:38 |
ElectronLibre |
That's peculiar. |
18:38 |
ElectronLibre |
Let me check a node definition using meshes, maybe there's a parameter I forgot about.. |
18:40 |
ElectronLibre |
Could you use a paste service to give me the piece of code containing your "minetest.register_node" please? |
18:42 |
silur |
http://pastebin.com/p8ppvKpV |
18:42 |
silur |
models/test.obj exists |
18:44 |
ElectronLibre |
Well, I really do not see.. The only explanation I have is that you obj file was badly exported and may not work. |
18:45 |
ElectronLibre |
You should try to export it again, or try another format, like .x or .b3d. |
19:01 |
|
Siva_AndroIRC joined #minetest-mods |
19:46 |
|
rubenwardy joined #minetest-mods |
20:05 |
|
LazyJ joined #minetest-mods |
20:42 |
|
ElectronLibre left #minetest-mods |
21:01 |
|
rubenwardy joined #minetest-mods |
21:20 |
|
Wuzzy joined #minetest-mods |
21:43 |
|
Siva_AndroIRC joined #minetest-mods |