forked from oomer/poomer-bella-sine
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| abb3243e6f | |||
| e971e47b0e | |||
| ec23989b78 |
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
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
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
80
README.md
80
README.md
@ -1,5 +1,5 @@
|
||||
# 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">
|
||||
|
||||
@ -40,55 +40,61 @@ workdir/
|
||||
└── poomer-bella-sine/
|
||||
```
|
||||
|
||||
## MacOS (kasm-monterey)
|
||||
- [ ] Install Xcode
|
||||
## Ubuntu Linux x64
|
||||
```
|
||||
mkdir workdir
|
||||
cd workdir
|
||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip
|
||||
unzip bella_engine_sdk-25.3.0-macos.zip
|
||||
sudo apt install -y build-essential
|
||||
mkdir workdir && cd workdir
|
||||
|
||||
# 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/jason/poomer-bella-sine.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
|
||||
|
||||
# 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 -j4
|
||||
bin/Darwin/release/poomer-bella-sine -r
|
||||
open ./untitled.png
|
||||
```
|
||||
|
||||
## Ubuntu Linux (kasm-ubuntu)
|
||||
```
|
||||
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/jason/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
|
||||
## Windows x64
|
||||
- Download Visual Studio Community Edition
|
||||
- Run VisualStudioSetup.exe
|
||||
- Workload = [x] Desktop developemnt with C++
|
||||
- Individial components = [x] Git For Windows
|
||||
- Workload = [x] Desktop development with C++
|
||||
- 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
|
||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
|
||||
mkdir workdir && cd workdir
|
||||
|
||||
# Install Bella SDK
|
||||
curl -O https://downloads.bellarender.com/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/jason/poomer-bella-sine.git
|
||||
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git
|
||||
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
|
||||
start ./untitled.png
|
||||
```
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="PseudoDebug|x64">
|
||||
<Configuration>PseudoDebug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@ -16,16 +20,22 @@
|
||||
<ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<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">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
@ -58,6 +68,26 @@
|
||||
<DelayLoadDLLs>vulkan-1.dll</DelayLoadDLLs>
|
||||
</Link>
|
||||
</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'">
|
||||
<ClCompile>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
@ -78,11 +108,13 @@
|
||||
<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>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<InterproceduralOptimization>NoIPO</InterproceduralOptimization>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
</ClCompile>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user