Page 1 of 1

[Demo Mod] Irregular 3D Objects

PostPosted: Sat Jun 23, 2012 06:59
by Jeija
Ok, you cannot actually call this irregular, but at least it is not just a cuboid.
In this Demo Mod several cuboids make up a whole 3D structure, such as a slope:
Image

If you get close you may see the single cuboids (zoom in!)
Image


Good for building roofs!
Image

Cylinder/Barrels (Sinve Version 2)
Someone good at makeing an oil barrel Texture?
Image
Image
Image
Image


Download
Version 1
Version 2

To get the items, use:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme irregular:test1
and
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme irregular:test2

(since version2)
- They cannot be crafted since this is just a demo for now -

Next Irregular-3d-objects Challenges:
?

PostPosted: Sat Jun 23, 2012 09:31
by xyz
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
FIXME: Meshbuffer ran out of indices
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.
Too many vertices for 16bit index type, render artifacts may occur.

After placing many test2 objects there are funny glitches!

PostPosted: Sat Jun 23, 2012 09:32
by Jeija
Yes, but you have to place a lot of them. You can also use less details (detail=50)

PostPosted: Sat Jun 23, 2012 14:37
by xyz
Jeija wrote:Yes, but you have to place a lot of them. You can also use less details (detail=50)

I have placed ~10-15 and then that occured.

PostPosted: Sat Jun 23, 2012 14:38
by Calinou
I use detail 32 for circles/slopes, looks good and doesn't use too many vertices (still a lot :P).

PostPosted: Sat Jun 23, 2012 14:57
by sfan5
Nice!

PostPosted: Sun Jun 24, 2012 09:15
by hijera
good! what's about torus, spheres, cones and pyramids?

PostPosted: Sun Jun 24, 2012 10:04
by Jeija
I tried spheres.. It basically works, but it is pretty hard, because you need a lot of cuboids for this: The game crashes.

PostPosted: Sun Jun 24, 2012 11:45
by Calinou
Could we have at least very simple spheres? Would be possible. :P

PostPosted: Sun Jun 24, 2012 12:11
by Jeija
Honestly, these spheres are horrible. They have only 10x10x10 blocks and look more like a cube.

PostPosted: Sun Jan 06, 2013 13:50
by yves_de_beck
Hey Jeija,

Maybe you can help me.
I'll need mathematical function to create a node_box with only 90 degrees / a quarter from a bow for my noncubic blocks mod.

I have experimented a lot with your cylinder / barrel function. But less than 180 ° is not possible. or I'm too stupid to understand how it works properly.



do you have any idea?

PostPosted: Sun Jan 06, 2013 14:10
by 4aiman
Maybe some lower resolution would do?
Minetest is blocky and so may be the spheres and slopes and cylinders.
Did anyone play Dwarves game for the minetest? Trees there are cylinders, however, "lores" ones. :)