Skip to main content

Questions tagged [opengl]

Questions about OpenGL (Open Graphics Library) OpenGL is an API used to render real-time 2D and 3D graphics. Blender uses OpenGL for drawing the user interface, 3D view, and the game engine.

3 votes
3 answers
1k views

How to make rounded corners for 2d rectangle with a custom shader?

Does anyone know how to make rounded corners for a 2d rectangle with a custom shader? ...
Karan's user avatar
  • 2,381
3 votes
1 answer
1k views

How can I add a new object on mouse click?

I am looking for a code, that adds an uv sphere on a mesh when a mouse click happens. I saw the topic: Adding new object on mouse click? but there are no answers ...
Ilian Zapryanov's user avatar
3 votes
2 answers
4k views

Visible seams on tangent normal maps

I'm having a small issue with visible seams on normal maps. The map was painted on Substance Painter and has no weirdness around seams. When I plug it into a Normal Map node set to Tangent Space this ...
Rhaenys's user avatar
  • 1,374
3 votes
1 answer
4k views

Import GLSL-Shader into blender

I have a shader written in GLSL, I would like to import into Blender. I have already gathered, that I have to import it into BGE. Is it also possible for Cycles or BI (preferred)? In any case, how do ...
schustudrai's user avatar
3 votes
3 answers
8k views

Is OpenCL possible within Blender either via cycles or internal?

I have the Radeon R9 280X video card and was wondering if there was anyway at all to enable GPU rendering with this card? I know Nvidia has CUDA cores and that works. That's good and all, BUT I don't ...
Starius's user avatar
  • 1,114
3 votes
1 answer
375 views

Solid OpenGL lights in Blend4Web?

I want to achieve object shading in Blend4Web equal to the default 'SOLID' shading in blenders viewport. Is it possible to use the solid OpenGL lights in Blend4Web? Or if not, how can I simulate it ...
dwitvliet's user avatar
  • 409
3 votes
1 answer
272 views

How get drawing area in callback for quadview?

I need help with Quadview drawing. I know how get the quad using the mouse position, but the problem is get the drawing area in the callback. I have some code like this: ...
Antonioya's user avatar
  • 492
3 votes
1 answer
194 views

Turn Character Into a Sketch

I have a model of a man. I wanted to render it in some way so that it can turn into this "This" is a pencil and paper animation, with each frame drawn, photographed, and archived. I have seen someone ...
Help's user avatar
  • 41
3 votes
1 answer
637 views

Using the z-depth buffer when drawing from bgl draw callbacks?

I'm investigating making some simple widgets using bgl and finding it difficult to use the depth buffer without making a mess of the area I'm drawing in. Enable depth testing: ...
batFINGER's user avatar
  • 84.6k
3 votes
1 answer
719 views

Why does smoke render as transparent in the OpenGL render?

In the viewport, smoke looks fine: However, when I render it with the OpenGL render: It looks white because of the background; it's really transparent. What causes this?
gandalf3's user avatar
  • 158k
3 votes
2 answers
708 views

Bezier Curve TILT or Normal exporting

I am currently trying to make a rollercoaster in OpenGL. To do this, I prepared the track in Blender (following a Bezier curve) and exported it along with the curve as .obj files in OpenGL. My ...
Oskar's user avatar
  • 41
3 votes
1 answer
730 views

OpenGL [realtime] 360 camera possible?

Is it possible to render a 360 equirectangular OpenGL view from camera? I already know to set it up on Cycles and BI, but I would like to know if it is possible to set this kind of camera to make a ...
SpAiK's user avatar
  • 63
3 votes
1 answer
945 views

Custom GLSL Filter for Viewport

Is it possible to add my custom GLSL filter to 3d viewport? Like my custom SSAO or custom fog based on depth and normal passes. I want to add my custom SSAO filter to a 3d viewport form here http://...
mifth's user avatar
  • 2,341
3 votes
0 answers
115 views

blg module not being detected

i just started using bgl with blender scripting and it's giving this error "AttributeError: module 'bgl' has no attribute 'GL_MODELVIEW_MATRIX" i just checked on API documentation and it's supposed to ...
XIWEI ZHOU's user avatar
3 votes
0 answers
345 views

Rendering with OpenGL in Blender does not show the intended rendered image or animation

I am trying to render animations and images fast using the OpenGL feature in Blender but even though I want it to render a fully rendered image or animation, it only renders the solid image, or the ...
Yiuliana's user avatar

15 30 50 per page
1 2 3
4
5
18