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.
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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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:
...
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 ...
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.
...
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 ...
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. ...
2
votes
Accepted
Remesh modifier script won't let me modify scale
Property voxelgenScale is outside the permitted range for scale.
...
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 ...
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 ...
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 ...
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, ...
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
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 ...
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 :
...
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 ...
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
...
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 (...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
source-code × 78python × 17
scripting × 14
add-on × 7
development × 7
cycles-render-engine × 6
rendering × 5
node-editor × 5
interface × 5
shaders × 4
animation × 3
modifiers × 3
versions × 3
modeling × 2
mesh × 2
texturing × 2
rigging × 2
camera × 2
vertices × 2
command-line × 2
geometry-nodes × 2
panel × 2
osl × 2
documentation × 2
encoding × 2