![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
|
![]() Quote:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#2 | |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]() Quote:
.off eding isn't exactly the most used function of S3D so I guess it's not hard to forget adding the .dll BTW thanks for creating S3D, I've used it ever since v0.7 and it just keeps getting better and better! ![]() |
|
![]() |
![]() |
![]() |
#3 |
Commander
![]() Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
|
![]()
Please could someone give me some tips on how to get a texture be applied on a 3D object.
ouside S3D I have an object with texture On S3D when I import the object plus add its texture on the node it shows the object with the texture. But when I launch SH4 the object is black. I don't know what I'm doing wrong... S3D doesn't complain on object import and it shows the object with correct texture... so why SH4 doesn't show the correct texture? ![]() Help!!! ![]() Thanks |
![]() |
![]() |
![]() |
#4 | |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]() Quote:
2nd: SH4 doesn't seem to like it if the index of the texture is higher than the object's index. Look if the texture is placed above the object in the S3D tree (as it should) or below. I've had this problem a number of times and usually it's one of these 2 problems that causes black textures. |
|
![]() |
![]() |
![]() |
#5 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
|
![]()
Correct
![]()
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
#6 |
Commander
![]() Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
|
![]()
here are the pictures
![]() ![]() Now the above 3D object appears black on SH4... what I'm missing here? Thanks |
![]() |
![]() |
![]() |
#7 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
|
![]()
Your material has the same texture linked for the lightmap (ambient occlusion map) which is wrong. The lightmap is always a different texture, which contains lighting/shading info. Secondly, do you even have the texture coordinates for the lightmap (uv2) on the model? If not, then you should remove the 'yellow bulb' chunk, so the game can render the model with only a diffuse pass. If you do, then the 'yellow bulb' chunk should point to a proper ambient occlusion texture, for the ambient occlusion pass to work. If not, well, black...
![]() Note: S3D behaves a little differently in some scenario's.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|