Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRPresence Mr. RubinshteinSupport Bot Helpdesk

#editor

pegperegogaucho
The RwGeo has a RwBool if it has normals, its 1 for every specular geo
pegperegogaucho
But there is also another material flag
pegperegogaucho
I think its a value >65535 for asterix and obelix
pegperegogaucho
That's what I found out :pausechamp:
pegperegogaucho
But even when I imported a new mesh with normals and everything with the proper flags etc. It still only would have specular effects on the original material :HmmChamp:
pegperegogaucho
Maybe I am missing something
pegperegogaucho
Or something does not get deserializied
pegperegogaucho
But I think you are more knowledgeable about the graphical aspects than me
pegperegogaucho
I hope you are able to fix it!
adrientd
The problem is that, even by exporting the DFF and reimporting it (without using Blender), the specular effect disappears.
adrientd
It could be a problem with the splitting/merging functions
adrientd
They do care at keeping normals whenever possible (for example, merging a geo with normals with one without normals would just give zero vector normals for the merged geo)
adrientd
I did find a potential bug that could disable the normals flag if the first geometry to merge didn't have normals, but for Obelix, the first material is the specular one, so that shouldn't be the cause
adrientd
I did a comparison between original Geometry and Splitted Imported Geometry, and the flags and normals are still there, the only exception is that the BinMeshPLG extension (used to store optimized indices for the models) is gone
adrientd
So I wonder if putting the BinMeshPLG back might fix it
adrientd
In case you're interested, left is original geo for Obelix's specular part, right is when reimported and splitted with the Editor
Download OldGeo_VS_SplitImportedGeo.pdf:



pegperegogaucho
I saw there were indices after the materiallist, not sure what they are for. But it would be weird if those would fix it :HmmChamp:
pegperegogaucho
But yeah reimporting can sometimes remove the normals (like the boss node)
pegperegogaucho
Hmm why do the geoflags change:pausechamp:
adrientd
Nice