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.

DarkBASIC Discussion / Natural curved textures in Terrain

Author
Message
AJ54
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 19th Feb 2003 04:59
Hello Everyone,

I've reached a point where I need natural looking curves around lakes and other transitional textures on a texturized matrix.. (I'm getting sick of square shaped lakes and such). For the life of me I can't figure out how to achieve this using a texturized matrix. The only way I can think of is to combinine 2 or more textures dynamicly into 1 tile at run time. But before I spend the next 3 months trying to do it this way, my question is, is there a better method? I've looked everywhere the past few days for a method of doing this with no luck.

Thanks in advance...
AJ
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 19th Feb 2003 05:15
if you are talking about a curve of this kind, you are talking about 1 of 2 things, both refering to polygons.

The first is called a spline. You see, an object is defined by a list of verticies which define a list of faces. In normal 3d modeling, the edges of any face are straight. A SPLINE, on the other hand, is a model that is represented by curves, not straight lines, so that you can have a much more accurate geometry.

With that in mind, there will not be the use of splines for 3d games in our lifetime.

The other way to mimick curves is to have lots of poylgons in a curved shape. If you take enough straight lines and arrange then in a circle, it will look circular. So what you want is for your matrix to be very dense, as in have many rows and many columns. Dont forget, your matrix is composed of many triangle faces, and you cannot divide the matrix smaller than these triangles.

if your matrix has enough of those triangle faces, you can move each triangle in such a way that the pattern looks ciruclar, not square. For this, you need a matrix editor, because doing it by hand would kill you. I personally highly recommend Magic World, an amazing matrix editor. Very versitile, it will get your job done. But the short answer to your problem is, make a very dense polygonal matrix, and go from there.
AJ54
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 19th Feb 2003 06:02
Yes I was reffering to making polygon textures and applying them to the terrain. I'm going to check out that Magic World application. Thanks for your help.

AJ

QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 19th Feb 2003 06:47
textures would have nothing to do with how curved it looks...
AJ54
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 19th Feb 2003 06:55
lol didn't put any thought into that response. I meant Shapes not textures.

QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 19th Feb 2003 07:31
and in Magic World, the "brush" that lets you edit the height of matrix areas is in the shape of a circle, so basically whatever you edit will be nice and rooooooound
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 19th Feb 2003 14:59
MagicWorld also has that smart texturing, where you just "paint" on textures and it will blend them for you

Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
Mr Tricks
22
Years of Service
User Offline
Joined: 15th Jan 2003
Location:
Posted: 19th Feb 2003 15:52
Hey, nice to find Magic World being recommended! You can find it at "www.all-seeing-i.co.uk". I'm going to release the source code when I get the chance to set it up, so the community can carry on updating it.

sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 19th Feb 2003 16:02
or you can always be cheap and just make a 3d model of the lake and put it on top LOL

death is no more scarier than a rabit...
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 19th Feb 2003 16:27
No kidding........MW blends textures for you?! Hmmm, I may just have to re-check that our

RPGamer

Current - RPG: Eternal Destiny
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 22nd Feb 2003 13:42
Mr. Tricks: Ii love MW! I used it all the time (until I found BSP and DBP)

It's a shame it won't be ported over.

Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 22nd Feb 2003 22:02
mw only blends textures if you make the right bitmap with the blends already made, then it just sorts out which blends to use
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 22nd Feb 2003 22:37
O ok thats easy then Hey thats great- we could assemble our own "Magic World: Revised" staff to keep magic world alive!!!!

RPGamer

Current - RPG: Eternal Destiny
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!

Login to post a reply

Server time is: 2025-05-15 12:47:31
Your offset time is: 2025-05-15 12:47:31