Skip to content

Commit

Permalink
files refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Neill3d committed Apr 21, 2018
1 parent 31b1a3e commit ef23dea
Show file tree
Hide file tree
Showing 97 changed files with 2,893 additions and 20 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
##
## BVH Import\Export Tool for Autodesk MotionBuilder
##
## MoBu project on GitHub - https://github.com/Neill3d/MoBu
## OpenMoBu project on GitHub - https://github.com/Neill3d/OpenMoBu
##
## Author Sergey Solohin (Neill3d) 2014
## Author Sergei Solokhin (Neill3d) 2014-2018
## e-mail to: [email protected]
## www.neill3d.com
##
##
## Lisenced under the "New" BSD License - https://github.com/Neill3d/MoBu/blob/master/LICENSE
## Lisenced under the "New" BSD License - https://github.com/Neill3d/OpenMoBu/blob/master/LICENSE
##
#########################################################################################

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added Setup_Compiler/Neill3d2.bmp
Binary file not shown.
Binary file removed Setup_Compiler/Neill3d2.jpg
Binary file not shown.
Binary file added Setup_Compiler/Neill3d_sm.bmp
Binary file not shown.
37 changes: 33 additions & 4 deletions Setup_Compiler/OpenMoBu.iss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define MyAppName "OpenMoBu for Autodesk® MotionBuilder®"
#define MyAppVersion "0.5a"
#define MyAppPublisher "Neill3d"
#define MyAppURL "https://github.com/Neill3d/MoBu"
#define MyAppURL "https://github.com/Neill3d/OpenMoBu"
#define MyAppExeName "Setup_OpenMoBu_05a"

[Languages]
Expand All @@ -28,9 +28,9 @@ OutputBaseFilename={#MyAppExeName}
Compression=lzma
SolidCompression=yes
AppCopyright=Copyright (C) 2018 Neill3d
;WizardImageFile=Neill3d2.jpg
WizardImageFile=Neill3d2.bmp
WizardImageStretch=no
;WizardSmallImageFile=Neill3d2.jpg
WizardSmallImageFile=Neill3d_sm.bmp
DisableWelcomePage=no

[Types]
Expand All @@ -47,11 +47,40 @@ Name: "MotionBuilder2018"; Description: "MotionBuilder 2018 plugins"; Types: ful
[Files]

; 2017

Source: "..\bin\x64\plugins_2017\autoInterpPatch.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\box_poseReader.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\box_rayIntersect.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\box_spring.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\device_projectTango.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\driven_constraint.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\manip_lockcamera.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\post_processing.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\references_manager.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\SuperDynamicLighting.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\FBX\FBXExtension_References.dll"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\FBX\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\bin\x64\plugins_2017\GLSL\*"; DestDir: "{code:MoBu_Path64|2017}\bin\x64\plugins\GLSL\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\PythonScripts\Startup\*"; DestDir: "{userdocs}\MB\2017-x64\config\PythonStartup\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\PythonScripts\Startup\MBFileRefAdvanced\*"; DestDir: "{userdocs}\MB\2017-x64\config\PythonStartup\MBFileRefAdvanced\"; Flags: ignoreversion; Components: MotionBuilder2017
Source: "..\PythonScripts\Actions\*"; DestDir: "{code:MoBu_Path64|2017}\bin\config\Scripts\Neill3d\"; Flags: ignoreversion; Components: MotionBuilder2017

; 2018
Source: "..\bin\x64\plugins_2018\manip_lockcamera.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018

;Source: "..\bin\x64\plugins_2018\autoInterpPatch.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\box_poseReader.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\box_rayIntersect.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\box_spring.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\device_projectTango.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\driven_constraint.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\manip_lockcamera.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\post_processing.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\references_manager.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\SuperDynamicLighting.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\FBX\FBXExtension_References.dll"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\FBX\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\bin\x64\plugins_2018\GLSL\*"; DestDir: "{code:MoBu_Path64|2018}\bin\x64\plugins\GLSL\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\PythonScripts\Startup\*"; DestDir: "{userdocs}\MB\2018-x64\config\PythonStartup\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\PythonScripts\Startup\MBFileRefAdvanced\*"; DestDir: "{userdocs}\MB\2018-x64\config\PythonStartup\MBFileRefAdvanced\"; Flags: ignoreversion; Components: MotionBuilder2018
Source: "..\PythonScripts\Actions\*"; DestDir: "{code:MoBu_Path64|2018}\bin\config\Scripts\Neill3d\"; Flags: ignoreversion; Components: MotionBuilder2018

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

Expand Down
2 changes: 1 addition & 1 deletion Setup_Compiler/infoAfter_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
---
Best regards, Sergei Solokhin (Neill3d)

OpenMoBu homepage: https://github.com/Neill3d/MoBu
OpenMoBu homepage: https://github.com/Neill3d/OpenMoBu
2 changes: 1 addition & 1 deletion Setup_Compiler/infoAfter_ru.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
---
� ���������, ������ ������� (Neill3d)

OpenMoBu homepage: https://github.com/Neill3d/MoBu
OpenMoBu homepage: https://github.com/Neill3d/OpenMoBu
19 changes: 15 additions & 4 deletions Setup_Compiler/infoBefore_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,29 @@ Plugins
* relation box - poseReader
* relation box - ray Intersect
* relation box - spring
* device - project Tango
* constraint - driven
* manager - view camera locker
* manager - auto interpolation patch
* manager - post processing
* manager - references
* shader - super lighting
* fbx extension references

Scripts
- SetUV name
Scripts\Neill3d
- AssignUVSet
- GlobalSceneRetiming
- MakeCircle

Script Tools
Script Startup Tools
- additive animation tool
- post processing tool
- cleanup manager
- reference advanced tool
- restructuring
- stay on floor

== Contact ==

Sergei Solokhin (Neill3d)
OpenMoBu homepage: https://github.com/Neill3d/MoBu
OpenMoBu homepage: https://github.com/Neill3d/OpenMoBu
21 changes: 16 additions & 5 deletions Setup_Compiler/infoBefore_ru.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,33 @@
�������������� ������
- 2017, 2018

�������
Plugins
* relation box - poseReader
* relation box - ray Intersect
* relation box - spring
* device - project Tango
* constraint - driven
* manager - view camera locker
* manager - auto interpolation patch
* manager - post processing
* manager - references
* shader - super lighting
* fbx extension references

������� ��������
- SetUV name
Scripts\Neill3d
- AssignUVSet
- GlobalSceneRetiming
- MakeCircle

������� �������
Script Startup Tools
- additive animation tool
- post processing tool
- cleanup manager
- reference advanced tool
- restructuring
- stay on floor

== �� ������ � ������� ==

Sergei Solokhin (Neill3d)
OpenMoBu homepage: https://github.com/Neill3d/MoBu
OpenMoBu homepage: https://github.com/Neill3d/OpenMoBu
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ start xcopy /Y /R "$(ProjectDir)\GLSL\*" "$(ADSK_MOBU_2017_64)\bin\x64\plugins\G
</Link>
<PostBuildEvent>
<Command>copy /Y "$(TargetDir)$(TargetName).dll" "$(ADSK_MOBU_2018_64)\bin\x64\plugins\$(TargetName).dll"
start xcopy /Y /R "$(ProjectDir)\GLSL\*" "$(ADSK_MOBU_2018_64)\bin\x64\plugins\GLSL"</Command>
xcopy /Y /R "$(ProjectDir)\GLSL\*" "$(ADSK_MOBU_2018_64)\bin\x64\plugins\GLSL\"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Expand Down
59 changes: 59 additions & 0 deletions bin/x64/plugins_2018/GLSL/blur.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
//
// Fragment shader - Blur (Bilateral)
//
// Post Processing Toolkit
// Created by Sergey <Neill3d> Solokhin (c) 2018
// Special for Les Androids Associes
//

const float KERNEL_RADIUS = 3.0;

uniform sampler2D sampler0;
uniform sampler2D linearDepthSampler;

uniform float g_Sharpness;
uniform vec2 g_InvResolutionDirection; // either set x to 1/width or y to 1/height

//-------------------------------------------------------------------------

vec4 BlurFunction(vec2 uv, float r, vec4 center_c, float center_d, inout float w_total)
{
vec4 c = texture2D( sampler0, uv );
float d = texture2D( linearDepthSampler, uv).x;

const float BlurSigma = float(KERNEL_RADIUS) * 0.5;
const float BlurFalloff = 1.0 / (2.0*BlurSigma*BlurSigma);

float ddiff = (d - center_d) * g_Sharpness;
float w = exp2(-r*r*BlurFalloff - ddiff*ddiff);
w_total += w;

return c*w;
}

void main (void)
{
vec2 texCoord = gl_TexCoord [0].st;

vec4 center_c = texture2D( sampler0, texCoord );
float center_d = texture2D( linearDepthSampler, texCoord).x;

vec4 c_total = center_c;
float w_total = 1.0;

for (float r = 1.0; r <= KERNEL_RADIUS; ++r)
{
vec2 uv = texCoord + g_InvResolutionDirection * r;
c_total += BlurFunction(uv, r, center_c, center_d, w_total);
}

for (float r = 1.0; r <= KERNEL_RADIUS; ++r)
{
vec2 uv = texCoord - g_InvResolutionDirection * r;
c_total += BlurFunction(uv, r, center_c, center_d, w_total);
}

vec4 out_Color = c_total/w_total;

gl_FragData [0] = out_Color;
}
Loading

0 comments on commit ef23dea

Please sign in to comment.