Code Monkey home page Code Monkey logo

proceduralmeshdemos's People

Contributors

siggig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proceduralmeshdemos's Issues

Question: RMC - Collission available?

Dear Siggi,

Is a runtime mesh (complex) collision building available with your library?

The underlaying RuntimeMeshComponents supports it (in RuntimeMeshCollision.h), yet i did not find an example of this in your demo.

Could you give me some pointers on how this could be implemented (from C++ actor, comparable to "HeightFieldAnimatedActor")?

Do i need to convert and initialise the RMC to a staticmesh first, or can this be circumvented and the collision added directly to the actor?

Error when i try to open Proceduralmeshdemos.uproject

in unreal 4.24
The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="F:/Utilisateurs/Laurent/Documents/Unreal Projects/ProceduralMeshDemos-master 4.24 - 2/ProceduralMeshDemos.uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
Creating makefile for ProceduralMeshDemosEditor (no existing makefile)
F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\ProceduralMeshes\Source\ProceduralMeshes\ProceduralMeshes.Build.cs: warning: Modules must specify an explicit precompiled header (eg. PrivatePCHHeaderFile = "Private/ProceduralMeshesPrivatePCH.h") from UE 4.21 onwards.
F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\ProceduralMeshes\Source\ProceduralMeshes\ProceduralMeshes.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.24\Engine\Source\ProceduralMeshes\Public' does not exist.
F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Source\ProceduralMeshDemos\ProceduralMeshDemos.Build.cs: warning: Modules must specify an explicit precompiled header (eg. PrivatePCHHeaderFile = "ProceduralMeshDemos.h") from UE 4.21 onwards.
WARNING: Warning: Plugin 'ProceduralMeshes' does not list plugin 'RuntimeMeshComponent' as a dependency, but module 'ProceduralMeshes' depends on 'RuntimeMeshComponent'.
@progress push 5%
Parsing headers for ProceduralMeshDemosEditor
Running UnrealHeaderTool "F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\ProceduralMeshDemos.uproject" "F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Intermediate\Build\Win64\ProceduralMeshDemosEditor\Development\ProceduralMeshDemosEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for ProceduralMeshDemosEditor in 8,2776503 seconds
@progress pop
Building ProceduralMeshDemosEditor...
Using Visual Studio 2017 14.16.27038 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V2;' in ProceduralMeshDemosEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Building 27 actions with 8 processes...
@progress 'Compiling C++ source code...' 0%
@progress 'Compiling C++ source code...' 4%
[1/27] Default.rc2
@progress 'Compiling C++ source code...' 7%
[2/27] Default.rc2
@progress 'Compiling C++ source code...' 11%
[3/27] Default.rc2
@progress 'Compiling C++ source code...' 15%
[4/27] Default.rc2
@progress 'Compiling C++ source code...' 19%
[5/27] SharedPCH.UnrealEd.cpp
@progress 'Compiling C++ source code...' 22%
[6/27] SharedPCH.Engine.cpp
@progress 'Compiling C++ source code...' 26%
[7/27] PCH.ProceduralMeshDemos.cpp
@progress 'Compiling C++ source code...' 30%
[8/27] Module.RuntimeMeshComponent.gen.3_of_3.cpp
@progress 'Compiling C++ source code...' 33%
[9/27] ProceduralMeshDemos.init.gen.cpp
@progress 'Compiling C++ source code...' 37%
[10/27] ProceduralMeshDemos.cpp
@progress 'Compiling C++ source code...' 41%
[11/27] ProceduralMeshDemosGameMode.cpp
@progress 'Compiling C++ source code...' 44%
[12/27] ProceduralMeshDemosGameMode.gen.cpp
@progress 'Compiling C++ source code...' 48%
[13/27] UE4Editor-ProceduralMeshDemos.lib
Cr?ation de la biblioth?que F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Intermediate\Build\Win64\UE4Editor\Development\ProceduralMeshDemos\UE4Editor-ProceduralMeshDemos.lib et de l'objet F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Intermediate\Build\Win64\UE4Editor\Development\ProceduralMeshDemos\UE4Editor-ProceduralMeshDemos.exp
@progress 'Compiling C++ source code...' 52%
[14/27] Module.RuntimeMeshComponentEditor.cpp
F:/Utilisateurs/Laurent/Documents/Unreal Projects/ProceduralMeshDemos-master 4.24 - 2/Plugins/RuntimeMeshComponent/Source/RuntimeMeshComponentEditor/Private/RuntimeMeshComponentDetails.cpp(490): warning C4996: 'UStaticMesh::SourceModels': Please do not access this member directly; use UStaticMesh::GetSourceModel(LOD) or UStaticMesh::GetSourceModels(). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
C:\Program Files\Epic Games\UE_4.24\Engine\Source\Runtime\Engine\Classes\Engine/StaticMesh.h(516): note: voir la d?claration de 'UStaticMesh::SourceModels'
F:/Utilisateurs/Laurent/Documents/Unreal Projects/ProceduralMeshDemos-master 4.24 - 2/Plugins/RuntimeMeshComponent/Source/RuntimeMeshComponentEditor/Private/RuntimeMeshComponentDetails.cpp(508): warning C4996: 'UStaticMesh::SectionInfoMap': Please do not access this member directly; use UStaticMesh::GetSectionInfoMap(). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
C:\Program Files\Epic Games\UE_4.24\Engine\Source\Runtime\Engine\Classes\Engine/StaticMesh.h(521): note: voir la d?claration de 'UStaticMesh::SectionInfoMap'
F:/Utilisateurs/Laurent/Documents/Unreal Projects/ProceduralMeshDemos-master 4.24 - 2/Plugins/RuntimeMeshComponent/Source/RuntimeMeshComponentEditor/Private/RuntimeMeshComponentDetails.cpp(511): warning C4996: 'UStaticMesh::SectionInfoMap': Please do not access this member directly; use UStaticMesh::GetSectionInfoMap(). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
C:\Program Files\Epic Games\UE_4.24\Engine\Source\Runtime\Engine\Classes\Engine/StaticMesh.h(521): note: voir la d?claration de 'UStaticMesh::SectionInfoMap'
@progress 'Compiling C++ source code...' 56%
[15/27] UE4Editor-RuntimeMeshComponentEditor.lib
Cr?ation de la biblioth?que F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\RuntimeMeshComponent\Intermediate\Build\Win64\UE4Editor\Development\RuntimeMeshComponentEditor\UE4Editor-RuntimeMeshComponentEditor.lib et de l'objet F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\RuntimeMeshComponent\Intermediate\Build\Win64\UE4Editor\Development\RuntimeMeshComponentEditor\UE4Editor-RuntimeMeshComponentEditor.exp
@progress 'Compiling C++ source code...' 59%
[16/27] Module.RuntimeMeshComponent.cpp
F:/Utilisateurs/Laurent/Documents/Unreal Projects/ProceduralMeshDemos-master 4.24 - 2/Plugins/RuntimeMeshComponent/Source/RuntimeMeshComponent/Private/RuntimeMesh.cpp(7): fatal error C1083: Impossible d'ouvrir le fichier include?: 'Physics/IPhysXCookingModule.h'?: No such file or directory
@progress 'Compiling C++ source code...' 63%
[17/27] Module.ProceduralMeshes.gen.cpp
@progress 'Compiling C++ source code...' 67%
[18/27] Module.RuntimeMeshComponent.gen.1_of_3.cpp
@progress 'Compiling C++ source code...' 70%
[19/27] Module.ProceduralMeshes.cpp
@progress 'Compiling C++ source code...' 74%
[20/27] UE4Editor-ProceduralMeshes.lib
Cr?ation de la biblioth?que F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\ProceduralMeshes\Intermediate\Build\Win64\UE4Editor\Development\ProceduralMeshes\UE4Editor-ProceduralMeshes.lib et de l'objet F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24 - 2\Plugins\ProceduralMeshes\Intermediate\Build\Win64\UE4Editor\Development\ProceduralMeshes\UE4Editor-ProceduralMeshes.exp
@progress 'Compiling C++ source code...' 78%
[21/27] Module.RuntimeMeshComponent.gen.2_of_3.cpp

in visual studio 2017
Gravité Code Description Projet Fichier Ligne État de la suppression
Erreur C1083 Impossible d'ouvrir le fichier include : 'Physics/IPhysXCookingModule.h' : No such file or directory ProceduralMeshDemos F:\Utilisateurs\Laurent\Documents\Unreal Projects\ProceduralMeshDemos-master 4.24\Plugins\RuntimeMeshComponent\Source\RuntimeMeshComponent\Private\RuntimeMesh.cpp 7

Will not compile under Unreal 4.20

The dependencies (RuntimeMeshComponent) changed some functions for 4.20 (fenced with #ifdef's) that need to be brought up 2 date.

I open this issue to let others know, while i try to fix it for me (which may take time depending on how complicated things get..).

Prepare for a PR ;)

Smooth corners of a cylinder / join the meshes

For this:
image

you mentioned:
"Note that this example does not join the meshes where the lines meet at the corners. I'm planning on providing an example for that later on, both in the form of a quick method (rotated cross sections that skew the cylinder) and a more expensive method that looks correct (projecting a circle on a plane defined by the angle where the lines meet)."
can you explain a little bit how to do this? thanks

Update to 4.21 causes hard crash in editor

After upgrading ProceduralMeshDemos and the related plugins to Unreal 4.21, pressing simulate causes hard crash of editor with following error:
Assertion failed: Mesh.VertexFactory->IsInitialized()
Everything has worked great up until 4.21.

Has anyone been successful in getting this to work with 4.21?

OS - Ubuntu 16.04
UE4 - v4.21

Can't open demo example on 4.14.3 (Mac Version)

Your demo seems very interesting and promising. I have imported your project and tried to open it with UE 4.14.3 on mac, but UE seems complaining about a compilation problem (the following modules are missing or built with a different engine version: UE4Editor-ProceduralMeshDemos.dylib).

I've got a log from UE (which say it can't find module rules files for module 'Procedural Meshes'), and all I get is the 'ProceduralMeshDemos could not be compiled; Try rebuilding from source manually' error popup.
Sorry if the problem is not related on your code, but more on UE (I don't understand why it can't first open the project and then make the dependance and compilation). Since I saw you made some commit with UE new version, I think maybe you could help me. I have just started UE today and I'm not totally sure if projects are totally platform independant or support automatic migration. Thanks in advance

UE-Editor crashes when I try to use "SimpleCube_BP"

(1)In the UE-Editor, I drag a "SimpleCube_BP" to the level.
(2)I click the "Play" button and run the scene
(3)UE-Editor gets a crash and give a error "0xC0000005: 0xFFFFFFFFFFFFFFFF can not be read!"

Test environment:
UE 4.19
Win7/64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.