Questions tagged [source-code]

For questions relating to the blender c/c++ source code.

Filter by
Sorted by
Tagged with
4
votes
1answer
180 views

How does a denoiser work?

Recently I tried blender+cycles with denoiser turned on, and it's just awesome. I can use much fewer samples to get a better image. I became curious how does a denoiser work internally. I guess it's ...
2
votes
1answer
203 views

Do Cycles nodes run on CPU or GPU?

I've been looking through the blender source code and noticed that nearly all cycles shaders are programmed in OSL. However, the Wiki mentions the following: It is also possible to create your ...
2
votes
1answer
32 views

Code behind the Simple Deform Modifier

I would like to improve the documentation of the Simple Deform Modifier. Therefore, I have inspected the source code (click here to view online. The math is 'do-able'. For example: the transformation ...
2
votes
0answers
51 views

C++ Source Code, Is it possible to change the GUI? [closed]

I'm more of a graphical designer in Pphotoshop but i'd like to tackle redesigning Blender I've got the files, built the files, everything works perfectly. my only problem is I don't know where the GUI ...
1
vote
2answers
112 views

Making my own Modifier : Make Texture operate as mask on vertices

I’m would like to perform on operation in blender that I don’t think I can yet, I would like some help on how I can develop it in the right way. I would like to delete geometries depending on a ...
1
vote
1answer
52 views

Find implementation of specific class in source code

I am trying to find the following classes in the source code: SCREEN_OT_screenshot EXPORT_MESH_OT_stl However, I have no idea ...
1
vote
1answer
41 views

Do i Build Blender for every change I make in the code?

I want to see how the BVH import script in blender works. I was thinking if i could print the values of the variables at different points in the code to the console then it would help me a lot.(just ...
1
vote
1answer
45 views

How to have multiple same editor panels (eg. two user preference window) with different states?

I want to have two user preference windows so that I can quickly search for short cuts In one of them, and change themes or other settings in another one. The problem is, all user preference panels ...
1
vote
1answer
88 views

Can i run blender as on a server as a binary source code?

I want to be able to run blender on a server and use it to render images without having to install the GUI on the browser. Is such possible in blender ?
1
vote
1answer
28 views

How to check for an operator property

Trying to modify this to show up in the keymap instead of in toolsettings https://developer.blender.org/D6322 Creator says it was done as a tool setting so it can know when to draw facedots in xray. ...
1
vote
0answers
52 views

How to find python code of a built-in python operator?

To my knowledge, some built-in operators are written in python. This could be handy if I wanted to create a modified version of an operator for my add-on, since I could probably just copy the code and ...
1
vote
0answers
24 views

Is it possible to create editable 3D templates in blender?

I hope someone can help me: Is it possible to turn animations created in blender into editable 3D templates that can be used in websites or apps where users can edit the scale and add textures etc I’...
1
vote
0answers
14 views

How to remove the upper tabs from the UI?(i.e Layout, Modeling, Sculpting etc.)

I want to streamline the UI of Blender from the source, so I was wondering where I could find the code concerning those tabs because all of them are very overwhelming and I would prefer to either ...
1
vote
0answers
16 views

open source code development [closed]

I want to develop the application engine in the blender but I will improve the open source how to improve it as you will recommend the book , site , lesson , video anything. Please can you help
1
vote
0answers
13 views

running the blender on a single node of a cluster

Does any one know how to keep blender alive without doing any job on a single node of a cluster? because the addon (CrowdRender) I used to build render farm requires the access to a blender-running ...
1
vote
0answers
31 views

Where is the core code that makes up Blender's ShapeKey? [closed]

I'm looking for the core C / C ++ code that makes up Blender's ShapeKey. I'm looking for Blender standard features, not add-ons. I know Blender is open source, but I'm an amateur about Blender. ...
1
vote
0answers
89 views

Can I build Blender source code using CLion?

I'm pretty new in Blender coding. I'm only did some small things using python scripting so far. I'm facing a problem where I wish to see more about the UI components of Blender (panels, icon viewers, ...
1
vote
0answers
43 views

Where can I find information on how to control stepper motors with blender?

My goal is to build a robotic arm I can control with blender. I've seen videos showing that blender has the capability to control thing in the real world, so I know this magic can be done. I just can'...
1
vote
1answer
66 views

Nodes increment by 0.1, can this be changed?

I was looking at the sliders on nodes and I wanted a more dynamic change. When, for example, on the Fresnel node, slide it up and down it will increment or decrement by 0.1. Is there a way to modify ...
1
vote
0answers
36 views

Where should I start to learn the internals of Blender?

I have tried the new blender 2.8 canidate version and am impressed so much. I would like to learn more about the internals of it. Could you guys point me some links ? I will appreciate it. Thanks! /...
0
votes
1answer
131 views

How to build blender with Outliner Branch (or any other branch)? [closed]

I build blender with "Add OptiX device implementation to Cycles" (https://developer.blender.org/D5363). I get it, everything is fine! But! But I want build blender with outliner branch I'm doing ...
0
votes
1answer
38 views

Modify code - translation

Can you give me tips, how I can get the blender open source code, change text field to the Russian translation and publish it as an kind of addon
0
votes
1answer
55 views

override object color on Linked Group

I have a linked library I am creating with a bunch of assets. Example. A modular house sections ie. types of roofs and so on, each section made of multiple meshes. I need to quickly make houses and ...
0
votes
0answers
20 views

Hot Key for Manifold Extrude

I know that in the beta release of Blender 2.9 there is the new manifold extrude function. It allows you to erase the edges or walls from an extrude and helps provide a quicker hard surface modelling ...
0
votes
0answers
22 views

Can addons be written in C to modify parts of Blender inaccessible through Python?

My experience with and understanding of coding is currently limited to three college courses on programming for business with Java, but I'm trying to learn how to code stuff for Blender. I want to ...
0
votes
0answers
26 views

How do I find the source code for the Diffuse node?

There are a lot of tutorials about using nodes, a lot of tricks and only a bit of physics or maths that creates it. I know that everything is written in Python, but how to find source code or maths ...
0
votes
0answers
29 views

Why is Blender not procedural?

best example, changing the vertices after you add a circle, same with cylinder, sphere segments and so on. I think it is in the most 3D software like Maya, C4D and Houdini of course. Has it something ...
0
votes
0answers
14 views

Enable add-on using script doesn't work

I am trying to install and enable the add-on using api in the centos 7.6.1810 aarch64. The add-on can be installed into add-on folder and no error reported when enabling it. However, the status of the ...
0
votes
3answers
84 views

Looking for Blender source code of version 2.79.7

Where can I find the source code, corresponding to this exact build 2.79.7 blender-2.79 e045fe53f1b0 ? - https://download.blender.org/release/Blender2.79/latest/
0
votes
0answers
23 views

How to check the code of a Blender Operator?

So we can access UI element of blender's python code, but what If I want to inspect, check or study the code of existing operator in blender? Is it accessible anywhere?
0
votes
0answers
22 views

How to position the popup menu better?

Right now right-click popup menus will roughly center around the mouse cursor, which is uncomfortable because this way the popup will entirely obscure anything beneath the cursor. Normally on the ...
0
votes
0answers
12 views

Where to find the Logic Editor's Startup Routine in the source?

I've changed something in bpy__init__.py which led to the GUI not being build properly. The logic editor however was loaded correctly. I noticed that it is not possible to right-click and "Edit Source"...
0
votes
1answer
62 views

Visual Studio can't read submodule definitions in Bpy

OS: Windows Python version: 3.7.4 (is in path, system wide install) Blender version: 2.83 (from current source) Issue: I can't get Visual Studio to show code suggestions past the main bpy level. ...
0
votes
0answers
28 views

Vertically align toolshelf

I want to vertically align the toolshelf, so the main UI looks that way: If you noticed, I've already moved the navigation gizmo and associated buttons, but I've been digging into the source code and ...
0
votes
0answers
15 views

Tool bar icons in the source [duplicate]

I am looking for tool bar icon files either .svg or in any other picture format. But I couldn't find them. Other icons are in the blender_icons.svg file in "release\datafiles" Where are the tool bar ...
0
votes
0answers
22 views

Debug build of blender won't start (release works)

This is the error I get with debug configuration. Release works fine. Visual studio 2019/Windows 10
0
votes
0answers
30 views

Can I change a Thumbnail image without having to click on it (change it by code)?

I'm creating an Addon for Blender 2.8 where use a thumbnail panel: Here is my code: ...
0
votes
1answer
79 views

Blender Physics constraint implementation sources

I wanted to know where exactly in sources, Blender implements the Bullet Physics for its rigid body constraint solving. That is, where does it pass the arguments such as Rigid Bodies, their ...
0
votes
0answers
23 views

Retrieve Ray Tracer data

I need to be able to, given a scene in Cycles, extract the values of direct lighting intensity and angle of incidence for every light ray that hits a mesh. The final goal is to use these values to ...
0
votes
0answers
80 views

NameError: name 'value' is not defined

Whenever I try to click on anything, this message pops up. I've restarted, uninstalled and reinstalled, and now it seems changing the code is my last hope if I want to use Blender. Please Help!!!
0
votes
1answer
128 views

Viewport output on videocard

we are currently looking into the possibility of adding monitoring of a fullscreen viewport on SDI videocards, like the Blackmagic Decklink or Blackmagic Ultrastudio. Blackmagic Design has a SDK, with ...
0
votes
1answer
76 views

Using the node editor in a private project

Developer question: Is it possible to grab the Node editor (i.e. the one used for compositing) and define my own elements for a totally different project? I'm just looking for the nifty graphics and ...