deprecated moreblocks node definitions #5826

Open
opened 2023-12-25 13:57:30 +00:00 by rewired_X · 18 comments

2023-12-25 08:55:16: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope.obj loaded with 5 mesh buffers but only 1 texture(s) specified, this is deprecated.

`2023-12-25 08:55:16: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope.obj loaded with 5 mesh buffers but only 1 texture(s) specified, this is deprecated.`

2023-12-25 05:04:01: WARNING[Main]: GenericCAO::addToScene(): Model mobs_oerkki.b3d loaded with 2 mesh buffers but only 1 texture(s) specified, this is deprecated.

2023-12-25 05:08:50: WARNING[Main]: GenericCAO::addToScene(): Model water_life_crocodile.b3d loaded with 9 mesh buffers but only 1 texture(s) specified, this is deprecated.

2023-12-25 05:04:01: WARNING[Main]: GenericCAO::addToScene(): Model mobs_oerkki.b3d loaded with 2 mesh buffers but only 1 texture(s) specified, this is deprecated. 2023-12-25 05:08:50: WARNING[Main]: GenericCAO::addToScene(): Model water_life_crocodile.b3d loaded with 9 mesh buffers but only 1 texture(s) specified, this is deprecated.
AliasAlreadyTaken added the
1. kind/bug
label 2023-12-25 16:36:24 +00:00

source/maintenance ?

source/maintenance ?
Member

the croc and oerkki are #5699

the croc and oerkki are #5699
Member

should i fix this in my moreblocks fork, or should we upstream this to the other moreblocks?

should i fix this in my moreblocks fork, or should we upstream this to the other moreblocks?
flux added the
3. source/mod upstream
3. source/art
labels 2023-12-25 19:29:35 +00:00
Member

i created an upstream issue on the original fork in case someone fixes it (so i don't have to learn blender) https://github.com/minetest-mods/moreblocks/issues/203

i created an upstream issue on the original fork in case someone fixes it (so i don't have to learn blender) https://github.com/minetest-mods/moreblocks/issues/203
Author

Triggered again except its a different(?) slope
2024-02-02 19:14:14: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_outer_half.obj loaded with 4 mesh buffers but only 1 texture(s) specified, this is deprecated.

Triggered again except its a different(?) slope `2024-02-02 19:14:14: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_outer_half.obj loaded with 4 mesh buffers but only 1 texture(s) specified, this is deprecated.`
Author

can someone just place me in a room full of slopes
2024-02-03 07:39:21: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_half.obj loaded with 5 mesh buffers but only 1 texture(s) specified, this is deprecated.

can someone just place me in a room full of slopes `2024-02-03 07:39:21: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_half.obj loaded with 5 mesh buffers but only 1 texture(s) specified, this is deprecated.`
Member

can someone just place me in a room full of slopes

that's in the attic of the advanced tutorial

> can someone just place me in a room full of slopes that's in the attic of the advanced tutorial
Author

can someone just place me in a room full of slopes

that's in the attic of the advanced tutorial

oh. in that case I went to there and no new warnings appeared. only after I explore the area around GV/Antarcity/Fanagoria i start getting warnings.

> > can someone just place me in a room full of slopes > > that's in the attic of the advanced tutorial oh. in that case I went to there and no new warnings appeared. only after I explore the area around GV/Antarcity/Fanagoria i start getting warnings.

Is this fixed by flux' moreblocks fork? If so, please add it to the moreblocks milestone.

Is this fixed by flux' moreblocks fork? If so, please add it to the moreblocks milestone.
Member

Is this fixed by flux' moreblocks fork? If so, please add it to the moreblocks milestone.

no, i didn't touch the models, and i'd prefer not to have to if possible...

> Is this fixed by flux' moreblocks fork? If so, please add it to the moreblocks milestone. no, i didn't touch the models, and i'd prefer not to have to if possible...

"fixing" the model would also break other slope nodes.
a slope has 5 sides so the model has 1 material per side assigned, without that slopes like from logs(outside bark, inside wood) wouldn´t be possible.
the correct way is to also define a texture for the other 4 sides even if its the same texture.

"fixing" the model would also break other slope nodes. a slope has 5 sides so the model has 1 material per side assigned, without that slopes like from logs(outside bark, inside wood) wouldn´t be possible. the correct way is to also define a texture for the other 4 sides even if its the same texture.
Member

"fixing" the model would also break other slope nodes.
a slope has 5 sides so the model has 1 material per side assigned, without that slopes like from logs(outside bark, inside wood) wouldn´t be possible.
the correct way is to also define a texture for the other 4 sides even if its the same texture.

it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one.

> "fixing" the model would also break other slope nodes. > a slope has 5 sides so the model has 1 material per side assigned, without that slopes like from logs(outside bark, inside wood) wouldn´t be possible. > the correct way is to also define a texture for the other 4 sides even if its the same texture. it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one.
Member

it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one.

actually i wonder if i can fix this just by specifying the same tile 5 times... hm.

> it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one. actually i wonder if i can fix this just by specifying the same tile 5 times... hm.
flux added this to the flux's TODO list project 2024-02-04 22:47:18 +00:00
flux self-assigned this 2024-02-04 22:47:23 +00:00

the correct way is to also define a texture for the other 4 sides even if its the same texture.

it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one.

please read again

> > the correct way is to also define a texture for the other 4 sides even if its the same texture. > > it's the other way around - the mesh expects 5 textures, but moreblocks is only supplying one. please read again
Author

another one:
2024-03-18 15:10:46: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_half_raised.obj loaded with 6 mesh buffers but only 1 texture(s) specified, this is deprecated.

another one: `2024-03-18 15:10:46: WARNING[Main]: GenericCAO::addToScene(): Model moreblocks_slope_half_raised.obj loaded with 6 mesh buffers but only 1 texture(s) specified, this is deprecated.`
AliasAlreadyTaken added this to the moreblocks milestone 2024-03-18 19:55:11 +00:00
Member

i really don't want to learn how to edit 3d models with blender, but what else can i do? i get the feeling that my first 30 hours of work will be worse than what we've already got.

i really don't want to learn how to edit 3d models with blender, but what else can i do? i get the feeling that my first 30 hours of work will be worse than what we've already got.
Member

I think Bla is right: "fixing" it in blender would be just doing same as this:

diff --git a/models/moreblocks_slope_half.obj b/models/moreblocks_slope_half.obj
index 1fa631c..53f4f1c 100644
--- a/models/moreblocks_slope_half.obj
+++ b/models/moreblocks_slope_half.obj
@@ -10,7 +10,7 @@ vt 1.0000 0.0000
 vn 0.0000 0.8944 -0.4472
 s off
 f 2/1/1 1/2/1 4/3/1 3/4/1
-g bottom
+
 v -0.500000 -0.500000 0.500000
 v 0.500000 -0.500000 0.500000
 v -0.500000 -0.500000 -0.500000
@@ -22,7 +22,7 @@ vt 0.0000 1.0000
 vn 0.0000 -1.0000 -0.0000
 s off
 f 6/5/2 5/6/2 7/7/2 8/8/2
-g right
+
 v -0.500000 -0.000000 0.500000
 v -0.500000 -0.500000 0.500000
 v -0.500000 -0.500000 -0.500000
@@ -32,7 +32,7 @@ vt 1.0000 0.0000
 vn -1.0000 0.0000 0.0000
 s off
 f 9/9/3 11/10/3 10/11/3
-g left
+
 v 0.500000 -0.000000 0.500000
 v 0.500000 -0.500000 0.500000
 v 0.500000 -0.500000 -0.500000
@@ -42,7 +42,7 @@ vt 1.0000 0.0000
 vn 1.0000 0.0000 0.0000
 s off
 f 12/12/4 13/13/4 14/14/4
-g back
+
 v 0.500000 -0.000000 0.500000
 v -0.500000 -0.000000 0.500000
 v -0.500000 -0.500000 0.500000

i.e. removing named vertex groups.

And the result would be:
Screenshot 2024-03-19 092751

Which is not what we want. We want to specify textures for each side manually. So it's the code assigning texture is broken, and not the models.

In other words, it's not the model that's deprecated, but not specifying number of textures equal to number of "mesh buffers" is deprecated.

(I can't trigger the warning, either by placing slopes down or putting them into item frames, so I can't really confirm that warning is gone with this change, but it must be.)

I think Bla is right: "fixing" it in blender would be just doing same as this: ```diff diff --git a/models/moreblocks_slope_half.obj b/models/moreblocks_slope_half.obj index 1fa631c..53f4f1c 100644 --- a/models/moreblocks_slope_half.obj +++ b/models/moreblocks_slope_half.obj @@ -10,7 +10,7 @@ vt 1.0000 0.0000 vn 0.0000 0.8944 -0.4472 s off f 2/1/1 1/2/1 4/3/1 3/4/1 -g bottom + v -0.500000 -0.500000 0.500000 v 0.500000 -0.500000 0.500000 v -0.500000 -0.500000 -0.500000 @@ -22,7 +22,7 @@ vt 0.0000 1.0000 vn 0.0000 -1.0000 -0.0000 s off f 6/5/2 5/6/2 7/7/2 8/8/2 -g right + v -0.500000 -0.000000 0.500000 v -0.500000 -0.500000 0.500000 v -0.500000 -0.500000 -0.500000 @@ -32,7 +32,7 @@ vt 1.0000 0.0000 vn -1.0000 0.0000 0.0000 s off f 9/9/3 11/10/3 10/11/3 -g left + v 0.500000 -0.000000 0.500000 v 0.500000 -0.500000 0.500000 v 0.500000 -0.500000 -0.500000 @@ -42,7 +42,7 @@ vt 1.0000 0.0000 vn 1.0000 0.0000 0.0000 s off f 12/12/4 13/13/4 14/14/4 -g back + v 0.500000 -0.000000 0.500000 v -0.500000 -0.000000 0.500000 v -0.500000 -0.500000 0.500000 ``` i.e. removing named vertex groups. And the result would be: ![Screenshot 2024-03-19 092751](/attachments/becbb047-0515-4ced-b8cf-bd4755c60541) Which is not what we want. We want to specify textures for each side manually. So it's the code assigning texture is broken, and not the models. In other words, it's not the _model_ that's deprecated, but not specifying number of textures equal to number of "mesh buffers" is deprecated. (I can't trigger the warning, either by placing slopes down or putting them into item frames, so I can't really confirm that warning is gone with this change, but it must be.)
whosit changed title from deprecated moreblocks slope model to deprecated moreblocks node definitions 2024-03-19 06:48:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#5826
No description provided.