Isotropix Forums

[Released] Clarisse Survival Kit

Clarisse Scripting related topics

Re: Megascans Survival Kit

Unread postby jandersunstar » Wed Jan 02, 2019 3:42 pm

I tried making a plugin using the Megascan API but I wasn't able to get any data, so I contacted them and this is what they told me:

Access to the Megascans API is not granted to standard consumer-level subscriptions. This is most likely why you're running into this issue. I would recommend using the Bridge and Mixer tools to download assets.

You would need to wait until Bridge is compatible with Clarisse. We're working on integration but it's coming at an as-yet unknown date.


Cheers!

-Luis
User avatar
jandersunstar
 
Posts: 263
Joined: Fri Jun 06, 2014 8:21 pm
Location: Mexico City

Re: Megascans Survival Kit

Unread postby desmond » Wed Jan 02, 2019 4:06 pm

after testing some from mr. Y inputs, i found that the megascan bridge script is being blocked by the main loop, so its not accesible to outside queries, runng the same script outside clarisse, works fine.
maybe mr. bruce or bvaldes or any other iso guys have some handy solutions?

d.
User avatar
desmond
 
Posts: 36
Joined: Mon Feb 05, 2018 8:46 am

Re: Megascans Survival Kit

Unread postby ayanik » Sun Jan 06, 2019 11:29 pm

Aleks(Desmond) truly helped me a lot and I finally have come to the point where I would like to share the work I've put in the kit. I will take care of the bridge communication later if I get the listener running with a new script I am waiting on. I have several things planned for future versions if people like the kit.

I renamed the kit to Clarisse Survival Kit, because it's not only for Megascans anymore.

Aleks and I have tested it on Windows, a linux installation and OSX. Make sure to read the instructions on the github page if you're dealing with OSX.
Also make sure Clarisse is not running when installing! Otherwise the shelf installation will do nothing. My script makes a backup of your shelf. If somehow there's a bug and your shelf got ruined you can locate the backup in your config folder. Delete the corrupt shelf.config and rename your backup.

If you like what I have done all donations(see button on github page) are welcome to support me in future development and so I can renew my maintenance. It would also make me happy if you used it at a company or used it in a piece of art and show me what you've done with it.

You can download the package from the github link below:
https://github.com/aydinyanik/clarisse_survival_kit

If you find any bugs let me know.
ayanik
 
Posts: 31
Joined: Wed Nov 26, 2014 9:10 pm

Re: Megascans Survival Kit

Unread postby dboude » Mon Jan 07, 2019 11:08 am

Hi there,

Thanks for sharing guys. It looks like some files are missing or I missed something in the proccess ? I've got this message when I try to install the tool :

Code: Select all
U:\_resources\Python\clarisse_survival_kit-master>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools


Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 634
Joined: Mon Jul 03, 2017 10:51 am

Re: Megascans Survival Kit

Unread postby ayanik » Mon Jan 07, 2019 11:20 am

Hi it looks like you do not have setuptools installed.

Try installing it with the following command. If you don't have pip installed it's included in the Python installation. Make sure it's checked when you install Python.
Code: Select all
pip install setuptools


Also update pip to the latest version if needed with the following command:
Code: Select all
pip install -U pip


Maybe I should update the readme.md if others have the same problem.
ayanik
 
Posts: 31
Joined: Wed Nov 26, 2014 9:10 pm

Re: Megascans Survival Kit

Unread postby dboude » Mon Jan 07, 2019 11:56 am

Works now :)

There were non ascii characters in my shelf.cfg (weird) so the install couldn't be finished. After fixing those characters the installation worked.

Code: Select all
    new_cfg = shelf_file[:write_index] + generated_string + shelf_file[write_index:]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 2713: ordinal not in range(128)


I will test it now.

Thanks ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 634
Joined: Mon Jul 03, 2017 10:51 am

Re: Megascans Survival Kit

Unread postby ayanik » Mon Jan 07, 2019 12:45 pm

Oh merde! Apparently my software was not French proof.
I will fix it when I get back home.

Let me know how the rest goes.

** Edit ** Fixed the Unicode bug
ayanik
 
Posts: 31
Joined: Wed Nov 26, 2014 9:10 pm

Re: [Released] Clarisse Survival Kit

Unread postby ayanik » Thu Jan 10, 2019 11:42 am

I added a new script to quickly generate a decimated pointcloud(regular pointcloud or point uv sampler) from the selected geometry. You have several selectors available for decimating the point cloud.

https://vimeo.com/310524037

** Edit **

I also added the Import Megascans Library function. With this you can import the whole library or specific categories in one go. Make sure when importing 3d objects to load your library in a context that is not currently displayed. Otherwise it will try rendering all objects.
ayanik
 
Posts: 31
Joined: Wed Nov 26, 2014 9:10 pm

Previous

Return to Scripting