Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide linked textures in the blender exporter #1258

Closed
MatthewsSam opened this issue Mar 19, 2014 · 11 comments
Closed

Hide linked textures in the blender exporter #1258

MatthewsSam opened this issue Mar 19, 2014 · 11 comments

Comments

@MatthewsSam
Copy link
Member

Currently when an object is linked its textures are available in the texture list of the exporter. This is not intended it shouldn't be possible to modify a generic texture in a track.

The easy solution is to hide/don't export option from texture that aren't in the same repository than the track

@MatthewsSam
Copy link
Member Author

Also there is these small improvement that can be made to simplify the process of exporting tracks
http://fpaste.org/86905/39526917/

@auriamg
Copy link
Member

auriamg commented Apr 4, 2014

Most points done.

Main remaining point : auto-cleanup files that are no longer used (mostly applicable to B3Ds)

@MatthewsSam
Copy link
Member Author

Thanks :)

However I noticed minor issues.

  1. There is a problem with the lib path. It's an absolute path so when you open a blend created by someone else you need to reset the path. It's not very practical. Maybe we should create a xml file so users can set paths according to their system.

  2. There is a problem with linked textures. Yes linked textures are hidden but a texture can be generic and not be linked. These textures should be hidden too

@auriamg
Copy link
Member

auriamg commented Apr 13, 2014

@hiker hiker modified the milestones: 0.8.3, 0.8.2 Sep 22, 2014
@hiker hiker modified the milestones: 0.8.3, 0.8.2 Nov 22, 2014
@auriamg auriamg removed the P2: major label Dec 12, 2014
@hiker hiker modified the milestones: 0.9.1, 0.9.2 Sep 28, 2015
@auriamg
Copy link
Member

auriamg commented Oct 22, 2015

Ability to automatically cleanup old B3D files has been added (it needs to be enabled in plugin options first)

@auriamg auriamg modified the milestones: 0.9.3, 0.9.2 Apr 14, 2016
@hiker hiker modified the milestones: 0.9.4, 0.9.3 Aug 29, 2017
@baptx
Copy link

baptx commented Aug 28, 2018

Do you have an idea where we can we find the latest B3DExport.py Blender addon so we can export animations to B3D files for Irrlicht game engine? (not necessarily for SuperTuxKart)
It looks like the addon has been removed from SuperTuxKart, the latest version I found is here: https://sourceforge.net/p/supertuxkart/code/17107/tree/media/trunk/blender_25/B3DExport.py
Someone shared a download link https://www.rtsoft.com/forums/showthread.php?7509-Blender-B3D-2-6x-Export-script but I guess it is outdated?
There is also another repository but I don't know if it is the official latest version: https://github.com/RainWarrior/B3DExport

@qwertychouskie
Copy link
Contributor

@baptx As far as I know https://sourceforge.net/p/supertuxkart/code/17112/tree/media/trunk/blender_25/B3DExport.py is the last version of the B3D exporter, afterwards STK switched to its own in-house file format (SPM) for faster load times and smaller file sizes.

@baptx
Copy link

baptx commented Aug 28, 2018

@qwertychouskie thanks for the information, is the last version of the B3D exporter you mentioned specific to SuperTuxKart or can it be used for any Irrlicht game?
Would it be possible to merge back to Irrlicht the work that has been done on the new SPM format (and maybe other features like Antarctica graphics renderer) or it is limited and specific to SuperTuxKart assets?

@qwertychouskie
Copy link
Contributor

Not sure if it can be used for other games, but I would guess so (I think Minetest may use an old version of this exporter. SPM may be portable to Irrlicht (https://github.com/supertuxkart/stk-editor was ported to use SPM, and uses a mostly pure Irrlicht, see supertuxkart/stk-editor@4b80247), but Antarctica as a whole is pretty tight with STK itself. IMO if you are starting a new game it would be better to use Godot or Ogre3D as Irrlicht has very little development happening anymore (the last major Irrlicht release was in 2012).

@baptx
Copy link

baptx commented Aug 28, 2018

@qwertychouskie Godot looks interesting also but it does not have a complete C++ documentation with examples at the moment and I had some performances issues (Regalis11/scpcb#80 (comment)). Ogre3D may be interesting. I also heard of Armory3D and Urhor3D as an alternative to Blender Game Engine but they are not used a lot for the moment.

@auriamg
Copy link
Member

auriamg commented Nov 18, 2018

I think this is complete enough, if more issues remain, a separate issue can opened to track them easier

@Alayan-stk-2 Alayan-stk-2 modified the milestones: 0.10.0, 0.9.2 Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants