Skip to content

Commit e53b5db

Browse files
18.0.287
1 parent c65ef5e commit e53b5db

File tree

10 files changed

+22
-18
lines changed

10 files changed

+22
-18
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,6 @@ FakesAssemblies/
216216
**/*.Server/GeneratedArtifacts
217217
**/*.Server/ModelManifest.xml
218218
_Pvt_Extensions
219+
Houdini_Template/PRT_RopDriver.o
220+
Houdini_Template/PRT_RopDriver.exp
221+
Houdini_Template/PRT_RopDriver.lib

Houdini_Template/Houdini_Template.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
<RootNamespace>Houdini_Template</RootNamespace>
2727
<Keyword>Win32Proj</Keyword>
2828
<ProjectName>PRTRop</ProjectName>
29-
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
29+
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
3030
</PropertyGroup>
3131
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3232
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
3333
<ConfigurationType>DynamicLibrary</ConfigurationType>
34-
<PlatformToolset>v141</PlatformToolset>
34+
<PlatformToolset>v142</PlatformToolset>
3535
<CharacterSet>Unicode</CharacterSet>
3636
<WholeProgramOptimization>true</WholeProgramOptimization>
3737
</PropertyGroup>
3838
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3939
<ConfigurationType>DynamicLibrary</ConfigurationType>
40-
<PlatformToolset>v141</PlatformToolset>
40+
<PlatformToolset>v142</PlatformToolset>
4141
<CharacterSet>Unicode</CharacterSet>
4242
</PropertyGroup>
4343
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -59,7 +59,7 @@
5959
<LinkIncremental>true</LinkIncremental>
6060
</PropertyGroup>
6161
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
62-
<OutDir>$(USERPROFILE)\Documents\houdini17.5\dso\</OutDir>
62+
<OutDir>$(USERPROFILE)\Documents\houdini18.0\dso\</OutDir>
6363
<IntDir>$(Configuration)\</IntDir>
6464
<LinkIncremental>false</LinkIncremental>
6565
<GenerateManifest>false</GenerateManifest>

Houdini_Template/PRT_RopDriver.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <PRM/PRM_ChoiceList.h>
3939

4040
#include <OP/OP_OperatorTable.h>
41+
#include <OP/OP_OperatorPair.h>
4142
#include <OP/OP_Director.h>
4243

4344
#include <SOP/SOP_Node.h>
@@ -328,7 +329,7 @@ static PRM_Template * getTemplates()
328329

329330
/******* PRT_RopDriver IMPL ******/
330331

331-
OP_TemplatePair * PRT_RopDriver::getTemplatePair()
332+
OP_TemplatePair *PRT_RopDriver::getTemplatePair()
332333
{
333334
static OP_TemplatePair *ropPair = 0;
334335

@@ -342,7 +343,7 @@ OP_TemplatePair * PRT_RopDriver::getTemplatePair()
342343
return ropPair;
343344
};
344345

345-
OP_VariablePair * PRT_RopDriver::getVariablePair()
346+
OP_VariablePair *PRT_RopDriver::getVariablePair()
346347
{
347348
static OP_VariablePair *varPair = 0;
348349

Houdini_Template/PRT_RopDriver.exp

86 Bytes
Binary file not shown.

Houdini_Template/PRT_RopDriver.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@
1010
#define PRT_RopDriver_PRT_RopDriver_h
1111

1212
#include <ROP/ROP_Node.h>
13+
#include <OP/OP_OperatorPair.h>
1314

1415
class PRT_RopDriver : public ROP_Node
1516
{
1617

1718
public:
19+
20+
static OP_TemplatePair* getTemplatePair();
21+
static OP_VariablePair* getVariablePair();
1822

19-
static OP_TemplatePair *getTemplatePair();
20-
static OP_VariablePair *getVariablePair();
21-
22-
static OP_Node *nodeConstructor( OP_Network *net, const char *name, OP_Operator *op );
23+
static OP_Node *nodeConstructor( OP_Network *net, const char *name, OP_Operator *op );
2324

2425
protected:
2526

PRT_RopDriver.exp

1.1 KB
Binary file not shown.

PRT_RopDriver.lib

2.51 KB
Binary file not shown.

PRT_RopDriver.o

1.11 MB
Binary file not shown.

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Installation is straight forward: just download the zip from the Releases page on the repo, then unzip the .dll file into your houdini's profile dso folder. On Windows that folder is most likely somewhere like this:
22

3-
``c:\Users\yourusername\Documents\houdini17.5\dso\``
3+
``c:\Users\yourusername\Documents\houdini18.0\dso\``
44

55
If the "dso" folder does not exist yet, just create it. Then drop the PRT_RopDriver.dll in there and start Houdini. You can then create a PRT_ROPDriver ROP node in the Outputs.
66

@@ -25,14 +25,12 @@ To build :
2525
- Clone this repo
2626
- Open houdini Command Line Tools
2727
- cd to this folder
28-
- call hcustom -I "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include" -I "C:\Program Files\Side Effects Software\Houdini 12.1.125\toolkit\include\zlib" -I "C:\Program Files\Side Effects Software\Houdini 12.1.125\toolkit\include\OpenEXR" PRT_RopDriver.cpp
28+
- call hcustom -I "C:\Program Files(x86)\Microsoft SDKs\Windows\v10.0A\Include" -I "c:\Program Files\Side Effects Software\Houdini 18.0.287\toolkit\include\zlib" -I "c:\Program Files\Side Effects Software\Houdini 18.0.287\toolkit\include\OpenEXR" Houdini_Template/PRT_RopDriver.cpp
2929

30-
Viola!
30+
If hcustom can't find MSVC, you have to set the environment variable to something like:
31+
MSVCDir=c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023
3132

33+
To use compiled version:
3234

33-
To use compiled version (12.185) :
34-
35-
- Clone this repo
36-
- Checkout "compiled" branch
37-
- Copy PRT_RopDriver.dll to Houdini DSO folder
35+
- Download release for your version and unzip into Documents/houdinigXX.0/dso folder
3836

compile.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hcustom -I "C:\Program Files(x86)\Microsoft SDKs\Windows\v10.0A\Include" -I "%HOUDINI%\toolkit\include\zlib" -I "%HOUDINI%\toolkit\include\OpenEXR" Houdini_Template/PRT_RopDriver.cpp

0 commit comments

Comments
 (0)