Skip to content

Commit

Permalink
Merge branch 'master' of E:\SourceCode\MfxHoudini
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Jun 21, 2020
2 parents 83c4a5c + 08321a0 commit ecc1d82
Show file tree
Hide file tree
Showing 26 changed files with 5,563 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build-*/
releases/
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cmake_minimum_required(VERSION 3.0)
project(MfxHoudini)

add_subdirectory(src)
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ Houdini-Engine Open Mesh Effect

This is an [Open Mesh Effect](https://github.com/eliemichel/OpenMeshEffect) plugin based on the Houdini Engine. It can convert any OBJ or SOP based Houdini Digital Asset library (.hda or .otls file) into an Open Mesh Effect plugin. This plugin may be used for instance as a Blender modifier thanks to the [OpenMeshEffectForBlender](https://github.com/eliemichel/OpenMeshEffectForBlender) branch.

*Coming soon, see WIP on [twitter](https://twitter.com/exppad/status/1150804375142567938)*

This effect requires that you have a valid Houdini Engine Licence and that the houdini engine is present in the `PATH` environment variable.
19 changes: 19 additions & 0 deletions build-gcc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# Place all build related files in a specific directory.
# Whenever you'd like to clean the build and restart it from scratch, you can
# delete this directory without worrying about deleting important files.
mkdir build-gcc
cd build-gcc

# Call cmake to generate the Makefile. You can then build with 'make' and
# install with 'make install'
cmake ..

# Check that it run all right
if [ $? -eq 0 ]
then
echo Successful
else
echo Unsuccessful
fi
19 changes: 19 additions & 0 deletions build-mingw.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
:: Place all build related files in a specific directory.
:: Whenever you'd like to clean the build and restart it from scratch, you can
:: delete this directory without worrying about deleting important files.
mkdir build-mingw
cd build-mingw

:: Call cmake to generate the MinGW solution
:: If Houdini is not found, you can specify its location using e.g. -DHoudini_DIR=C:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake
cmake .. -G "MinGW Makefiles" -DHoudini_DIR="E:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake"

@echo off
:: Check that it run all right
if errorlevel 1 (
echo Unsuccessful
) else (
echo Successful
echo "You can now run 'mingw32-make' in directory 'build-mingw'"
)
pause
18 changes: 18 additions & 0 deletions build-msvc15.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
:: Place all build related files in a specific directory.
:: Whenever you'd like to clean the build and restart it from scratch, you can
:: delete this directory without worrying about deleting important files.
mkdir build-msvc15
cd build-msvc15

:: Call cmake to generate the all configured Visual Studio solution
:: If Houdini is not found, you can specify its location using e.g. -DHoudini_DIR=C:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake
cmake .. -G "Visual Studio 15 2017 Win64" -DHoudini_DIR="E:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake"

@echo off
:: Check that it run all right
if errorlevel 1 (
echo Unsuccessful
) else (
echo Successful
)
pause
18 changes: 18 additions & 0 deletions build-msvc16.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
:: Place all build related files in a specific directory.
:: Whenever you'd like to clean the build and restart it from scratch, you can
:: delete this directory without worrying about deleting important files.
mkdir build-msvc16
cd build-msvc16

:: Call cmake to generate the all configured Visual Studio solution
:: If Houdini is not found, you can specify its location using e.g. -DHoudini_DIR=C:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake
cmake .. -G "Visual Studio 16 2019" -A x64 -DHoudini_DIR="E:/Program Files/Side Effects Software/Houdini 17.5.258/toolkit/cmake"

@echo off
:: Check that it run all right
if errorlevel 1 (
echo Unsuccessful
) else (
echo Successful
)
pause
23 changes: 23 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ***** BEGIN APACHE 2 LICENSE BLOCK *****
#
# Copyright 2019 Elie Michel
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ***** END APACHE 2 LICENSE BLOCK *****

add_library(openmesheffect_openfx INTERFACE)
target_include_directories(openmesheffect_openfx INTERFACE openfx)

add_subdirectory(util)
add_subdirectory(plugins)
Loading

0 comments on commit ecc1d82

Please sign in to comment.