[OPEN SOURCE] Rock Generator for quick and easy rocks


Easy way to make some rocks
full preview: https://twitter.com/MuraModels/status/1613775374189735936?s=20
hope yall like this!
edit: forgot to mention the video is a outdated version the blend file should have a better version + 4 diff resolutions for ur needs

edit: a fella linked a video by CG Geek who covers a similar process and goes more in depth on how to make these from scratch so here the link!

Rocks (2).blend (933.7 KB)

29 Likes

cool rocks!, I guess you could say this resource rocks!

12 Likes

Seems like you just copied this video. Both seems oddly same. And how is this a “rock generator” I am the one who has to make them not a script that has to. Would be worth those 9 likes if you would make a script to make an actual rock generator.

9 Likes

I made it back in January, it wasn’t copied, just basic knowledge. Also, it’s designed to speed up the workflow. I don’t know what to name it; “generator” seemed alright. I don’t see why you’re hating on this. It’s a free, open-source tool for everyone to use. The video you linked seems to cover the same thing – a basic tutorial. I don’t care about likes; as long as it helps somebody, that’s what matters. :+1:

7 Likes

While I do agree with the criticism I see arround this thread, I find it funny how 50% of criticism is “This resource bad, but if it was good I wouldnt use it anyways lol!”.

Not saying criticising something is bad, but like no one here would use a script to generate rocks in roblox studio as we all know the only way to do this is with CSG and CSG runs horrible, so there fore I think making a thing on blender to make rocks is actually the better way here.

5 Likes

Some people don’t have blender so upload it as rbxm/rbxl too, Please

3 Likes

Think your confused here “Evil @VSCPlays” (Sure are evil) is that by scripts I am saying Python scripts. Blender supports scripts so hey! Why not make a script to generate random rocks?

4 Likes

Ah I see what you mean now, yeah that would actually probably be a better idea.

3 Likes

here a lil thing dunno if it gonna work, havent tested it yet, feel free to edit it to your liking.
but tbh id rather just use [Right click > Randomize Vertices] cuz it just does the same in 2 clicks

import bpy
import random

def move_vertex_randomly(vertex, radius):
    vertex.co.x += random.uniform(-radius, radius)
    vertex.co.y += random.uniform(-radius, radius)
    vertex.co.z += random.uniform(-radius, radius)

random_radius = 0.2

if bpy.context.object and bpy.context.object.type == 'MESH':
    obj = bpy.context.object

    if len(obj.data.vertices) == 8:
        for vertex in obj.data.vertices:
            move_vertex_randomly(vertex, random_radius)

        obj.data.update()

        bpy.ops.mesh.select_all(action='DESELECT')

        bpy.ops.mesh.select_all(action='SELECT')

        bpy.ops.view3d.snap_cursor_to_selected()

        bpy.ops.transform.vert_slide(value=0)

        bpy.ops.mesh.select_all(action='DESELECT')

        obj.data.update()
        
    else:
        print("The active object should be a cube with 8 vertices.")
else:
    print("Please select a mesh object to apply the operation.")
2 Likes

1 Like

This resource really boulders.

3 Likes