The texture coordinates are just dummies. edit: added planar UVs
Not sure about:
Fonsize / size correlation
When creating more than one model at once, something seems to go wrong with the normals.
This can be worked arround by “reconnecting” the Entity (see the explanation patch) or creating the models sequentially. I guess this is somehow related to the Generate[PrimitiveProceduralModelBase] method, since it doesn’t happen at all when creating a mesh from a vertexbuffer (as done in the now marked as obsolete Text3dMesh (Async) ).edit: seems to be fixed now
I am not really happy how FontAndParagraph and recreating the model on changes is set up now. But my brain is somewhat foggy due to covid, so at least for now it is what is.
Just pushed an update. From now on use the following when installing the nuget:
nuget install VL.Stride.Text3d
nuget install VL.Stride.Text3d -version 0.4.0
@Elias 5.0 no longer comes with SharpDX.Mathematics, for now I added it as dependency to Text3d so it also gets installed. Is this the way to go or can/should I somehow switch to Silk.NET.Maths which seems to be what vvvv is using now?
It didn’t crash for me during testing and it just occured to me that I used the --disable-package-compiler argument during development.
As soon as I start vvvv “normally” I also get the crashes.
Unfortunately the error messages in event viewer are a bit sparse:
CoreCLR Version: 6.0.1322.58009
.NET Version: 6.0.13
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFD8B332191 (00007FFD8B160000) with exit code c0000005.
I see that you make use of the “cache region auto dispose feature” in FontAndParagraph. Maybe that is not a good idea in this case. It could be that it’s mandatory to dispose TextLayout before TextFormat.
That seems to have been the cause. Disabled “auto dispose” for TextFormat for now and the crash is gone. Guess I’ll have to revisit the issue in the future and check if I can implement a “proper” way for disposing.
@chk latest version (1.0.2) should no longer crash.