2026 cleanup pass
This commit is contained in:
parent
e971e47b0e
commit
abb3243e6f
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2025 Harvey Fong
|
Copyright (c) 2026 Harvey Fong
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
74
README.md
74
README.md
@ -1,5 +1,5 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
<img src="resources/example.jpg">
|
<img src="resources/example.jpg">
|
||||||
|
|
||||||
@ -40,13 +40,35 @@ workdir/
|
|||||||
└── poomer-bella-sine/
|
└── poomer-bella-sine/
|
||||||
```
|
```
|
||||||
|
|
||||||
## MacOS (kasm-monterey)
|
## Ubuntu Linux x64
|
||||||
- [ ] Install Xcode
|
|
||||||
```
|
```
|
||||||
mkdir workdir
|
sudo apt install -y build-essential
|
||||||
cd workdir
|
mkdir workdir && cd workdir
|
||||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip
|
|
||||||
|
# Install Bella SDK
|
||||||
|
wget https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz
|
||||||
|
tar -xvf bella_engine_sdk-25.3.0.tar.gz
|
||||||
|
|
||||||
|
# Build poomer-bella-sine
|
||||||
|
git clone https://git.indoodle.com/oomer/oom.git
|
||||||
|
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
||||||
|
cd poomer-bella-sine
|
||||||
|
make all -j$(nproc)
|
||||||
|
bin/Linux/release/poomer-bella-sine -r
|
||||||
|
file ./untitled.png
|
||||||
|
```
|
||||||
|
## MacOS x64
|
||||||
|
```
|
||||||
|
# Install xcode
|
||||||
|
xcode-select --install
|
||||||
|
|
||||||
|
mkdir workdir && cd workdir
|
||||||
|
|
||||||
|
# Install Bella SDK
|
||||||
|
curl -O https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip
|
||||||
unzip bella_engine_sdk-25.3.0-macos.zip
|
unzip bella_engine_sdk-25.3.0-macos.zip
|
||||||
|
|
||||||
|
# Build poomer-bella-sine
|
||||||
git clone https://git.indoodle.com/oomer/oom.git
|
git clone https://git.indoodle.com/oomer/oom.git
|
||||||
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
||||||
cd poomer-bella-sine
|
cd poomer-bella-sine
|
||||||
@ -54,41 +76,25 @@ make all -j4
|
|||||||
bin/Darwin/release/poomer-bella-sine -r
|
bin/Darwin/release/poomer-bella-sine -r
|
||||||
open ./untitled.png
|
open ./untitled.png
|
||||||
```
|
```
|
||||||
|
## Windows x64
|
||||||
## Ubuntu Linux (kasm-ubuntu)
|
- Download Visual Studio Community Edition
|
||||||
```
|
|
||||||
sudo apt install -y build-essential curl
|
|
||||||
mkdir workdir
|
|
||||||
cd workdir
|
|
||||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz
|
|
||||||
tar -xvf bella_engine_sdk-25.3.0.tar.gz
|
|
||||||
git clone https://git.indoodle.com/oomer/oom.git
|
|
||||||
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
|
||||||
cd poomer-bella-sine
|
|
||||||
make all -j4
|
|
||||||
bin/Linux/release/poomer-bella-sine -r
|
|
||||||
file ./untitled.png
|
|
||||||
```
|
|
||||||
|
|
||||||
## Windows (win10 enterprise)
|
|
||||||
- [optioanl] Install https://git-scm.com
|
|
||||||
|
|
||||||
- Download Visual Studio Community Edition 2022
|
|
||||||
- Run VisualStudioSetup.exe
|
- Run VisualStudioSetup.exe
|
||||||
- Workload = [x] Desktop developemnt with C++
|
- Workload = [x] Desktop development with C++
|
||||||
- Individial components = [x] Git For Windows
|
- Individual components = [x] Git For Windows
|
||||||
|
|
||||||
Run **x64 Native Tools Command Prompt for VS 2022**
|
#### x64 Native Tools for VS
|
||||||
```
|
```
|
||||||
cd %USERPROFILE%
|
mkdir workdir && cd workdir
|
||||||
mkdir workdir
|
|
||||||
cd workdir
|
# Install Bella SDK
|
||||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
|
curl -O https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
|
||||||
tar -xf bella_engine_sdk-25.3.0-win32.zip
|
tar -xf bella_engine_sdk-25.3.0-win32.zip
|
||||||
|
|
||||||
|
# Build poomer-bella-sine
|
||||||
git clone https://git.indoodle.com/oomer/oom.git
|
git clone https://git.indoodle.com/oomer/oom.git
|
||||||
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
||||||
cd poomer-bella-sine
|
cd poomer-bella-sine
|
||||||
msbuild poomer-bella-sine.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
|
msbuild poomer-bella-sine.vcxproj /p:Configuration=release
|
||||||
x64\release\poomer-bella-sine.exe -r
|
x64\release\poomer-bella-sine.exe -r
|
||||||
start ./untitled.png
|
start ./untitled.png
|
||||||
```
|
```
|
||||||
|
|||||||
@ -1,6 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="PseudoDebug|x64">
|
<ProjectConfiguration Include="PseudoDebug|x64">
|
||||||
<Configuration>PseudoDebug</Configuration>
|
<Configuration>PseudoDebug</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
@ -16,16 +20,22 @@
|
|||||||
<ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid>
|
<ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<PlatformToolset>v141</PlatformToolset>
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
@ -58,6 +68,26 @@
|
|||||||
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
|
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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>
|
||||||
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||||
|
</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="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
@ -78,11 +108,13 @@
|
|||||||
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
|
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="$(PlatformToolset.Contains('Intel'))">
|
<ItemDefinitionGroup Condition="$(PlatformToolset.Contains('Intel'))">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
<PreprocessorDefinitions>_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<InterproceduralOptimization>NoIPO</InterproceduralOptimization>
|
<InterproceduralOptimization>NoIPO</InterproceduralOptimization>
|
||||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user