Procedural Texture in C#

Ming_Lei

Freshman
Joined
May 6, 2004
Messages
41
Location
Seattle, WA
I have a question. How do you do a procedural texture in Direct3D.
Do you need to implement own functions or there is some functions
in DirectX that I can use to create textures using procedures, such
as marbles, patterns, ect.? :eek:
 
There aren't any noise generation functions in DX, you'll have to implement them on your own. There are a lot of great sources on the net though. Do a Google for Perlin Noise and you'll find a wealth of information.
 
Visual Noise, not audio noise. Procedural textures (marble, clouds, wood grain, etc) are done by combining various noise generators.

This is one of the better resources:
http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

It's a bit math heavy, but if you just want an idea you can scroll through and scan the pictures to get an idea of how it works, and then check out the "Applications of Perlin Noise" section at the bottom for more examples of how it can be used.
 
Back
Top