Planetside Software Forums

General => Terragen Discussion => Topic started by: bobbystahr on January 22, 2007, 11:14:10 AM

Title: Bump Maps...Use?
Post by: bobbystahr on January 22, 2007, 11:14:10 AM
Here's a really dumb question. I was just reading another thread where the poster mentioned applying texture and bump maps to an obj....well how the heck do you control and use bumps....a network screen grab of a ter or obj loaded with just a colour and bump map applied would go a long way in explaining this to dumb ol me...LOL
Title: Re: Bump Maps...Use?
Post by: §ardine on January 22, 2007, 01:29:39 PM
I haven't messed around with adding bump maps to objects yet but I have added color to them.
maybe this will get you started:

Add your object and select it in the objects list on the top left of TG2. The "edit the internal network of this node" button (circled below) will show you the network seen to the right. opening up the "Material" node will give you options to edit the properties you are looking for.

[attach=#1]

What we have been told is that any displacement added to objects needs to be very small other wise it causes problems. I also recommend that you save your .obj as a .tgo format in TG2 and add the new format instead of the .obj for stability reasons.

A search of this forum should answer most of your question though on adding shaders to your object.

hope this helps (I'm not the best at being clear)  ;D
Title: Re: Bump Maps...Use?
Post by: bobbystahr on January 22, 2007, 02:17:58 PM
Think I gotcha...know bout the internal network, just haven't explored it much yet....but I understand displacement=bump?...so bump is an irrelavant thought as smart displacement will give the mesh effect whereas bump doesn't distort the mesh, just the way it uses light info.Thanx and if I'm way off base pleeeease correct me...LOL...it'll help with my renders which are a bit confused at the 'mo
Title: Re: Bump Maps...Use?
Post by: §ardine on January 22, 2007, 02:38:27 PM
this might help as well:

Quote from: Oshyan on January 10, 2007, 09:02:47 PM
This is a problem we're aware of. Using displacement on objects can be problematic and is largely recommended against at this time. If you use very small values to get a more bump map-like effect it works well, but major displacement of imported objects is inconsistent at best. This will be improved in the future.

- Oshyan
Title: Re: Bump Maps...Use?
Post by: rcallicotte on January 22, 2007, 03:40:01 PM
Use displacement for your bump maps.



Quote from: bobbystahr on January 22, 2007, 11:14:10 AM
Here's a really dumb question. I was just reading another thread where the poster mentioned applying texture and bump maps to an obj....well how the heck do you control and use bumps....a network screen grab of a ter or obj loaded with just a colour and bump map applied would go a long way in explaining this to dumb ol me...LOL
Title: Re: Bump Maps...Use?
Post by: bobbystahr on January 22, 2007, 04:49:47 PM
Many thanks all...clear now....
Title: Re: Bump Maps...Use?
Post by: Oshyan on January 28, 2007, 11:22:26 PM
Quote from: bobbystahr on January 22, 2007, 02:17:58 PM
Think I gotcha...know bout the internal network, just haven't explored it much yet....but I understand displacement=bump?...so bump is an irrelavant thought as smart displacement will give the mesh effect whereas bump doesn't distort the mesh, just the way it uses light info.Thanx and if I'm way off base pleeeease correct me...LOL...it'll help with my renders which are a bit confused at the 'mo

Correct, TG2 doesn't currently support "bump mapping", but displacement can generally do anything bump mapping can do and more. The results are usually more realistic because there is actual dimension there. As others have said the displacement support for objects is currently limited in that meshes can break apart if the displacement is too extreme, but you normally won't want large values anyway for realistic results.

- Oshyan
Title: Re: Bump Maps...Use?
Post by: bobbystahr on January 29, 2007, 10:34:58 AM
Indeed they will break...but as with sugar, a little is often enough.. ...
Title: Re: Bump Maps...Use?
Post by: rcallicotte on January 29, 2007, 11:31:49 AM
For my mech, I use only .05 on the Displacement and it seems to be enough.
Title: Re: Bump Maps...Use?
Post by: §ardine on January 29, 2007, 01:15:54 PM
hey thanks calico, I was wondering what settings you used for that.
~§ardine
Title: Re: Bump Maps...Use?
Post by: Volker Harun on February 23, 2007, 08:27:31 AM
It occured to me yesterday evening.

Though knowing the issue of placing displacements on imported objects, I gave it a try.

First, I created a nice cube in Cinema4D, exported it, loaded in TGTP and resaved as tgo.
Loaded this tgo and any displacement killed the mesh.

Then ...
... I started to play around. Stirring and shaking the nodes  ;D ;D ;D

Well, as soon as I put into the shader of the mesh the Base-colour-shader, the displacements worked. Even hard displacements.
But only on the upper side of the cube.

This might be, because I deleted the multishader of the mesh, but dunno.
It was time to go to bed then ... but maybe somone wants to give it try or two!?!

Volker Harun  8) 8) 8)
Title: Re: Bump Maps...Use?
Post by: Ogre on February 23, 2007, 11:39:30 AM
Take a look at my Nautilus model.  I used displacement with no real issues.

http://www.ashundar.com/list.php?c=models (http://www.ashundar.com/list.php?c=models)
Title: Re: Bump Maps...Use?
Post by: §ardine on February 24, 2007, 01:41:03 PM
Hey Volker,
Just wondering if you would mind posting an example of what you are talking about here. ;D
Title: Re: Bump Maps...Use?
Post by: rcallicotte on February 24, 2007, 11:39:44 PM
http://www.ashundar.com/CPG/displayimage.php?pos=-3629
http://www.ashundar.com/CPG/displayimage.php?pos=-3684

Some examples of a displacement map with default shader.
Title: Re: Bump Maps...Use?
Post by: §ardine on February 25, 2007, 10:47:40 PM
Quote from: calico on February 24, 2007, 11:39:44 PM
http://www.ashundar.com/CPG/displayimage.php?pos=-3629
http://www.ashundar.com/CPG/displayimage.php?pos=-3684

Some examples of a displacement map with default shader.

thanks calico, I guess I should have been a little more specific in my request :D
here's the quote from Volker that I was curious about:

Quote from: Volker Harun on February 23, 2007, 08:27:31 AM
Well, as soon as I put into the shader of the mesh the Base-colour-shader, the displacements worked. Even hard displacements.

I was wondering Volker, what exactly did you use to get this displacement?
You said you were able to get "hard displacements" This sounds pretty significant!
"Base-color-shader"? I'm either blind or not sure what you're saying... ;D
I would be interested in a bit more of an explanation or a clip of this if you might be so kind 8)

thanks,
-Sardine
Title: Re: Bump Maps...Use?
Post by: Volker Harun on February 26, 2007, 06:57:36 AM
Hi §ardine,

the first image shows how I put the surface-shaders to the object ...

The second image shows, that I am proofed, to be wrong. In this closup you can see, that the displacement is calculated for every single part of the mesh seperatly. So for a cube it does work, for a high polygon model you will see the broken mesh (on closeups).

Regards,
Volker Harun

I used this object: http://ship.nime.ac.jp/~motofumi/benchmark-ptc-mod/db/3/m378/m378_info2.html
Title: Re: Bump Maps...Use?
Post by: Ogre on February 26, 2007, 03:20:15 PM
I placed my displacement on the materials within the internal network for the object as shown below.  This seemed to work well.
Title: Re: Bump Maps...Use?
Post by: §ardine on February 26, 2007, 11:17:37 PM
Hey thanks for the follow up Volker -much appreciated!
Too bad your initial test proved to be wrong :(
...I guess we'll continue waiting for the update :D

~§ardine
Title: Re: Bump Maps...Use?
Post by: rcallicotte on February 27, 2007, 09:02:00 AM
Dude!  This is so nice.  Great job.  I'm going to put this in my personal tutorials.

Quote from: Ogre on February 26, 2007, 03:20:15 PM
I placed my displacement on the materials within the internal network for the object as shown below.  This seemed to work well.
Title: Re: Bump Maps...Use?
Post by: rcallicotte on March 07, 2007, 06:23:03 PM
Where did you get the cool texture for the Nautilus?


Quote from: Ogre on February 26, 2007, 03:20:15 PM
I placed my displacement on the materials within the internal network for the object as shown below.  This seemed to work well.
Title: Re: Bump Maps...Use?
Post by: Ogre on March 08, 2007, 12:02:26 PM
The base texture images were downloaded sometime ago from a free texture sight, the URL long forgotten. I just edited the plain metal texture by adding the plate seams and rivets in using Fireworks. I then generated the bump map.

FYI - Back on 2/27 Old_Blaggard posted a New fixed Model at Ashundar because I had a few normals flipped  :-\  on the main hull (I swear it was Maya not me!) and the displacement wouldn't work properly in TG2.  If you are using the model posted before that please re-download it or when you apply the displacement the main Hull will displace in the wrong direction and you will see the bump map image not the main shader.

Here is a list of all of my 3D modelling URL resources for Free textures, meshes and tutorials.

Here is my collection of useful resource Links.  Haven't been able to contribute much else lately. All my TG2 renders suffer the dreaded memory error as of late (and cropping doesn't help)

http://www.3dbuzz.com/vbforum/sv_home.php - Tutorials
http://www.psionic3d.co.uk/news.php - Models, textures, tutorials
http://www.planit3d.com/source/index.htm - Textures, Models
http://www.shipschematics.net/  - Schematics
http://www.3dcafe.com/ - Free Models
http://www.3dtotal.com/ - Tutorials
http://www.3drender.com/archives/index.htmhttp://www.3drender.com/archives/index.htm - Tutorials
http://www.computerarts.co.uk/tutorials/3d__and__animation/?result_page=2 - Tutorials
http://www.keongputer.com/tutor.html - Tutorials
http://www.mtmckinley.net/ - Tutorials
http://pixelmorgue.com/index.php?action=tpmod;dl - Textures, tutorials
http://www.ramyhanna.com/ - Tutorials
http://mayang.com/textures/index.htm - Textures

For the beginning modeller I also recommend the 3d buzz video tutorials that shipped with the deluxe version of UT2004.