zhu.jun Posted November 30, 2019 Share Posted November 30, 2019 There is no gui getting started guide. in 2.902 csharp component sample Demo in SDK , is cannot run edit content , He will break down. and click run ,he only has five fps and also needs the project files of the demo's landscape tools. Link to comment
zhu.jun Posted November 30, 2019 Author Share Posted November 30, 2019 and csharp component sample Demo is c# ,we need c++ demo Link to comment
davide445 Posted December 1, 2019 Share Posted December 1, 2019 Hello Zhu Jun, not sure to understand your needs, also never worked on GUI components, but in the Samples you find some Widgets under C++ API Also the Oil Refinery Demo show some GUI components and it's configured as C++ project Link to comment
zhu.jun Posted December 2, 2019 Author Share Posted December 2, 2019 thank you ,I need GUI code to learn. and,I want to know how to interact with plants. These two parameters What is the role? Now it's like knocking down a tree. It's very complicated. And a tree is too big. Every time it is baked, it will crash. This is the tree generated by landscape tools.It's too big. How to solve it? Link to comment
morbid Posted December 2, 2019 Share Posted December 2, 2019 10 hours ago, zhu.jun said: and,I want to know how to interact with plants. These two parameters What is the role? These parameters used only for cutting ObjectGrass or MeshClutter by mesh or decal. See Cutout intersection option for more details. These options should be disabled for the performance purposes. 10 hours ago, zhu.jun said: And a tree is too big. Every time it is baked, it will crash. Do not create Impostors for such big objects. If you want to generate geometrical tree and Impostor tree — prepare small (e.g. 100 x 100) clutter and bake the impostor. Then assign these two nodes for two vegetation objects. See video tutorial for Landscape Tool: https://v.youku.com/v_show/id_XNDM0ODczMzgxNg==.html?spm=a2h0j.11185381.listitem_page1.5!8~A&&f=52268812 10 hours ago, zhu.jun said: This is the tree generated by landscape tools.It's too big. How to solve it? Please, stop asking the same question in every thread or support ticket you create. You already did this a couple of times at our forum and at the helpdesk. If my answer wasn't clear for — just ask again but in the same ticket or forum thread. I wrote a detailed answer in your latest ticket. In short, your vegetation object size = landcover density * 4096. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
zhu.jun Posted December 4, 2019 Author Share Posted December 4, 2019 How to make the imposters of trees disappear one by one. After knocking down the trees, impost is still there. I want him to disappear. Link to comment
morbid Posted December 4, 2019 Share Posted December 4, 2019 If you're talking about Tank demo and destructible trees, the code you need is in the DestructibleGrass.cpp and DestructibleGrass.h files. In that demo there's a destructible_grass.prop file (Property) that is used for the ObjectGrass. If you mean basic switching between impostor and geometry — use visibility distance and fade parameters. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
zhu.jun Posted December 4, 2019 Author Share Posted December 4, 2019 How impost detects collisions Link to comment
morbid Posted December 4, 2019 Share Posted December 4, 2019 ObjectGrass has collider flag in the settings. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
bgwljh86973 Posted December 5, 2019 Share Posted December 5, 2019 unigine have a visual UI editor? Link to comment
morbid Posted December 6, 2019 Share Posted December 6, 2019 Hi @bgwljh86973, No, at the moment we do not have visual UI editor. All UI elements should be configured via code. However, we have such feature planned for future releases. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts