CNMAT / CNMAT-odot

Multi-paradigm Dynamic Programming
Other
115 stars 11 forks source link

o.timetag help patch example issues #390

Closed arthur-parmentier closed 3 years ago

arthur-parmentier commented 4 years ago

Hi,

This is what I get want using o.timetag within its help patch.

Capture

/nevertrue happens to be always true, and I can't see /resolution/estimate value appearing...

equilet commented 4 years ago

Hi Arthur, can we get some more info about the system that this is running on? Please make sure to include system information about the version of ODOT you're using, Max., etc. Thanks!

equilet commented 4 years ago

If it makes it easier, you can go to Max -> About Max -> copy support information to clipboard

arthur-parmentier commented 4 years ago

Sure, there it is:

"version" : "Version 8.1.3 (da28f19) (64-bit windows)",
"platform" : "windows",
"arch" : "x64",
"osversion" : "Microsoft Windows 10 Professional (build 18362), 64-bit",
"samplerate" : 48000,
"iovs" : 32,
"sigvs" : 32,
"scheduler_in_audio_interrupt" : "off",
"audio_drivername" : "ad_mme",
"audio_driver_subname" : "",
"eventinterval" : 2,
"schedinterval" : 1.0,
"overdrive" : "on",
"pollthrottle" : 40,
"queuethrottle" : 100,
"sysqelemthrottle" : 1000,
"refreshrate" : 33.333332061767578,
"schedslop" : 25.0,
"eventprobing" : 1,
"mixerparallel" : "off",
"mixercrossfade" : 0,
"mixerlatency" : 30.0,
"mixerramptime" : 10.0,
"videoengine" : "viddll",
"glengine" : "gl2",
"packages" :    {
    "CNMAT Externals" : "1.0.4",
    "CNMAT Odot" : "v1.2-19-gd491203-master"
}

From what I experienced with o.display, I often have to resize the object to make hidden lines appear.

equilet commented 4 years ago

@arthur-parmentier could you install the latest version found here and report back as to whether or not that fixes your issue?

Thanks!

arthur-parmentier commented 4 years ago

Capture

Here it is: o.disply is fixed, nevertrue is still true.

PS: I did not try the beta first because there was Mac OSX in the name. It's good to keep them well named so that we are not confused by the zip file name!

equilet commented 4 years ago

Thanks for catching that (fixed). Regarding the value of /nevertrue within this context on Windows, we're currently investigating this and will be back shortly. Thank you for the report.

maccallum commented 3 years ago

Confirmed that /nevertrue is usually true on Windows

maccallum commented 3 years ago

This has been fixed. On Windows, MinGW's version of gettimeofday has lousy precision, so everything was working correctly, but the clock wasn't changing between calls to o.timetag. I replaced it with a version of gettimeofday that calls GetSystemTimePreciseAsFileTime, which produces the same resolution that I see on Mac OS X.