Why Maya takes so long to calculate gravity? [closed] - maya

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am using Maya 2012 to create a wall made up of bricks (polyCubes). When I playback the scene, Maya takes so long to calculate gravity, making my frame rate as low as 0.3 fps. Are there some settings that I overlooked, or is Maya dynamics inherently slow?
Also the bricks behave weird. They keep twitching and sliding on each other, as if they were soaps, even when I set friction to 1. I wonder why they can't reach an equilibrium or a stable state?
My computer: Intel Core 2 Duo T8100 2.1GHz, 3 GB RAM, NVIDIA GeForce 8400M GS, Windows xp sp3

Maya's RBD engine is ANCIENT. In fact, it should still be the EXACT SAME from version 4.0 or something similar.
Up to M2011 the only way to have decent rigid body dynamics was to use nCloth with rigid settings to emulate a rigid behaviour. That way is not an optimized workflow though, and with lots of bodies it will slow down everything to death and probably crashing. So prior to 2012 the best solution was resorting to a 3rd party dynamics engine plugin, like Bullet (there's a free open source version of Disney's implementation called Dynamica that you can find online)
If I'm not mistaken, with Maya 2012 they included DMM (Digital Molecular Matter), which was one of the aforementioned 3rd party plugins. I haven't tested it yet since we're still using 2011 in production (and we're using Houdini to do our FX stuff), but you should be able to load it from the plugin manager. Then just check the docs for usage instructions.
Hope it helped.

Related

LightGBM benchmark shows no speedup on RTX-2080 GPU over CPU [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
The Higgs training runs for LightGBM take the same amount of time for me on both GPU and CPU - 26 seconds. Logs confirm that GPU run is using GPU (transferring data to GPU etc.)
https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html
Went through tutorial to install LightGBM for GPU. Installed fine and was able to run GPU training to confirm.
GPU and CPU specs below for comparison.
Processor (Skylake X; Latest Generation)
8-Core 3.60 GHz Intel Core i7-7820X
VS
NVIDIA RTX 2080 8 GB
Note: accepted all configuration defaults as per tutorial as this is the benchmark. Can play around with them but that might be defeating the point.
Anyone tried similar on RTX?
Performance benchmarks https://lightgbm.readthedocs.io/en/latest/GPU-Performance.html are using GTX but indicate that any recent NVIDIA card should indeed work. The benchmark page warns against Kepler cards. But RTX 2080 is Turing and seems to support hardware atomic operations. https://en.wikipedia.org/wiki/CUDA My limited knowledge suggests it should all be good.

Integrate card.io With Web Based App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We prefer to use web based apps with jquery.mobile as they can get upgraded on demand and just less hassle. Is there an api that can be called by ajax from our web based app to use the card.io service?
I'm afraid not. To make for a responsive, reliable user experience, card.io actually examines many video frames to select good quality ones for processing. We also process them client-side, because with large images the latency from the network round trip can be significant.
This all requires non-trivial client-side work. There are two immediate problems to porting to html: (1) performance and (2) camera APIs.
Performance
Javascript interpreters are fast, but when doing image processing, native code is a huge help. (card.io uses the GPU, the ARM vector co-processor, and drops down to assembly in a few places.) Access to the GPU via Canvas will help, but not all algorithms are amenable to GPU treatment. Performance will continue to become less critical over time, but it's a major challenge right now.
Camera APIs
Camera API support is very uneven across mobile browsers, and (to my knowledge, at time of writing), none of the major mobile browsers (Mobile Safari, Chrome, Firefox) provide full realtime video access with enough control over resolution to make processing the stream feasible. Again, hopefully this will change.
I hold out hope that there will someday be a mobile web version of card.io, but it's definitely not available now (although we do have a Phone Gap plugin.)

Is it possible to ship linux on my old samsung mobile? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have an old touch mobile phone Samsung Corby S3653, and it runs on Java right now.
I want to change the OS to some embedded linux (any thing other than what's already in it).
It is possible to change the OS? How do I go about doing it? What complications would arise if I do that?
TL;DR: No.
First, it doesn't actually run on Java: it is capable of running Java apps, but as you see in the link, it says "OS: proprietary".
Second, it could - very, very, very theoretically - be possible to create a stripped down version of Linux on it, but you'd need to invest a humongous lot of programming work into it - possibly making a whole new custom port for the architecture, and then wrestling with creating exactly the right drivers for the device.
Third, the memory and CPU limits would also be severe - I'm certain that the current OS of the system is built to cope specifically with the exact limits of this device; that can't be said of a general-purpose OS.
In general, mobile phones are a very different animal than desktop computers: you can't just throw out one system and replace it with another, because there is in most cases nothing to replace it with (on smartphones, it is possible to replace one version of the OS with another version of the same OS, but even that is problematic).
In other words: it's very theoretically within the realm of possibility, but not worth it except for the novelty value. You'd need to spend (tens of) thousands of hours deep in the bowels of the phone's system, hunting for proprietary or nonexistent phone specs, and building your own Linux port - and even then, success is not guaranteed.
If you really insist, buy one of the actually shipped Linux smartphones (or Android, even - it's a fork of Linux and has various developer-friendly versions). That would be much faster, much cheaper (seriously), much easier and more likely to work.

Open distributed computing research questions/topics? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Hej,
I recently read a lot of papers from Lamport, Fischer, Lynch, Brewer to get a feeling for their perspective of distributed systems.
I was wondering, what are current open distributed computing research questions/topics? Many areas from databases, communication, fault-tolerance, number crunching, etc. seem to be tackled and in quite solid hands.
What do you think are new areas, maybe someone did think of in the past but rendered it impossible and now it becomes possible? A topic like graph algorithms/databases/analysis?
I would also appreciate if anyone can give a some hints of must-read papers about distributed systems. They can also be a more "sci-fi" to just stay inspired.
Something I have had a big interest in is the potential for using cloud computing / distributed systems to run 3D software, such as you could set up essentially a virtual production studio "in the cloud", as it stands now the cloud providers offer only very basic rudimentary graphics support as their hardware is not equipped with anything approaching high end graphics cards..
I think in the future this type of platform could be also used for online games and things of that nature, such as to take away the need for local computing power, with the increase in broadband speeds (some places in the U.S. now have access to fiberoptic lines with 50+ MB per second) this is becoming an increasing possibility in the near future.
I don't play computer games myself and just used to do some 3D design / animation work but I look at it more from a business perspective and think that this has a lot of potential as, for example, someone with just a basic notebook laptop could eventually be able to use a remote connection to a distributed computing network to play a CPU intensive game (likely through a subscription based set up as this obviously would be taxing on the company providing such a game service as they would be providing all the computing power).

Tools for website/web application load testing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Before going into production, our client demands actual numbers of how many users our web application can handle.
We have all kinds of features implemented including asset management (file uploads/downloads), documents import/export, various statistics, web-services etc.
I guess we need tool which could emulate users form submission because documents import/export as far as I noticed is the slowest part of an app because of parsing and generation.
Which tool (or set of tools) could do this?
Application details:
XHTML/jQuery
Coldfusion 8
SQL Server 2008
Windows Server 2008
I like jMeter - free software and does the job quite well.
Few intro screencasts:
http://www.fosscasts.com/screencasts/3-Load-Testing-with-Apache-JMeter
http://vimeo.com/10164982
HPs Open Source HTTPerf I like. Just setup the URLS you want to test and let it rip. use a couple of machines to emulate load. You could even parse the output into a DB and do some number crunching.
Also, think about doing HTTPerf runs with profiling on the server side to see what lags and what doesnt. A nice touch is to let a user go on the app, and record all POST/GET requests and use them as a replay set for typical user interactions.
Also, if you are thinking about UX, use firebug or something to check JS imports are being done asynchronously instead of one-at-a-time. Have a ganders at Stackoverflow question 310583/loading-javascript-dependencies-on-demand
http://loadimpact.com/
WebLoad: Professional and open
source load testing from
CFMeetup
Visual Studio Ultimate edition has great load/stress testing tools, although the ultimate edition can be a bit expensive.
m using Full version of JBlitz Professional 5.0 ..
it's very good
There are few analytical performance tool out in market(not free) one i came through and works well is New Relic. If you are looking only to test the api then http://locust.io/ is good one and free too.

Resources