Comments (10)
Ah, it now loads when I put it inside of assets. I have no idea why it put it there, thanks.
from overload.
I cannot seem to reproduce this issue. You have to know that resources such as Materials needs to be explicitly saved independently, otherwise the visual appearance of your objects while editing the Material settings won't be kept between sessions.
from overload.
I didn't create any materials I just created a cube.
from overload.
So if you create a new project with Overload, you create a scene, you add a cube, you save, and you exit, what do you have in the .ovscene
file? What happens when you load the scene?
from overload.
in the .ovscene file i see a type that uses the cube primitive but in the viewport there is no cube
from overload.
Can you provide your .ovscene
content here? Also:
- Is your scene (
.ovscene
) saved under theAssets
folder of your project? - Is your project folder created at a protected location requiring administrator rights)?
- Is your scene properly saved? (File --> Save Scene)
- Is your scene properly loaded in the editor? (Locate your scene in the
Asset Browser
, right click on it, clickEdit
) - Which version of Overload are you using?
from overload.
My ovscene file is outside of assets in the main projectile. It is in documents so it shouldn't need admin. I have saved it properly and I am using the latest version of overload develop. It is properly loaded in the editor.
from overload.
<root>
<scene>
<actors>
<actor>
<name>Directional Light</name>
<tag></tag>
<active>true</active>
<id>1</id>
<parent>0</parent>
<components>
<component>
<type>class OvCore::ECS::Components::CDirectionalLight</type>
<data>
<color>
<x>1</x>
<y>1</y>
<z>1</z>
</color>
<intensity>0.75</intensity>
</data>
</component>
<component>
<type>class OvCore::ECS::Components::CTransform</type>
<data>
<position>
<x>0</x>
<y>10</y>
<z>0</z>
</position>
<rotation>
<x>0.81379771</x>
<y>-0.17101006</y>
<z>0.29619816</z>
<w>0.46984628</w>
</rotation>
<scale>
<x>1</x>
<y>1</y>
<z>1</z>
</scale>
</data>
</component>
</components>
<behaviours/>
</actor>
<actor>
<name>Ambient Light</name>
<tag></tag>
<active>true</active>
<id>2</id>
<parent>0</parent>
<components>
<component>
<type>class OvCore::ECS::Components::CAmbientSphereLight</type>
<data>
<color>
<x>1</x>
<y>1</y>
<z>1</z>
</color>
<intensity>0.1</intensity>
<radius>10000</radius>
</data>
</component>
<component>
<type>class OvCore::ECS::Components::CTransform</type>
<data>
<position>
<x>0</x>
<y>0</y>
<z>0</z>
</position>
<rotation>
<x>0</x>
<y>0</y>
<z>0</z>
<w>1</w>
</rotation>
<scale>
<x>1</x>
<y>1</y>
<z>1</z>
</scale>
</data>
</component>
</components>
<behaviours/>
</actor>
<actor>
<name>Main Camera</name>
<tag></tag>
<active>true</active>
<id>3</id>
<parent>0</parent>
<components>
<component>
<type>class OvCore::ECS::Components::CCamera</type>
<data>
<fov>45</fov>
<size>5</size>
<near>0.1</near>
<far>100</far>
<clear_color>
<x>0.1921569</x>
<y>0.3019608</y>
<z>0.47450981</z>
</clear_color>
<frustum_geometry_culling>false</frustum_geometry_culling>
<frustum_light_culling>false</frustum_light_culling>
<projection_mode>1</projection_mode>
</data>
</component>
<component>
<type>class OvCore::ECS::Components::CTransform</type>
<data>
<position>
<x>0</x>
<y>3</y>
<z>8</z>
</position>
<rotation>
<x>-7.5904039e-09</x>
<y>0.98480773</y>
<z>-0.17364819</z>
<w>-4.3047311e-08</w>
</rotation>
<scale>
<x>1</x>
<y>1</y>
<z>1</z>
</scale>
</data>
</component>
</components>
<behaviours/>
</actor>
<actor>
<name>Car</name>
<tag></tag>
<active>true</active>
<id>4</id>
<parent>0</parent>
<components>
<component>
<type>class OvCore::ECS::Components::CModelRenderer</type>
<data>
<model>:Models\Cube.fbx</model>
<frustum_behaviour>1</frustum_behaviour>
<custom_bounding_sphere_position>
<x>0</x>
<y>0</y>
<z>0</z>
</custom_bounding_sphere_position>
<custom_bounding_sphere_radius>1</custom_bounding_sphere_radius>
</data>
</component>
<component>
<type>class OvCore::ECS::Components::CMaterialRenderer</type>
<data>
<materials>
<material>:Materials\Default.ovmat</material>
</materials>
</data>
</component>
<component>
<type>class OvCore::ECS::Components::CTransform</type>
<data>
<position>
<x>0</x>
<y>0</y>
<z>0</z>
</position>
<rotation>
<x>0</x>
<y>0</y>
<z>0</z>
<w>1</w>
</rotation>
<scale>
<x>1</x>
<y>1</y>
<z>1</z>
</scale>
</data>
</component>
</components>
<behaviours>
<behaviour>
<type>Car</type>
<data/>
</behaviour>
</behaviours>
</actor>
</actors>
</scene>
</root>
from overload.
Just tried loading your scene. It works on develop (latest). How come your scene is outside of your project's Assets
folder? Any asset used by a project should be stored under the Assets
folder. How can you load your scene if it is saved outside of the Assets
folder? From the Asset Browser
, you should be able to see your scene, and load it this way:
from overload.
I honestly don't know but it just put the scene there.
from overload.
Related Issues (20)
- Formatting number to be easier to read
- Add vertices count to the FrameInfo Panel
- HardwareInfo Panel widgets memory leak HOT 2
- Implement an abstraction layer for buffers and resources
- Use of RAII idiom for the WidgetContainer class
- Remove serialization unnecessary `p_doc` parameter
- `FMatrix3` and `FMatrix4` are initialized using `memcpy`
- Remove redundant code in components by using inheritence instead of adding an abstraction layer
- Move editor textures from `RawTextures` to proper image files
- Asset Browser rework
- Undo and redo operations in the editor. HOT 1
- We should perform a pass to update parts of the engine that aren't in line with our current coding conventions.
- `OvMaths::Internal::TransformNotifier` shouldn't be referred to in any .h file
- Implement a tool (debug only) to track memory allocations during the lifecycle of our applications
- Investigate dropping OvUI to follow the IMGUI paradigm HOT 1
- Consider updating Overload C++ version from 17 to 20 HOT 1
- Components `OnDisable` and `OnDestroy` logic doesn't match `OnAwake`, `OnEnable`, and `OnStart`
- Abstract the `ScriptInterpreter` to allow for multiple implementations (Lua, Python, C#)
- Add support for USD scenes import
- Setup unit tests with GitHub workflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overload.