It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to research some algorithms for dynamic heightmap generation but I'm not familiar with any. Getting even more dynamic. Whats some theory on how multi-dimensional heightmaps work? i.e. Caves and overhangs. Should I use multiple heightmap images or complex algorithms?
For simple 2D heightmaps the Diamond-square algorithm produces reasonable results, and is fast. There are a few things you can apply over the top of that to make it look more realistic, such as simple erosion, while still being very fast.
For more interesting features... if you want fast results, I'd stick with a 2D heightmap and then add secondary feature entities (i.e. boulders and holes), rather than try to generate a true 3D environment; but of course whether that comes close to being enough depends entirely on what you want to achieve.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What are the common bottlenecks or inherently slow actions/functions that I should look out for while developing an app/game/anything in ActioScript3 and flash?
Bottlenecks:
Exception
Redrawing
Big images
A lot of small vector graphic elements on the stage
Transparent elements / masks
There are several good practices:
Use weak links
Use the Event.RENDER
Store the value in a variable instead of frequent appeal to the fields of an object
Don't define variables in cycles
It's desirable to use StageVideo
If you use Flex be careful with binding
Be careful with events:
Don't forget to remove event listeners
Don't dispatch events without need. Especially if they cause redrawing of the stage
Plus common programming good practices
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a question. Gradually quantum computers will emerge someday. So, nowadays making algorithm efficient is important; I mean, making it optimal to run as fast as possible. But once quantum PC emerges does the algorithm performance improvements are still important?
Cheers
Quantum algorithms have the possibility of searching a complete number space for an answer in one go, that much is true. However, the algorithm you choose will still determine how many of these steps are needed, and whether you can pack the whole space with useful inputs.
I think its too early to worry about it. It also might be quantum computer will never made.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Now. I build a formula for news to get list hot news.
have any factor as pageview, time,content.
what does a solution for this problem?
Thanks
You can try a machine learning approach for this problem.
Extract your features, and give each a numeric value (you can use
the Bag of Words model for content). Note that some feature selection algorithm might be needed.
Manually label large enough set of examples - and give each of them a score according to its importance.
Use linear regression and build a function that evaluates each article and gives it a score.
Now that you have your regression function, you can use it to give score to each article. Use it to achieve the raw score.
For post processing - combine this score with the time in a second function to get the article's final score. #MattBall's suggested link seems like reasonable approach.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What I am doing as a part of my project is comparing and analysing all the noise removal and reduction filters there are in matlab.
Not able to find a comprehensive list of filters that have been built for this very purpose.
Well adding to my question, I wanted a list that would help me understand all the basics of noise removal using filters in matlab.
I have found various links such as this, which proved helpful.
Read the docs for:
http://www.mathworks.com/products/signal/index.html
http://www.mathworks.com/products/statistics/
Loads more at:
http://www.mathworks.com/matlabcentral/fileexchange/
When you have the toolboxes installed, you can also just look at the table of contents in the "Help" browser. Gives a pretty good summary of the options.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to know if is there any specific algorithm that can be followed to understand the meaning of a word/sentence/paragraph. Basically, I want to write a program that will take text/paragraph as input and try to find out what its meaning is. And thereby highlight the emotions within the text.
Also, if there is an algorithm to understand things, can the same algorithm be applied to itself? It reduces the quest further to a point where we become interested in knowing meaning of meaning OR rather definition of definition.
You want Natural Language Processing and Semantic Technology. This is still a flourishing area in computer science. Look at things such as a Semantic Reasoner. You can start with Jena. There are also other things you can look at such as Academic Thesis papers.