Sign in to follow this  
mike74

creating rocks

Recommended Posts

I would like to create some 3d rocks by picking points on a distorted sphere and then computing the convex hull of them. Does anyone have any ideas on how I might distort the sphere? Also, I would like to "unwrap" the triangles of the rock so that they are all on one plane, and I can then figure out texture coordinates easily. Does anyone know how these unwrappings are traditionally done? Mike http://www.coolgroups.com/forum/

Share this post


Link to post
Share on other sites
I want the surface of the rock to be smooth, so I must pick a substantial amount of points. If I do that with a sphere, it will just be pretty much a sphere.

Mike
http://www.coolgroups.com/forum/

Share this post


Link to post
Share on other sites
I've already gone through the trial version of 3ds max, so I can't really use it anymore. I might try learning Blender someday, but I think it has a steep learning curve.

Mike
http://www.coolgroups.com/forum/

Share this post


Link to post
Share on other sites
I would try taking a sphere (with whatever triangulation you like on it) and adding 3D-Perlin noise to the radius of each point. The smoothness of the rock can be adjusted by combining different octaves of the noise with different weights, or by using only a few octaves.

I don't have good advice on how to generate good textures. Maybe just use a cube?

Once you settle on a solution, it would be great if you could post your conclusions and some screenshots.

Share this post


Link to post
Share on other sites
As far as generating texture coordinates goes, there's been some interesting stuff in the latest DXSDK releases for textures atlases and IMTs. Basically a full library for taking a mesh and laying it out flat on a texture, optimizing the texel/polyarea ratio, etc. You'd just need to write a little frontend to load your data and pass it to D3DX.

Share this post


Link to post
Share on other sites
Quote:
Original post by mike74
I might try learning Blender someday, but I think it has a steep learning curve.


Not really. Blender is actually extremely easy to use. Don't let the foolish talk of puny mortals scare you away from what is really a fine piece of software.

Share this post


Link to post
Share on other sites
The more I think about it, the more I think I probably just want to go with some sort of volumetric texture. If you know of any good ones for a rock, please let me know. Also, it would be nice if there was a program that could apply a volumetric texture to an object and then convert it to a 2d texture and texture map it. That way you could save memory. Has anyone heard of such a program?

Mike
http://www.coolgroups.com/forum

Share this post


Link to post
Share on other sites
if u seacrh flipcode 2/3 years ago i posted an image of creating rocks from noise (prolly a description with the images as well)
if u treat the sphere as a cube ie 6 sides u can get '(*)perfect' mapping when u unwrap it

*slight distortion in corners but u have very little texture wastage

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this