Comments (8)
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.
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.
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.
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.
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
from blender_bsp_importer.
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.
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.
Since I haven't heard back, I assume the issue is fixed. Thanks again for reporting it.
from blender_bsp_importer.
Related Issues (20)
- [ent] spot light support, targetet sun support HOT 1
- [md3] add per object import/export
- Different basepaths for different games
- Add reimport functionality HOT 1
- Blender 2.91 support
- [lightmaps] Detect deluxemaps and store in $deluxemaps
- missing typecast to float in line 195 and 196 in Entities.py
- [md3] Import vertex animations
- [lightmaps] Baking deluxemaps
- [general] PK3 VFS HOT 1
- [ent] Import lights from .map file
- Installation Guide HOT 3
- [ent] Import radiant entity lists HOT 1
- [bsp] incorrect texture coordinates on planar patches HOT 1
- Error importing JK III:JA map HOT 1
- Blender 3.0 support
- When importing bsp files from Star trek elite force HOT 2
- [ent] lost angle and angles keys on entities with bsp models
- [shaders] implement missing texture maps (RTCW / ET specific)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender_bsp_importer.