added image, updated docs, added untested vcxproj

This commit is contained in:
Harvey Fong 2025-04-18 10:36:32 -06:00
parent 8923016821
commit a0cb3cf04d
3 changed files with 165 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# poomer-bella-sine # poomer-bella-sine
Learning prototype cross-platform command line for Bella scene creation with sine wave. Depends on https://github.com/oomer/oom Learning prototype cross-platform command line for Bella scene creation with sine wave. Depends on https://github.com/oomer/oom
<img src="resources/example.jpg">
# Build # Build
``` ```
@ -16,6 +18,9 @@ Download SDK for your OS and drag bella_engine_sdk into your workdir. On Windows
- [bella_engine_sdk Linux](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz) - [bella_engine_sdk Linux](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz)
- [bella_engine_sdk Win](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.zip) - [bella_engine_sdk Win](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.zip)
# MacOS (tested) and Linux (untested)
``` ```
mkdir workdir mkdir workdir
cd workdir cd workdir
@ -24,3 +29,14 @@ git clone https://github.com/oomer/poomer-bella-sine.git
cd poomer-bella-sine cd poomer-bella-sine
make all -j4 make all -j4
``` ```
# Windows (untested)
```
mkdir workdir
cd workdir
git clone https://github.com/oomer/oom.git
git clone https://github.com/oomer/poomer-bella-sine.git
cd poomer-bella-sine
msbuild poomer-bella-sine.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
```

149
poomer-bella-sine.vcxproj Normal file
View File

@ -0,0 +1,149 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="PseudoDebug|x64">
<Configuration>PseudoDebug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'">
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>PSEUDODEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>Disabled</Optimization>
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
<AdditionalIncludeDirectories>..\bella_engine_sdk\src;..\oom</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\bella_engine_sdk\lib</AdditionalLibraryDirectories>
<AdditionalDependencies>bella_engine_sdk.lib;Shlwapi.lib;vulkan-1.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\bella_engine_sdk\src;..\oom</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\bella_engine_sdk\lib</AdditionalLibraryDirectories>
<AdditionalDependencies>bella_engine_sdk.lib;Shlwapi.lib;vulkan-1.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(PlatformToolset.Contains('Intel'))">
<ClCompile>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<PreprocessorDefinitions>_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InterproceduralOptimization>NoIPO</InterproceduralOptimization>
</ClCompile>
<Link>
<InterproceduralOptimization>false</InterproceduralOptimization>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<PostBuildEvent>
<Command>echo Post-build event started &amp;
copy "$(ProjectDir)..\bella_engine_sdk\lib\bella_engine_sdk.dll" "$(TargetDir)" &amp;
echo bella_engine_sdk.dll copied &amp;
copy "$(ProjectDir)..\bella_engine_sdk\lib\dl_core.dll" "$(TargetDir)" &amp;
echo dl_core.dll copied &amp;
copy "$(ProjectDir)..\bella_engine_sdk\lib\dl_oidn_core.dll" "$(TargetDir)" &amp;
echo dl_oidn_core.dll copied &amp;
echo Post-build event finished</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\api.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_engine.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_nodeapi.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_scene.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_sceneapi.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_types.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\api.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_args.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_array.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_compress.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_defines.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_file.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_fs.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_hash.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_hashmap.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_hw.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_licensing.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_logging.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_main.inl" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_math.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_nullable.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_os.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_path.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_pcgrng.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_platform.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_references.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_refvector.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_string.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_stringio.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_time.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_topomap.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_types.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_vector.h" />
<ClInclude Include="..\bella_engine_sdk\src\dl_core\dl_version.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="poomer-bella-sine.cpp" />
</ItemGroup>
<ItemGroup>
<Library Include="..\bella_engine_sdk\lib\bella_engine_sdk.lib" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

BIN
resources/example.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 KiB