Git Product home page Git Product logo

Comments (8)

SomaZ avatar SomaZ commented on July 23, 2024

Hi, thanks for reporting the issue. Have you tried using the latest pre-release of the addon instead?
https://github.com/SomaZ/Blender_BSP_Importer/releases/tag/v0.9.94

If the error still comes up, I need the actual shader compile error. I have no experience with blender on mac, but on linux you have to start blender from the console to get the full log. In windows theres a menu button to open the console post launch.

from blender_bsp_importer.

YasirNacak avatar YasirNacak commented on July 23, 2024

I tested this on the latest pre-release of the addon and I still get this exception

WARN (bgl): source/blender/python/generic/bgl.c:2662 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. In Blender 4.0 'bgl' will be removed.
Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "/Users/yasirnacak/Library/Application Support/Blender/3.6/scripts/addons/import_bsp/__init__.py", line 40, in <module>
    from . import UI
  File "/Users/yasirnacak/Library/Application Support/Blender/3.6/scripts/addons/import_bsp/UI.py", line 41, in <module>
    from . import QuakeSky
  File "/Users/yasirnacak/Library/Application Support/Blender/3.6/scripts/addons/import_bsp/QuakeSky.py", line 159, in <module>
    shader = gpu.types.GPUShader(vertex_shader, fragment_shader)
Exception: Shader Compile Error, see console for more details

I am copying this from the console window (which I get by running Blender from the terminal), and there is no additional shader compile errors there.

I have managed to find something online that seems similar to the issue here:
https://blender.stackexchange.com/questions/286919/addon-stopped-working-on-mac-metal-in-v3-5-due-to-shader-compile-error-console

from blender_bsp_importer.

SomaZ avatar SomaZ commented on July 23, 2024

Oh, thanks for the info. Wasn't aware of a new cross compile interface. I added it in my last commit to the rewrite branch. Can you test it without me making a new release? Should be as easy as downloading the latest files, zip the folder and install this new zip. Would be greatly appreciated.

from blender_bsp_importer.

YasirNacak avatar YasirNacak commented on July 23, 2024

I've pulled the latest commit on the rewrite branch and loaded up the addon. It worked with no problems!
I tried importing some .bsp files I had and they seemed to import fine as well.
If there are any test data you want me to try for import/export, please send them.

from blender_bsp_importer.

SomaZ avatar SomaZ commented on July 23, 2024

Hm, what games are you testing? I would be interested if creating a equirectangular sky image works fine on import. Quake 3 for an example didn't use those afaik. At least the maps I tested always relied on cloud layers exclusively. They aren't supported in the addon yet.
As an example of a jka map
equirect_sky_preview

from blender_bsp_importer.

YasirNacak avatar YasirNacak commented on July 23, 2024

I work with Q3 so all I have is my Q3 maps. I don't have unfortunately don't have JKA installed.

from blender_bsp_importer.

SomaZ avatar SomaZ commented on July 23, 2024

Well, theres free games with skyboxes like OpenArena or Tremulous. Would be nice if you could test like "atcs" from Tremulous, but only if you want to. Also feel free to close the issue if its fixed. Thanks for your help so far. 👍

from blender_bsp_importer.

SomaZ avatar SomaZ commented on July 23, 2024

Since I haven't heard back, I assume the issue is fixed. Thanks again for reporting it.

from blender_bsp_importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.