FOnline Development > 3D Development
3d models development
Luther Blissett:
1) Double post apology.
2) Been looking to see if I could get anything to respond with the normal mapping stuff, but so far nothing. There is a 3D_NormalMapping.fx in some of my test repos - I can't remember if it came with the original SDK or if one of you guys wrote it. Anyway, when simply added to the fo3d files, it doesn't do anything. Does it need an "EffDef" thing to accompany it perhaps?
I also tried to look at some newer SDK revisions, to see if that'd make any difference, but I can't even get those to run properly. Singleplayer doesn't seem to connect to where the data is and just brings up "error" on all the buttons, trying to run an internal server autokicks my client connection from it, so just gives me a black screen (log shows as "Connection timeout, client kicked, maybe bot").
Anyone got any ideas on either of these? It's stuff I've had working with previous revisions, so I'm guessing I've just forgotten to add something in a config file or something suchlike.
Johnnybravo:
It needs some definition to compute tangent space for the model.
--- Quote ---@code
CalculateTangentSpace [2]
@endcode
Включение расчета касательного пространства, тангента и бинормали, которые можно использовать в эффектах, см. файл IOStructures.inc.
--- End quote ---
Or google translate:
--- Quote ---@ code
CalculateTangentSpace [2]
@ endcode
The inclusion of the tangent space calculation, PTT, and binormal, which can be used in the effects, see the file IOStructures.inc.
--- End quote ---
According to documentation [2] means it's used only once, but that's pretty obvious.
Example in docs:
--- Code: ---Model Box.3ds
CalculateTangentSpace
Subset 0 Texture 0 DED.tga
Subset 0 Texture 1 DEN.tga
Subset 1 Texture 0 DrD.tga
Subset 1 Texture 1 DIntrN.tga
Subset -1 Effect 3D_NormalMapping.fx
--- End code ---
Luther Blissett:
Many thanks :)
Will test this when I'm back from work.
[edit] No luck so far :(
Luther Blissett:
Still had no luck with normal maps, but have had some success with some other bits of test stuff, namely beards and linking things in script files.
Not a lot to show visually, but here's some test beard / moustache / hair combos :
The models / textures aren't great, but they work anyway. They can be improved later. The bit at the bottom shows the altered "selection" stuff from the character reg screen, which links up correctly to colours and styles.
Surf:
Luther don't be shy and show the sprite sheet you showed me 2 days ago here too. :P I drooled in anticapation, I am sure the others will like it too!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version