Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Generating UV map texture from 3d "perlin" noise function

Author
Message
Mr Tank
22
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 27th Dec 2006 03:32 Edited at: 29th Dec 2006 05:17
This utilises code by Avan Madisen posted in the follwing thread for generating 3d textures. Thanks matey.

http://forum.thegamecreators.com/?m=forum_view&t=68590&b=6

In the above, a texture is generated for a sphere.
In this, it uses an arbitrary mesh, rendering the texture for each triangle in the mesh onto the uv map loaded with the object. The texture is saved out as a bitmap at the end.
You can give it whatever mesh and it will generate the appropriate texture. You need to do the uv map first- i used lithunwrap. You should make sure that parts of the object do not overlap in uv space.
A nice thing with using a specified uv map is that you can add this effect as a layer over another texture in photoshop etc.

You can watch the object get textured as the uv map is drawn. It takes a while to do- perhaps i can speed it up with the "pointer" bitmap stuff rather than "dot"

Also, i'm pretty sure that software must already exist to do what this does and much better. If someone can sort me out with a link to something that's be nice.


You'll be able to click on this someday.

Attachments

Login to view attachments
Mr Tank
22
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 29th Dec 2006 05:19
Here's a picture of the texture halfway through being drawn.


You'll be able to click on this someday.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-26 17:33:27
Your offset time is: 2024-11-26 17:33:27