Create random floor generator
![create random floor generator create random floor generator](https://cdn.flippednormals.com/wp-content/uploads/2020/06/09130739/floorPatternGenerator.jpg)
- CREATE RANDOM FLOOR GENERATOR GENERATOR
- CREATE RANDOM FLOOR GENERATOR CODE
- CREATE RANDOM FLOOR GENERATOR PROFESSIONAL
So, from POV, I prefer to have, for example, a premaded node setup where I have at the beginning 3 texture map nodes already connected with each other. You are the coder, so it’s your time to spend on it, but from my POV it’s more interesting to offer a quick photorealistic solution that obviously use textures.įor example if you see the Arroway textures you can see different maps for different channels (diffuse, bump,specular) and like this many others.
CREATE RANDOM FLOOR GENERATOR PROFESSIONAL
I already know why, but I didn’t find it important enough to fix it can clearly understand what you suggest but if the material hasn’t got photorealistic eye-look I doubt that someone use it for any professional purpose. PS> I know there is a bug: if there is any twist or curvature added, there should be a subsurf modifier but it doesn t appear.
CREATE RANDOM FLOOR GENERATOR CODE
Some code cleanup wouldn’t hurt neitherĪfter that I would like to get started in Ace_Dragon’s proposed features (snap planks to another object) The next step I think will be to focus on bug and maybe some proper documentation in the Blender wiki.
![create random floor generator create random floor generator](https://static.food4rhino.com/s3fs-public/styles/large/public/users-files/hellguz/app/revisiting_ideas16.jpg)
So please experiment away, I really like the feedback. This allows for a far more subtle ‘old’ look than just rotations. There is also new functionality: apart form individual random rotations it is now also possible to add random curvature (both along and across the planks) and twist. I added an extra operator so it is still possible to create a floor board via the add->mesh->floorboard without the need to convert an existing mesh object It is fully parameterized and has the ui bugs fixed (thanks floric and alain). Startlength=random.Version 0.0.8 is available an documented (sort of Startlength=random.randint(2,20)*maxlength/20 Randomlength = random.randint(minlength,maxlength) Gapwidth = rs.GetReal("enter gap width", 2) Minlength = rs.GetReal("enter plank min length",700) Maxlength = rs.GetReal("enter plank max length",2000) Width=rs.GetReal("enter plank width",140) Rs.RotateObject(newmesh, center, angle, axis, copy=False)įloorwidth = rs.GetReal("enter floor width size",10000)įloorlength = rs.GetReal("enter floor length size",10000) Rs.RotateObject(newmesh, center, angle, copy=False) ModifyTextureMapping(table,newmesh,1,texmap) RandY=(texWidth-length)*random.uniform(0,1) RandX=(texHeight-width)*random.uniform(0,1) #add mesh to document to apply a texture map Pts2.append(3d(0,0,20))įor i in range(0,len(pts2)):#modify pointsįor pt in pts2:#add points to original points a check to avoid seams on short ends to not come to close togetherįor a, b, c in vertices: (a, b, c) rotation (180 degrees) of textures for more quasi uniqueness making the planks not straight, but this will require denser meshes Planks are, the more it can be randomized Right now a texture size of 2000 x 300 units is chosen. Script will generate floor planks and add random text coordinates to each plank Which is currently not possible vray as far as I know. To work properly and ultimately randomization of the map color per object Would require a multimaterial and ability to assign material IDs to objects
CREATE RANDOM FLOOR GENERATOR GENERATOR
Goal is to make something that looks like floor generator for 3dsmax
![create random floor generator create random floor generator](https://www.ronenbekerman.com/wp-content/uploads/2010/05/floor-generator-Test5.jpg)
To make this work on a surface would require another approach I guess, or do you mean that the size of the area to fill with planks would be controlled by a surface? Rectangular surfaces shouldn’t be too difficult but if it is other than that, it’s becoming complicated quickly.įloor maker script *** work in progress ***