MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-19  …  220-239  240-259  260-279  280-299  300-319  320-339  340-359  …  520-522

From: Sharif (SR13765)
15 Mar 2018   [#280] In reply to [#279]
Hi Michael;

I modified the new commandbar.htm and everything works now.

Thanks for help.
-sharif
From: neilwilson3412
28 Mar 2018   [#281] In reply to [#1]

great thank you! i have just purchased moi 3d V3 and am trying to install the (SMIRNOV) custom ui its adding everything like alignments and scripts ok, but i cant seem to save my objects to the object library. the option to put in name comes up i type a name but when i click the library the new item not there just the default 3 objects cube, sphere and plane surface ....i cant find what im doing wrong in any forum could you offer any advise?

 

best regards Neil


From: bemfarmer
28 Mar 2018   [#282] In reply to [#281]
Windows or Mac?
From: Michael Gibson
28 Mar 2018   [#283] In reply to [#281]
Hi Neil, re: saving to objects library not working - it's probably a permissions issue. Please see if this helps:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8824.15

- Michael
From: aivo (ANYOTO)
30 Mar 2018   [#284] In reply to [#268]
你好!
请问这个脚本如何安装?
我使用 moi3d v3版本的
按照您说的方式安装CustomUI v2.0 beta2,却无法使用,请问你可以提供详细教程吗?
谢谢!
From: glmr
3 Apr 2018   [#285]
how is possible to change snapshot's view? I'm trying different views, but every time get only right view snapshot
From: Mip (VINC)
3 Apr 2018   [#286] In reply to [#285]
Hi glmr,

To set the focus on the desired view, first click on a shape in the view, then use snapshot.

Michel
From: glmr
3 Apr 2018   [#287] In reply to [#286]
thank you! it works now
From: SeGa (SEBASTIAN_GAWEL)
6 Apr 2018   [#288] In reply to [#284]
@aivo (ANYOTO) 它不与版本Moi3d v3工作. 您必须安装Moi V4 Beta版本.
From: agonyii
7 Apr 2018   [#289] In reply to [#288]
@Max Smirnov If you don't mind what file and value has to be changed to get a different thumbnail background of the asset icon other than default white? As I am using dark UI, my obj library looks quite odd now. I would like to have change it with your help.

Too bad I will now have to reprocess everything :D Maybe that could be an option if that's even possible.

Thanks a lot!
From: bemfarmer
7 Apr 2018   [#290] In reply to [#289]
Replace the png Base64 image in 70 ObjLibrary.js, under startup folder, (Moi4 beta).

https://jsfiddle.net/casiano/xadvz/
As a test, I replaced the icon with the red bus with blue windows, by copying the base64 code, in Moi4 beta. :-)
(The gif code seemed to work ok as png...)

- Brian

(EDIT Michael 4/13/2024 - removed broken link)
From: Max Smirnov (SMIRNOV)
7 Apr 2018   [#291] In reply to [#289]
Hi Agonyii,

To change a thumbnail background color you need to open ObjLibrary.menu.htm and edit this line:
code:
moi.view.viewportBackgroundColor = 0xFFFFFF;

Set any color you want.
From: agonyii
8 Apr 2018   [#292] In reply to [#291]
@Max

I've also changed border value to '0' from (border: 2px solid;) to get rid of the border around preview.

.preview{ width:75px; height:75px; overflow:hidden; position:relative; border: 2px solid; border-color:#fff; }

I hope this could be valuable information for someone else as well.

Also just crossed my mind, maybe transparency support would the best solution if that's by any means possible?

Thanks so much Max! Much appreciated!
From: Michael Gibson
8 Apr 2018   [#293] In reply to [#292]
Hi agonyii, sorry currently there isn't any way to have transparency for the viewport background when doing a view snapshot.

- Michael
From: agonyii
8 Apr 2018   [#294] In reply to [#293]
I was afraid you would say that :D usually you bring the good news :D Appreciate it anyway!
From: Michael Gibson
8 Apr 2018   [#295] In reply to [#294]
Hi agonyii, I did happen to recently look into the possibility of making an option for that, but I found that it would require some major changes in the display engine for curve drawing. The way curve drawing works currently for the viewport display is based off of blending against an opaque background.

- Michael

Message 6507.296 was deleted


From: agonyii
28 May 2018   [#297] In reply to [#291]
> @Max hmm it seems, I still have an issue.

> I've changed '0xFFFFFF' to the '0x333333' as instructed.

> Even though #333333 is now set as thumb background color it still ads a prop with a white background. When I reopen Moi, my thumb background is properly displayed with #333333.

> Strange. Appreciate it if you have a clue what's causing that.

Ah never mind, solved it! Thumb was still white only because I was overwriting the preexisting asset. When you overwrite an asset, Moi is basically loading the old - cached icon until you reopen the app.

I'm leaving this here for the reference :D
From: mike (MIOHN)
4 Jun 2018   [#298]
Hi,

I like this custom UI very much.
Any way, to get a "dark" version for this UI?

Or can I change this somehow by myself?

(but have absolutely no knowledges about scriting etc.)

regards
Mike
From: Michael Gibson
4 Jun 2018   [#299] In reply to [#298]
Hi Mike, do you have the rest of the UI set up to be dark and only the CustomUI pieces aren't?

If that's what you've got can you maybe post a screenshot?

- Michael

Show messages:  1-19  …  220-239  240-259  260-279  280-299  300-319  320-339  340-359  …  520-522