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.

Filter by
Sorted by
Tagged with
7
votes
4answers
12k views

How to run Blender through RDP on Windows Server 2008 R2 - opengl error

I want to render my blender project in rdp. But some error has appeared. What is the best solution for this problem? I've spent many hours trying to troubleshoot this problem.
1
vote
1answer
117 views

How do you create a KX_PolygonMaterial?

I try to attach a PyOpenGL Shader to an object using the setCustomMaterial() command but It raises an error: 'KX_BlenderMaterial' object has no attribute '...
1
vote
0answers
3k views

How to run blender 2.77 on a virtual network render machine with no Opengl support on windows?

I have a server that runs multiple instances of virtual machines and is running windows 10... there is a cinema 4d farm clients running there...and I need to run blender 2.77 slave mode ...but the ...
0
votes
2answers
224 views

shader.setSample invalid uniform value

I'm having troubles with my "clouds" texture while trying to sample it into my shader, the error is "invalid uniform value: clouds" ...
2
votes
1answer
607 views

Materials modified with GLSL in bge, return to original material (using only python)

I'm a noob and probably this is a completely silly question... Started using BGE two days ago... I'm using GLSL to visualize a distance field while running in standalone player. I'm doing it using ...
1
vote
0answers
619 views

Bones and armature render

How can I make a simple animation render of an armature (to show all bones movements)? This is an OpenGL render, but if i try the OpenGL animation render, the bones disappear.
2
votes
1answer
130 views

How does Blender implement flat shading non-planar polygons?

Following up on my recent question on ComputerGraphics.SE — how is flat shading of non-planar polygons implemented in Blender? If polygons are rendered using ...
0
votes
1answer
247 views

How do I apply a Blend4Web module similar to the plane flight preview?

I am trying to make a load screen to fit my scene. This has a custom load screen to fit the scene: https://www.blend4web.com/en/demo/island/ This is the API: https://www.blend4web.com/api_doc/module-...
1
vote
0answers
1k views

Can I use Blender on Intel HD 530 dedicating an Nvidia GPU to Cycles?

I'm trying to specify the build for a new PC, my current one is 5 years old and starting to show its age. It's going to be a multi-use machine for Gaming, Virtualisation, Coding, Blender and possibly ...
3
votes
0answers
144 views

Could not Render Loaded Texture in 3D View by bgl module

I wrote below scripts to render texture already loaded by blender. However, no images are rendered on 3D View. This code works correctly when I run this script on blender 2.70. But, this script ...
4
votes
2answers
685 views

Working in 3D stereo in the 3D view - hardware requirements?

I want to run out and buy a pair of active shutter 3D glasses so I can watch and adjust animations in the 3D viewport using time sequential mode, but the part about the graphics card supporting Quad ...
2
votes
1answer
1k views

Open GL Render. Anti-aliasing differences

I have a simple scene setup: Cube and a Sphere lighted decently. Blender Internal renderer. Shading - GLSL Viewport Shading - Material. I add the Scene in VSE and use Open GL Preview and Sequencer ...
5
votes
1answer
412 views

Removing Anti-Aliasing from shadows in the BGE

How do I fix the anti-aliasing in edges of shadows in BGE?
0
votes
2answers
412 views

Animate properties in GLSL shading

I'm new in this community. My name is Francesco and I am passionate about Blender. I hope to learn well. I have a problem I can not solve... I wish animate the alpha channel and all the material ...
3
votes
1answer
310 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 ...
3
votes
1answer
392 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: ...
2
votes
1answer
394 views

Is render time, openGL, or memory affected whether a modifier is applied or not?

If I have an object looking exactly like I want it to using modifiers, is there any reason why I should "apply" the modifiers before rendering, or any other considerations? More specifically, is ...
8
votes
1answer
2k views

Using OpenGL in blender python

It seems that blender python exposes very limited functionality of OpenGL. I currently want to draw additional information in every edge of a mesh by using OpenGL. Basically the edge direction is what ...
0
votes
1answer
248 views

Color is not applied when drawing fonts in BGE with blf and bgl

I am trying to get fonts rendered with different colors, but bgl.glColor4f (or any other variant of glColor) doesn't apply the color that I set with it. Please see https://github.com/eugenschindler/...
2
votes
0answers
212 views

opengl flat shading in blender

i'm trying to render my scene from a script. i've got some objects with materials that are Shadeless, and when rendering with the blender renderer in my script, they show up as expected: no shading. ...
2
votes
2answers
663 views

3D Model mask? ID?

I'm working on making a video that looks like anime. I'm trying to use openGL viewport render to do the bulk of the work and it's going good, animation, characters, background and sky is all done and ...
3
votes
1answer
2k views

White edge around objects with alpha

I have a simple texture, of a bush (for a billboard plane) There are very annoying white artifacts around the edge of the plane. I am using GLSL shading in the BGE.              UV/Image Editor      ...
2
votes
1answer
380 views

Some materials aren't rendered in the Blender Game Engine

As I described in the title, some materials aren't rendered. I'm not sure, but I think it only happens if I "copy paste" or append objects with their materials. I can solve this problem by recreating ...
2
votes
1answer
2k views

Why is the smoke preview not showing in Blender's viewport?

I've been trying to put together a smoke sim in blender 2.74 using the quick smoke preset however have found that it does not show up in the viewport, yet will still render. Long story short i have ...
1
vote
1answer
169 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: ...
7
votes
0answers
1k views

Does a model exporter embedding materials as GLSL scripts exist?

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material. Since the viewport can use such GLSL for real-time ...
4
votes
3answers
2k views

Is possible to draw over render image and save it?

I would like to draw on top of render image and save it. For example, I would like to draw a text or a line and then save the final image as PNG. I was thinking to use something like this: Is it ...
4
votes
1answer
139 views

Why do (bgl) exceptions in modal crash blender

No matter what I type into the console, or execute from the text buffer, blender shows an error but continues on as usual. However, I recently noticed that many exceptions (involving bgl callbacks) ...
0
votes
0answers
50 views

Able to transport the rendered opengl frame to byte array with python script? [duplicate]

I'd like to render a frame with OPENGL and I want to save to a byte array variable without file save/load. What can I do?
4
votes
1answer
334 views

Is the Network Render addon able to render with openGL?

I would like to render an openGL preview using my rendering network, but there is no such option in the rendering engines dropdown. What can I do? I built the rendering network with "Network Render" ...
5
votes
1answer
1k views

Render specific frames with opengl via python

When I run the following script, current_frame is set AFTER the render.opengl(): ...
0
votes
0answers
116 views

Show a objection reflection onto another surface in Blender internal

I will show a objection reflection onto another flat surface in Blender internal, Material viewport because I will like to try and use the opengl render. I tried using mirror but it wont show up in ...
2
votes
1answer
4k views

How to speed up the OpenGL (viewport) rendering?

I made an animation in Cycles (about 1 minute long) using viewport render option (Render-->OpenGL Render Animation). There were some simple objects like hearts (with basic diffuse colour) and planes ...
3
votes
1answer
840 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://...
1
vote
0answers
310 views

How can I get a list with the 2D screen coordinates of visible Vertices in 3D view without having to convert 3D to 2D? [duplicate]

The bgl module allows us to obtain various information displayed in 3D Blender view. For example, I made a script that gets the 3D coordinate where the mouse cursor hits a object: ...
2
votes
2answers
278 views

Why I am seeing patches of diffirent transparency in this model with GLSL

I am in GLSL mode and I have a material with transparency, my problem is that transparency is not displayed as it is in the final render of BI. Instead of a smooth result in transparency I get patches ...
1
vote
2answers
1k views

How to reset OpenGl for Solid lighting?

I read the original Reset OpenGL lights, I understand, but I don't do Python. How would I "reset" my settings as shown? I've had trouble with these forever, so my Solid lighting as I work is bizarre. ...
5
votes
1answer
2k views

How to render the movie texture in the Open GL viewport rendering?

I try to render animation using Open GL render animation option. I added a movie clip as a texture to a plane. When I change the keyframes manually (in Material viewport shading ) the following ...
6
votes
1answer
506 views

Can I OpenGL render a quad view?

Is it possible to playblast (openGL render) the quad view? In quad view if I launch playblast, only 1 of the views is rendered. Am I missing something for it to work (like an option in the user ...
3
votes
0answers
379 views

.blend file size much larger after OpenGL Render

I am working on a detailed dialogue scene that is 600 mb. It is a very complex scene, with each part in single layers. I know that is a very big file size, but what my machine can handle it. What ...
0
votes
0answers
541 views

Moving complex object along bezier path

I am fairly new to blender and am using it to model things that I am loading into OpenGL. I am modeling this logo: I am also animating the gears, which I have done already. I modeled the gears in ...
2
votes
1answer
680 views

Add new parametric curve object/type using Python

I'm thinking of implementing an add-on (using Python) for Lagrange curves. In short (after an instance has been added), in Object Mode there should just be a curve (...
2
votes
2answers
5k views

Exporting cycles rendered models to be used in opengl

The cube in top left corner is the default cube with change in view port color. I added checker texture to it using nodes and got it rendered using cycles render. When I exported them to be used via ...
4
votes
2answers
510 views

What are these items that are showing up in the viewport render

I have a model that has animation and I am rendering out to a png sequence. This animation will be used in a web page. I noticed that there are some items that are showing up in the render that are ...
1
vote
0answers
34 views

Inverted Solid OpenGL lights? [duplicate]

When i opened up my blender file it suddenly inverted all the lightings of the Solid OpenGl lights and whatsoever. I tried to fix it up but it still wouldn't..! -- Added Explanation as to my reply to ...
0
votes
0answers
838 views

Vertex Ordering Messed up on exported .ply file

I'm fairly new to Blender and 3D modelling in general. I segmented 4 different structures from a CT scan, three lymph nodes and the the surrounding skin surface. I imported these models into Blender ...
3
votes
1answer
304 views

Add 3D content to an image using blender [duplicate]

I have an image of a scene and I extracted the projection matrix from that, so I have the camera calibration. Now, I want to add some 3D objects to this scene. I have already coded something with ...
1
vote
0answers
17 views

After rendering with OpenGL it's always rendering with OpenGL with v2.69 [duplicate]

Just once switched to OpenGL rendering, but after that changing to Blender Render or Cycles really doesn't help. Even after quitting Blender and then re-starting it and reopening the scene, it's still ...
4
votes
2answers
1k views

How to make a VSE scene strip render with the openGL render?

Is it possible to have a scene strip in the VSE render using the OpenGL renderer? I know you can make it render using viewport shading/OpenGL in the preview, but can you do this for the final render, ...
1
vote
1answer
773 views

Export .obj with normalized UV coordinates

I want export .obj files from Blender. I export them with normals and UV Coordinates. I then import them into an OpenGl application. In UV Editor i am able to display the coordinates of the cursor ...