ping - Max Smirnov
 1-6  7-26  27-46  47-66  67-86  87

Previous
Next
 From:  James (JFH)
6837.47 In reply to 6837.46 
Hi Max

Thank you for main.js
It fixed the error message, however there is still some anomalous behaviour with zoom (2 fingers up & down)
Sometime it works, while other time it draws a selection box. This is also true for panning: works intermittently.

Also control clicking on a node does not create a copy of the node.
This is a particularly useful feature, but I think it may have been absent prior to new main.js

Thanks for looking at this. At least now it is possible now to work with NE in v4

Regards
James
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
6837.48 
Hi Max,

i found a bug in nodeeditor...

if you have a slider or knob you can change values with the mousewheel - but if you use a MagicMouse2 or a trackpad it causes NaN if you scroll sideways...

if i go to interface.js and delete all the:

############
WidgetKnob.prototype.onMouseWheel = function(e)
{
var v = this.internal.position;
var delta = e.wheelDeltaY/Math.abs(e.wheelDeltaY)/100;
var time = LiteGraph.getTime();
if ( time - this.local.wheelTime < 50 ) { delta *=5 }
else if ( time - this.local.wheelTime < 100 ) { delta *=2; }
this.local.wheelTime = time;
v += delta;
if (v> 1.0) { v = 1.0 } else if (v < 0.0) { v = 0.0 }

this.internal.position = v;
this.properties.value = this.properties.min + (this.properties.max - this.properties.min) * this.internal.position;
this.properties.value = this.properties.value.toFixed(this.properties.digits);
this.updateThisNodeGraph();
this.graph.setisChangedFlag(this.id);
}
############

No more Mousewheel ;-(
but no more NaNs :-)

THX for nodeeditor!!


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.49 In reply to 6837.48 
Hi Ralf,

thank you for bugreport.
Try to replace this line
code:
var delta = e.wheelDeltaY/Math.abs(e.wheelDeltaY)/100;

with this one
code:
var delta = e.wheelDeltaY || e.wheelDeltaX; delta = delta/Math.abs(delta)/100;
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
6837.50 In reply to 6837.49 
YES! Thats it!

The mousewheel doesnt make any NaNs anymore :)

Thank you


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.51 In reply to 6837.50 
I fixed Knob and Slider nodes.
You can download updated interface.js here: http://moi.maxsm.net/nodeeditor/
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6837.52 In reply to 6837.51 
Tireless repairing! ;)

PS new French lang.js (3 dec 2017)
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/lang.js

edit: same address but modified!
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/lang.js

Does all that (+ nodeditor) works also for the V3 or it's only for the beta V 4 ?

EDITED: 2 Dec 2017 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Finema
6837.53 In reply to 6837.51 
Hi Max,
Thanks for node editor update.
where we put interface.js and index.htm file ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.54 
Frenchy Pilou
>>Does all that (+ nodeditor) works also for the V3 or it's only for the beta V 4 ?
Yes. The current version of nodeeditor are fully compatible with all v3/v4 win/mac MoI versions.

Finema
>>where we put interface.js and index.htm file ?
nodeeditor/nodes/interface.js
nodeeditor/index.htm
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
6837.55 In reply to 6837.53 
Hi Finema,

just there:





Ralf:)
looking for moments of inspiration...
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Finema
6837.56 In reply to 6837.55 
Thanks Max & Ralf :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
6837.57 
Hi Max,
In either MoI3, or MoI4beta, if the MoI window is not maximized,
and the External scripts screen is too big, or bigger in size,
(Mine has about 395 files in it.),
Then the external scripts screen only shows when the left (or right) mouse button is held down.
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
6837.58 In reply to 6837.54 
Hi Max,

I would like to get your thoughts on the idea of making a small alteration to Widget/Knob.
Often in developing node circuitry, There is the need for dialling even integers only ( or at other times, only odd numbers). This could easily be achieved by changing the "Digits" field to an "Increment" field, as shown:


The default setting of course would be 1, and Decimals could also be accommodated, for example, using 0.01 instead of 2 as presently used to represent the same. I also think it is more intuitive.

I understand that making this change couldl create backwards compatibility issues, but perhaps this could be avoided by having RMB options of Digit (Default) and Increment (2nd option).

Thanks for your continued development
I am excited to get my hands on v1

James

P.S. Also sometime ago we discussed the inclusion of button & switch, that you had planned to repurpose code that you have already developed for a different application.

http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.689




Another revision that would be simple (I think) but very useful would be to use createRadialGradient() method to lay a radial gradient (dark grey to light grey) behind grid in NE interface. This would offer visual cue to locate area within main window in reference to the totality. At the moment, at time when you fully zoom out, if nodes are not shown, there is no way to be sure which way to pan to move towards the centre to find node circuitry. Of course a "zoom to extents" function would be better but also more involved (I imagine)

EDITED: 7 Dec 2017 by JFH

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.59 
Sorry, I was extremely busy last week.

Brian
>>Then the external scripts screen only shows when the left (or right) mouse button is held down.
I can't reproduce it. Anyway I use MoI's built-in functions to show the window, so I can't fix this issue by myself.

James
>>I would like to get your thoughts on the idea of making a small alteration to Widget/Knob
I need to significantly change all widget nodes to implement this feature. Sorry, I can't make it in the nearest future.

>>Also sometime ago we discussed the inclusion of button & switch, that you had planned to repurpose code that you have already developed for a different application.
I rewrote this node for using with NE.
You can download an updated interface.js from my site: http://moi.maxsm.net/nodeeditor/

>>Of course a "zoom to extents" function would be better but also more involved (I imagine)
I'll add this feature in the next NE release.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
6837.60 In reply to 6837.59 
Max

Thanks for switch node, it is masterfully resolved & will be very useful.

>> need to significantly change all widget nodes to implement this feature. <<
Is this also true if feature is a RMB second state option of knob only?

Thanks again for your continued development of NE
James
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
6837.61 
Hi Max,
is it possible to have a feedback node similar to Hoopsnake as discussed in the nodebundle thread.
Ref this video https://www.youtube.com/watch?v=QefqhzIz_ak
Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
6837.62 In reply to 6837.59 
Wow thats a nice switch/button..
Thanks a lot Max!


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
6837.63 In reply to 6837.60 
Hi Max,

RE: NE interfacing via trackpad issues

Problem appears to be fixed...
see http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.783

Regards
James

EDITED: 31 Jan 2018 by JFH

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.64 In reply to 6837.63 
Hi James,

I'm glad that problem is solved. I'll add this fix to the next NE release.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
6837.65 
Hello Max.

With the latest V4 and the latest version of your _sSplit.htm command I get this error after selected one face of the box and fired the command :



Ciao!

Marco (mkdm)

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6837.66 In reply to 6837.65 
Hi Marco,

I can't reproduce this error. It seems you have an old version of the script.
Update it from my site: http://moi.maxsm.net/item/45
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-6  7-26  27-46  47-66  67-86  87