Data conversion system of the Blender Game Engine
Sat, Feb 10
Fri, Feb 9
Jun 1 2017
@Inês Almeida (brita_), @Jorge Bernal (lordloki), I noticed something about the world scaling of the objects. It is computed by only multiplying the local scale of parent and child objects without taking account of the rotation. So if we have an object without children, the world scale is the local scale even if the object is rotated which seems doubtful as world should be for world space…
May 31 2017
If the code apply world scale to local position before rotating the issue seems fixed.
Jul 11 2016
Hello to all.
I parent object to verticle of another object. Than I select relative object, alt+p > clear parent inverse.
Than I write it's local coordinates.
Nov 30 2015
Nov 29 2015
@Mitchell Stokes (moguri): Please can you say how did you do to compile blenderplayer with bf_render lib ?
Oct 27 2015
Please provide example files (ot done since 2011 o_O).
Reopen this when it's done.
Oct 26 2015
Aug 11 2015
As @perfection cat (sindra1961) said - we obviously do not accept reports about addons we do not distribute with blender…
I think that it is not included in Addon which Blender.org distributes.
I think that you should ask about it in a site distributing it.
Aug 6 2015
Either way it's something to fix for 2.8x. If we fix now it will introduce regression in many files. It's a nasty bug though, but at least we have a workaround.
Jul 31 2015
Might want to check the conversion stage - BGE internal and external players have different code paths both running the engine and initialising it.
Jul 29 2015
If I add the following debug code:
I think I found the reason of this issue, basically in the blenderplayer any linked object is considered to be in the layer of its original file, regardless of the layer where the linked instance is in it.
May 24 2015
@Alberto Torres Ruiz (dithi): i don't know what you have done but your group instance is rotated but not in the UI rotation panel o.O.
But if you remove your old group instance and add a new one all works properly.
This was maybe fixed in next versions.
Some problems with memory leak are fixed in D1278. I see that you don't re-send your example blend file since 3 may, for me this task is inactive.
May 17 2015
Yeah, I think this can be closed.
@Jorge Bernal (lordloki), you would still have to have the same rendering code available to apply the modifier.
With new commit about GLSL material IPOs (including alpha) I think that this commit can be closed.
Are you all agreed?
is there a way to apply all modifiers automatically when we launch the blenderplayer? This way we would avoid bloating the player's size and Displace Modifier between others modifiers would work.
May 9 2015
I have detected at least 2 bugs already with this patch that I did not have time to fix.
I spent a day looking into it, but it needs more time, that is why it hasn't gone in yet.
The bug is visible with this file: F17105 after commit 4117efcde301 of this patch, which was originally a fix for that same file.
That commit does change the way a child's rotation is calculated, but I am not sure yet of what is wrong.
Maybe, this clean-up can be committed just after 2.75 release (in a few weeks) to have all the cycle time to test it
May 3 2015
@Francesco Zoffoli (makers_f), is it possible to upload the blend again? I want to test it but I can not download from old direction.
Feb 3 2015
Jan 22 2015
Looks good, I had one minor question that I inlined.
Jan 16 2015
This is caused by KX_BlenderSceneConverter::LinkBlendFile (~1096).
It creates a temporary scene to load the data, uses that temporary scene to store cached values then deletes the scene.
The scene content is merged with the current scene in the engine.
When the library is freed, because there is no loaded scene associated with that library (things have been merged with the current scene which is not marked for deletion), the caching maps are never emptied as they would be for deleted scenes.
So the task is left to the code that manages the removal of single objects but that doesn't releases the cached values at all - causing the crashing bug in LibFree.
Jan 13 2015
Updating the scenegraph cleanup revision