9 votes
Accepted

Can I use Blender to set up game logic?

Technically you might be able to, with a lot of Python scripting & brain power. I would recommend using a real game engine, though, like Godot, which has excellent Blender integration.
dr. Sybren's user avatar
  • 7,129
6 votes
Accepted

What is the difference between "Mesh" and "Geometry" in Geometry Nodes (or in general)?

You are confused about a lot of things, let me explain step by step: Name in group output doesn't matter. You can name output as you like, and it will work: Name can be changed in Properties panel N,...
Crantisz's user avatar
  • 33.6k
5 votes

Can I use Blender to set up game logic?

I would recommend using UPBGE. So you don't have to "learn" two different systems and it's all inside Blender itself. You can download it here: https://upbge.org/download It's for free as ...
Chris's user avatar
  • 54.3k
5 votes
Accepted

Do Cycles nodes run on CPU or GPU?

Cycles implements the shaders for both CPU and GPU through the shader virtual machine which can be found in /intern/cycles/kernel/svm. The same nodes are also separately implemented in the Open ...
Robert Gützkow's user avatar
  • 25.4k
5 votes
Accepted

Accessing C pointers to vertices in Blender's Python API

The ctypes module can create a C-compatible array from a Python list of Vertex objects. But you can also just take the pointer of the first vertex ...
Harry McKenzie's user avatar
4 votes
Accepted

Looking for code files

The implementation of the correlated multi-jitter can be found in blender/intern/cycles/kernel/kernel_jitter.h . The functions are called ...
Robert Gützkow's user avatar
  • 25.4k
4 votes
Accepted

How to enable or disable panels with the click of a button

It's a panels poll method The panels are defined and sitting there polling away, waiting to "show". The poll classmethod of a panel returns true only when the required context (or otherwise ...
batFINGER's user avatar
  • 83.5k
4 votes
Accepted

How does blender pick the face you are pointing at?

Blender uses BVH tree search, it is quite standard for ray casting. A bounding volume hierarchy (BVH) is a tree structure on a set of geometric objects. All geometric objects, that form the leaf ...
Crantisz's user avatar
  • 33.6k
4 votes
Accepted

Schlick's approximation in Blender?

That function is called from the Principled Shader during sheen and diffuse calculations. But it's not exposed as a separate function or in a node. This search returns all of the references to the ...
Marty Fouts's user avatar
  • 32.7k
3 votes

How do I do animation using csv file?

I'm assuming that you want to apply the animation to the current object. I'm also assuming that the csv file does not have the column headings but only the data. Finally, I'm assuming that the ...
Marty Fouts's user avatar
  • 32.7k
3 votes
Accepted

Find implementation of specific class in source code

It depends whether the operator is from an add-on or implemented in Blender itself. The former will be from a Python script, while the latter is implemented in C or C++ and is accessible through the ...
Robert Gützkow's user avatar
  • 25.4k
3 votes

What is the difference between "Mesh" and "Geometry" in Geometry Nodes (or in general)?

The difference is that a Geometry Node input can accept Mesh or Volume data, while a mesh input only accepts the former.
Jakemoyo's user avatar
  • 4,335
3 votes

What is the difference between "Mesh" and "Geometry" in Geometry Nodes (or in general)?

What is the difference between "Mesh" and "Geometry" in Geometry Nodes (or in general)? In short and (very) simplified terms: A Mesh, as the name suggests, quite explicitly ...
quellenform's user avatar
  • 33.5k
2 votes

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

A possibility (to avoid a bit difficult coding), more than a real answer: Use a displacement modifier on a cutting object. Then use this cutting object for a boolean 'difference' operation on the ...
lemon's user avatar
  • 53.2k
2 votes
Accepted

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

In order to build the outliner branch you switch to that branch first. git checkout soc-2019-outliner Make sure that the branch is up-to-date: ...
Robert Gützkow's user avatar
  • 25.4k
2 votes

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

No you don't. The BVH import addon is a python script. You should be able to disable/enable the addon after you make changes so that blender reloads the scripts. At most you may need to restart ...
sambler's user avatar
  • 55.1k
2 votes

Code behind the Simple Deform Modifier

After further research. The Simple Deform modifier modes are in fact basic operations of rotating (Twist & Bend) and scaling (Taper & Stretch). The code for the Taper function is given above. ...
Husch's user avatar
  • 593
2 votes

Node Editor - Python - Expose listed Node Groups dynamically in Node shelf panel

That's actually quite simple. bpy.data.node_groups returns a collection of all available node groups within the file. You just have to make sure that ...
brockmann's user avatar
  • 12.3k
2 votes

How does Blender compute local rotation axes for pose bones?

It's important that there's nothing that makes bones use some weird coordinate space where the base orientation is Y-up, unlike everything else. They exist in the exact same space as anything else. ...
Nathan's user avatar
  • 21k
2 votes
Accepted

Remesh modifier script won't let me modify scale

Property voxelgenScale is outside the permitted range for scale. ...
relaxed's user avatar
  • 2,092
2 votes

Can I use Blender to set up game logic?

Blender can definitely be used to setup levels, tag game objects with properties. Since you mentioned blocks, you can use the remesh modifier set to "blocks mode", so that you can control ...
sgatn's user avatar
  • 21
1 vote

How to know what's happening with a patch I submitted for Blender

Don't be afraid to nudge the developers if it's been a while. You could do that on https://blender.chat in the #blender-coders channel, or by mentioning the ...
Wossname's user avatar
  • 718
1 vote

Git Flow when coding for blender

You work with source code in the src folder of the cloned blender repo directly. If there is no project file for the IDE included (in your case the Visual Studio Solution) you need to create one and ...
Blunder's user avatar
  • 13.5k
1 vote

Has anyone edited the blender source code to enable unlimited undo's?

The Undo feature in the blender works by storing a copy of the file inside computer memory for every single thing you do. It means that you really can't have infinite undo steps availible. However, ...
Eric Xue's user avatar
  • 1,793
1 vote

Hot Key for Manifold Extrude

press alt+e and assign shortcut to extrude manifold, so you don't need to keep toggling dissolve orthogonal edge every time you extrude
Irvan Qadri's user avatar
1 vote

Looking for Blender source code of version 2.79.7

The source code of blender is available in a git repository, as documented in the blender wiki, which explains how to build the code for your operating system: git.blender.org/blender.git There is ...
Mehdi's user avatar
  • 424
1 vote
Accepted

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

keyword : active_section Steps: Replicate the following sRNA fragment from makesrna/rna_userdef.c to rna_space.c : ...
KnIfER's user avatar
  • 121
1 vote
Accepted

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

You could always just right-click on those tabs and delete, with the possibility of deleting all of them except one: It's possible to rename them by double clicking on the text. Alternatively, you ...
Increality's user avatar
1 vote
Accepted

Blender Physics constraint implementation sources

The following files contain the implementation of the rigid bodies: properties_physics_rigidbody.py: UI panels in the physics tab for the Rigid Body ...
Robert Gützkow's user avatar
  • 25.4k
1 vote

How does a denoiser work?

I am a beginner at blender but found your question amusing enough to want to find out. According to this source, Blender has just adopted Intel's Open Image Denoiser. From what I understand (...
Junkflex's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible