Game Development Community

Clear(detailed) texture rendering

by Heron Huang · in Torque Game Engine · 10/21/2003 (2:40 am) · 10 replies

Hi all,
I will describle my problem,sorry for my poor English.

When we in the TorqueDemoApp(Head version),look at the terrain ground,we will see a clear(detailed) texture nearby and a blended texture from a little distance.I know that's ok,but I wanna enlarge the range of the clear(detailed) texture render.What shall I do.
I'm a newbi to the Torque,I do need your help,

Many thanks in advance,
Yours Heron

#1
10/21/2003 (3:23 am)
I can't answer this question directly but I think I can clarify it some more.

I believe that what Heron is asking is how to enlarge the circumference affected by the Terrain Bump Mapping.

Hope this helps.

Alex
#2
10/21/2003 (8:24 am)
Thanks Alex,I've readed all of the link you suggested,yes it is what I mean,but I still can't find the answer :o(
Any suggestions else?

Best regards,
Heron
#3
10/21/2003 (9:21 am)
F11->TerrainBlock->Misc->bumpDistance

Or something to that effect. Bring up the map editor, find the terrainblock in the object tree, look in the misc category, and edit away. In order for it to show up farther away, the bump distance actually needs to be SMALLER (this value is a bitshift that occurrs in a divisor). It also helps to bump up the bumpScale as well or else the bumps will get blended into each other when it is far away.
#4
10/21/2003 (10:02 am)
Dear Chris,

I've opened the map editor,and edited the parameters just as you said above ,smaller the "zeroBumpScale" and larger the "bumpScale".But nothing happend or took effects.I'm using the head version.I really need your help.

Thanks,
Heron
#5
10/21/2003 (11:15 am)
BTW: After I set "$pref::Terrain::enableDetails" to "0",all detail texture rendering disapeared.So I should make my question more clear.My question is how to make the detail texture rendering range larger or wider?Any suggestions?

Thanks in advance,
Heron
#6
10/21/2003 (12:04 pm)
Go look in the terrain rendering code :)

I think it's just a matter of tweaking a few constants in the code.
#7
10/21/2003 (4:41 pm)
Or like Hobbs said, of modifying the bumpDistance....
#8
10/21/2003 (7:33 pm)
Thanks Ben,
I've tried 'bumpDistance',no use.I think that's the effect of detail rendering not bumpMaping.A question seems somewhat simple but really obstruct me for a long time.

More suggestions needed:)

Heron
#9
10/21/2003 (10:35 pm)
Heron,

I'm not really up on the terrain rendering stuff but I believe that you are seeing different texture LOD (mip-mapping) being applied by your graphics hardware and not the other effect described here.

Texture Mapping

- Melv.
#10
10/22/2003 (3:03 am)
Hi Melv,
I don't agree that's the effect of Mip-Mapping. Cos,when I disable the detailed maping rendering setting(set "$pref::Terrain::enableDetails" to "0") ,the scene graphics seems having no detailed texture anymore,but at this time, the Mip-Mapping is still working.
Anyway,thanks to you.
Best regards,
Heron