You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/SM-guide/002-preference-settings.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ description: An overview of TouchDesigner preferences
4
4
slug: /SM-guide/preferences
5
5
---
6
6
7
-
# Recommended Preference Settings
7
+
##Recommended Preference Settings
8
8
9
-
Preferences is a dialog for setting personal default settings for various TouchDesigner options. These preferences are found in the Edit menu under Preferences.... These options are saved so they apply to your next TouchDesigner session.
9
+
Preferences is a dialog for setting personal default settings for various TouchDesigner options. These preferences are found in the Edit menu under Preferences.... These options are saved so they apply to your next TouchDesigner session.
10
10
11
11
From the Edit menu select the Preferences dialog box. Alternatively, you could use the keyboard short-cut Alt + p
12
12
@@ -15,41 +15,45 @@ Here you’ll find a number of preferences for setting up your TouchDesigner env
15
15
Alternatively, you can find the preference file located here:
16
16
17
17
Platform | Path |
18
-
:--- | :--- |
18
+
:--- | :--- |
19
19
Windows | `C:/Users/{username}/AppData/Local/Derivative/TouchDesigner/pref.txt`
By default the grid snap setting in TouchDesigner is set to course. Most of the networks you’ll find in our repos have been set with a fine network grid, which means if you re-arrange an operator, it will be difficult to find your way back into alignment with the project. For this reason, it’s worth changing your Snap to Grid to be fine.
24
25
25
26
## Resize
27
+
26
28
For the sanity of other programmers, it’s well worth turning off the resize TOP and COMP checkboxes in your Network preferences tab. This keeps a uniform look to all TOPs and COMPs unless you choose to specifically deviate from the normal size.
27
29
28
30
This is often an area of spirited discussion, and programmers often have very specific opinions about the right approach for sizing and network organization. That being said, it’s worth remembering that a formal structure to the choices made in sizing and placement help make a TouchDesigner network more readable and navigable. First starting with normed sizes allows the programmer to make specific choices, rather than arbitrary ones – a common byproduct of the use of auto resizing. for both TOPs and COMPs.
29
31
30
32
Said another way, if the size and placement of your operators communicates meaning in your networks - then it's in your best intrest to make those decisiosn conscisouly.
31
33
32
34
## External Editors
35
+
33
36
It’s often desirable to have an external editor for text and table elements in touch. Many of us use Sublime Text thought there are a wide variety of text editors that you might choose. External editors allow for syntax highlighting, and a variety of advanced features for speeding up the process of writing code. To set an external editor you need to use the DATs tab of the preferences window. Here you’ll find two fields where you can enter the paths to the executables for the applications you’d like to use.
34
37
35
38
An example preference file:
36
39
37
40
```
38
-
dats.texteditorC:/Users/ragan/AppData/Local/Programs/Microsoft VS Code/Code.exe
39
-
obj.adaptivehomedefault0
40
-
chops.graphdisplay26
41
-
network.fitpaneltotile0
42
-
general.inc0
43
-
network.zoomdelay0.19999999
44
-
network.gridsnapdiv2
45
-
network.fittoptotile0
46
-
network.zoomboost1.0000002
41
+
dats.texteditorC:/Users/ragan/AppData/Local/Programs/Microsoft VS Code/Code.exe
Copy file name to clipboardExpand all lines: docs/docs/SM-guide/004-network-organization.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ description: Organizing your thoughts and your noodles
4
4
slug: /SM-guide/network-organization
5
5
---
6
6
7
-
# Network Organization
8
-
9
7
A network’s re-usability lives and dies in its organization and structuring. While there are limits to a modular approach, it’s well worth considering the larger implications around cultivating a forward focused temperament when building new systems. Every project will eventually come up against deadlines, changes orders, and the necessities of project delivery. To the best of our abilities, however, we might consider a tempered approach to thinking about how a particular element might be able to be used and re-used in future projects.
10
8
11
9
To that end, clear organization and careful planning help facilitate this process. For the sake of a simple case study, let’s for a moment consider instancing networks. For the uninitiated, instancing allows you to reuse a single piece of geometry once it’s been passed to the GPU. This method of drawing geometry is significantly cheaper, computationally, than drawing additional copies of the geometry on the CPU. In principle, you only draw the geometry once, then create a transformation matrix for subsequent copies of the original geometry. The transformation of the copies is most efficiently done in CHOP channels, sometimes initially fed by a geometry converted to channel data.
@@ -25,8 +23,6 @@ If you’re not yet sold on this idea, at the very least consider dividing up yo
25
23
* Limit the complexity of any given network – if you find a network is growing to be too sprawling, how might you re-organize or compartmentalize your implementation?
26
24
* Think of your work in terms of a test against the other members of the team – would this structure and approach pass a Barry test? a Vlad test? a Bryant test?
0 commit comments