Compare commits

..

1 Commits

Author SHA1 Message Date
Jason Ly
3a153f91b8 edit readme and makefile 2025-07-11 16:09:03 -04:00
24 changed files with 778 additions and 81 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2026 Harvey Fong Copyright (c) 2025 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

View File

@ -1,5 +1,5 @@
# poomer-bella-sine # poomer-bella-sine
Learning prototype cross-platform command line for Bella scene creation with sine wave. 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"> <img src="resources/example.jpg">
@ -40,61 +40,55 @@ workdir/
└── poomer-bella-sine/ └── poomer-bella-sine/
``` ```
## Ubuntu Linux x64 ## MacOS (kasm-monterey)
- [ ] Install Xcode
``` ```
sudo apt install -y build-essential mkdir workdir
mkdir workdir && cd 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/jason/poomer-bella-sine.git
cd poomer-bella-sine cd poomer-bella-sine
make all -j4 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
- Download Visual Studio Community Edition
- Run VisualStudioSetup.exe
- Workload = [x] Desktop development with C++
- Individual components = [x] Git For Windows
#### x64 Native Tools for VS ## Ubuntu Linux (kasm-ubuntu)
``` ```
mkdir workdir && cd workdir sudo apt install -y build-essential curl
mkdir workdir
# Install Bella SDK cd workdir
curl -O https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz
tar -xf bella_engine_sdk-25.3.0-win32.zip 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/oom.git
git clone https://git.indoodle.com/oomer/poomer-bella-sine.git git clone https://git.indoodle.com/jason/poomer-bella-sine.git
cd poomer-bella-sine cd poomer-bella-sine
msbuild poomer-bella-sine.vcxproj /p:Configuration=release 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
- Workload = [x] Desktop developemnt with C++
- Individial components = [x] Git For Windows
Run **x64 Native Tools Command Prompt for VS 2022**
```
cd %USERPROFILE%
mkdir workdir
cd workdir
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
tar -xf bella_engine_sdk-25.3.0-win32.zip
git clone https://git.indoodle.com/oomer/oom.git
git clone https://git.indoodle.com/jason/poomer-bella-sine.git
cd poomer-bella-sine
msbuild poomer-bella-sine.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
x64\release\poomer-bella-sine.exe -r x64\release\poomer-bella-sine.exe -r
start ./untitled.png start ./untitled.png
``` ```

View File

View File

@ -0,0 +1 @@
C:\Users\Jason\workdir\poomer-bella-sine\poomer-bella-sine.cpp;C:\Users\Jason\workdir\poomer-bella-sine\poomer-b.7AEA0690\x64\release\poomer-bella-sine.obj

View File

@ -0,0 +1 @@
^C:\USERS\JASON\WORKDIR\BELLA_ENGINE_SDK\LIB\BELLA_ENGINE_SDK.LIB|C:\USERS\JASON\WORKDIR\POOMER-BELLA-SINE\POOMER-B.7AEA0690\X64\RELEASE\POOMER-BELLA-SINE.OBJ

View File

@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0:
release|x64|C:\Users\Jason\workdir\poomer-bella-sine\|

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\Jason\workdir\poomer-bella-sine\x64\release\poomer-bella-sine.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

Binary file not shown.

Binary file not shown.

720
poomer-bella-sine.bsa Normal file

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
#include "../oom/oom_license.h" // oomer's helper code for licenses #include "../oom/oom_license.h" // oomer's helper code for licenses
#include "../oom/oom_bella_long.h" // more oomer's helper code for bella, but has long data #include "../oom/oom_bella_long.h" // more oomer's helper code for bella, but has long data
#include "../oom/oom_bella_engine.h" // oomer's helper code for bella rendering #include "../oom/oom_bella_engine.h" // oomer's helper code for bella rendering
#include "../oom/oom_bella_premade.h" // oomer's helper code with premade bella scenes #include "../oom/oom_bella_premade.h" // oomer's helper code for bella scenes
#include "../oom/oom_bella_misc.h" // oomer's hlper code for bella misc code #include "../oom/oom_bella_misc.h" // oomer's hlper code for bella misc code
//============================================================================== //==============================================================================

View File

@ -1,10 +1,6 @@
<?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>
@ -20,22 +16,16 @@
<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>$(DefaultPlatformToolset)</PlatformToolset> <PlatformToolset>v141</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>$(DefaultPlatformToolset)</PlatformToolset> <PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@ -68,26 +58,6 @@
<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>
@ -108,13 +78,11 @@
<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>NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InterproceduralOptimization>NoIPO</InterproceduralOptimization> <InterproceduralOptimization>NoIPO</InterproceduralOptimization>
<LanguageStandard>stdcpp17</LanguageStandard> <LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile> </ClCompile>

BIN
untitled.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 767 KiB

Binary file not shown.

Binary file not shown.

BIN
x64/release/dl_usd_ms.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.