Comments (3)
interesting, thinking vitrivio generation result as full ue actors would open a lot of possibilities, particularly for instances and shareable material instances. On the subject of reusing material, I didn't test it so may be it already works, it would be great if direct material shader redirection like with datasmith could be supported, if coded properly in the RPK cga (so static generated meshes would use some consolidated material instances directly, if they exists).
from vitruvio.
Hi Romain!
On the subject of reusing material, I didn't test it so may be it already works, it would be great if direct material shader redirection like with datasmith could be supported, if coded properly in the RPK cga (so static generated meshes would use some consolidated material instances directly, if they exists).
This actually already works. You can set the CGA material.shader to a material path for Unreal (eg. set(material.shader, "/Game/Materials/M_Grass")
). If a mterial at the specified path exists (for this example in the Content/Materials/M_Grass) it will be used as the parent material of the material for the generated mesh. This even allows you to use material parameters from CityEngine in your custom parent Material (for example the diffuseColor attribute).
from vitruvio.
Added with #49 #51 #57. Closing this now.
from vitruvio.
Related Issues (20)
- Package Game Error HOT 5
- Avoid unpacking RPK HOT 1
- Crash without generated geometry HOT 1
- Improve error message display HOT 1
- Add initial shape attribute support HOT 2
- Correctly sort attributes in Vitruvio details panel HOT 1
- Add support for array attributes HOT 1
- Unify caching HOT 1
- Improve instance component name HOT 1
- Support initial shapes with holes HOT 1
- Unclear how to spawn city from correctly exported RPK HOT 2
- Can you add a runtime example? What is the API to generate from code instead of the editor? HOT 5
- Scaling of initial shape ignored when converting a static mesh to vitruvio actor HOT 1
- Fix multiple UV set support HOT 1
- Update to PRT 2.4
- issue HOT 3
- UE5 Compatibility HOT 2
- Support concave initial shapes HOT 1
- Add undo support HOT 1
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 vitruvio.