Atlas detail texture not working correctly
by Adam Beer · in Torque Game Engine Advanced · 06/23/2007 (11:52 am) · 6 replies
I cant seem to get the Atlas detail texture to work. When there is a detail texture applied, it seems to show up in some places and not in others. Here is a picture:
http://img387.imageshack.us/img387/7148/screenshot00100001bh2.png
I used L3DT to make and export this terrain. Any ideas?
http://img387.imageshack.us/img387/7148/screenshot00100001bh2.png
I used L3DT to make and export this terrain. Any ideas?
About the author
Adam is the owner of Ignition Games, an indie game and software development company.
#2
PhysXTerrain.cpp
..\engine\physx\PhysXTerrain.cpp(481) : error C2065: 'mGeomTOC' : undeclared identifier
..\engine\physx\PhysXTerrain.cpp(481) : error C2227: left of '->mTreeDepth' must point to class/struct/union/generic type
type is ''unknown-type''
..\engine\physx\PhysXTerrain.cpp(485) : error C2248: 'AtlasInstance2::mGeomTOC' : cannot access private member declared in class 'AtlasInstance2'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(43) : see declaration of 'AtlasInstance2::mGeomTOC'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(37) : see declaration of 'AtlasInstance2'
..\engine\physx\PhysXTerrain.cpp(506) : error C2248: 'AtlasInstance2::mGeomTOC' : cannot access private member declared in class 'AtlasInstance2'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(43) : see declaration of 'AtlasInstance2::mGeomTOC'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(37) : see declaration of 'AtlasInstance2'
Any ideas?
Edit:
Im using the TGEA Physx port resource.
06/23/2007 (2:13 pm)
Im getting some errors that im not sure how to fix. Here they are:PhysXTerrain.cpp
..\engine\physx\PhysXTerrain.cpp(481) : error C2065: 'mGeomTOC' : undeclared identifier
..\engine\physx\PhysXTerrain.cpp(481) : error C2227: left of '->mTreeDepth' must point to class/struct/union/generic type
type is ''unknown-type''
..\engine\physx\PhysXTerrain.cpp(485) : error C2248: 'AtlasInstance2::mGeomTOC' : cannot access private member declared in class 'AtlasInstance2'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(43) : see declaration of 'AtlasInstance2::mGeomTOC'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(37) : see declaration of 'AtlasInstance2'
..\engine\physx\PhysXTerrain.cpp(506) : error C2248: 'AtlasInstance2::mGeomTOC' : cannot access private member declared in class 'AtlasInstance2'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(43) : see declaration of 'AtlasInstance2::mGeomTOC'
d:\Heart of the Battle\Betas\Source_0.3\engine\atlas/runtime/atlasInstance2.h(37) : see declaration of 'AtlasInstance2'
Any ideas?
Edit:
Im using the TGEA Physx port resource.
#3
06/24/2007 (9:57 am)
Well not a programmer, that is what are lead programmer installed on your engine to fix my issues. But notice that you have / & \ , not sure thought torque read only one type. I know when I work in the scripts have to use \.
#4
07/02/2007 (10:49 am)
Alright I got it to work without Physx but theres another problem. When you get close to it the detail texture disappears and when you look at certain angles it will disappear.
#5
07/03/2007 (8:22 am)
Try integrating this resource. It allows you to tweak the detail texture settings through the mission editor.
#6
07/03/2007 (8:41 am)
Thanks guys I got it working. Now if only Atlas had dynamic lighting :(
Torque Owner Deception Games
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12453
What size maps are you exporting ?