Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1ccc64
commit 0066bd7
Showing
11 changed files
with
374 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, this enables me to convert some weird complex nodeboxes to some static meshes which can use less vertexes/edges/faces. And that was intended to speedup the game.
Am I right or do I miss something about it?
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right, but the vertex/triangle count stays the same. No mesh optimization or duplicate removals are done.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Calinou
It seems you've got me wrong.
What I meant was:
Statement: I Can I create a model of a triangular pyramid and use it instead of a nodebox.
Question: Will there be only 4 vertexes or MT will try to "convert" my model to a nodebox thus making thousands of vertexes (like in more blocks mod)?
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jordach
Did you try to use this feature?
I've tried but MT draws a cube instead an acyual model.
I've used *.x and *.3ds formats...
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4aiman I'm sure you are, but are you using a fresh version? I've been using the daily PPA for Ubuntu and have had the meshes working for a while. I'm using OBJ format on my models.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using VanessaE's slopes in the More Blocks branch, which are 3D models in .obj format.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Calinou, does that count as an answer to you? :)
I've asked about the engine's behaviour. You've told me what you're using.
Or was that 'yes' for the first part of my message? :)
@NathanSalapat
I thought I was using the 2-days-old build. Turned out I was wrong.
But now I have a different problem: models are too big. Is there any way to control that?
@Calinou where can I find that moreblocks of Vanessa to find out about meshnode drawtype more?
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if you can control the scale in the lua, but a cube 1x1x1 in Blender is the same size as a block in minetest.
This might be the moreblock thing @Calinou is referencing. https://forum.minetest.net/viewtopic.php?f=9&t=10428
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4aiman: Meshes are useing .obj, not .x or .3ds. In Minetest your "triangular pyramid" Tetrahedron? will also have just 4 vertices like in Blender. This is the new of this commit. You can scale the mesh in blender or in your mod with visual_scale like every other node. Check out VanessaE's slope_test mod.
@NathanSalapat: 1 Blender unit = 0.1 Minetest unit. The Blender Default Cube has 2x2x2 blender units.
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RHRhino: Meshes CAN use all of those - tested and working. Also, please, if you suggest looking for smth, then provide a link to it - just like NathanSalapat did :)
Blender unit = 0.1 minetest unit? Are you serious? Try to export to b3d and see the difference. Please, don't say what you just did without pointing out that there are at least 3 types of units in blender and that some exporterter still treat 1BU as a 1m.
@NathanSalapat: Thanks a lot!
0066bd7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RHRhino: 1 blender unit is scaled to one Minetest unit now.
Unfortunately I don't think this scaling is done for entity meshes.