Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [simulation]

The tag has no usage guidance.

4
votes
0answers
29 views

Does MRG32k3a compare well with PCG and Xorshift256*?

I've been using standard 32-bit Xorshift in my GPU path-tracer for a while, following Nathan Reed's approach with hashed seeds and decorrelated state. I (finally) discovered today that Xorshift is ...
1
vote
1answer
73 views

How to simulate elastic material with restoring shape

I'd like to simulate a rubber-like material. This material if deformed would experience a restoring force to its original shape, a bit like a school rubber ereaser. I tried with a spring-mass system ...
-1
votes
1answer
46 views

Cloud simulation software [closed]

I have ever browsed a website focusing on cloud (cloud in the sky, not cloud computing) simulation. That's a company devoted to developing cloud simulation software and offer cloud simultation ...
1
vote
0answers
33 views

kinematics and dynamics of a sphere in a spring mass system?

I am attempting to code a simple spring mass system simulation in which a sphere pendulus hangs from a string (a spring) by the top and then another sphere (controlled by the user) can move and ...
1
vote
0answers
27 views

Spring damping in Energy Function

Supposing a behavior function $C(x_1, \ldots, x_n)$, then we have a scalar potential energy function $E = \frac{k_s}{2}C\cdot C$ where $k_S$ is stiffness constant. Hence, the force is as follows $...
1
vote
0answers
93 views

Ask for a study path to simulate water like this

I am interested in simulating water movement like this: 1:45 to 3:05 of https://www.youtube.com/watch?v=sbrFIp73tbw I have learnt a lot of computer graphics so far, for example: Interactive ...
2
votes
2answers
65 views

How to record N-body simulation as a video?

I have implemented an N-body simulation using the Barnes-Hut optimisation in Python which runs at a not-unacceptable speed for N=10,000 bodies, but it's still too slow to watch real time. A new ...
4
votes
0answers
91 views

How are fluid simulations handled in Computer Graphics?

How are fluid simulations handled in Computer Graphics? For a novice, there are hardly any novice friendly tutorials explaining how particles or fluids can be simulated. Things like smoke, crown ...
3
votes
0answers
93 views

How do I simulate a starfield?

I am trying to write a spaceship simulator. One problem I've hit into is how to best simulate the background of space with its stars. I don't need it to be faithful to the real thing with ...
7
votes
1answer
72 views

Confusion about notation in a paper

I have been trying to understand "Fast Simulation of Mass-Spring Systems" by Liu et al., which can be found here. There is one part in the methods section that is confusing me. Just after equation 12, ...
4
votes
1answer
117 views

Components that can be used for 3d shadow analysis, sunhours of surfaces throughout the year in a 3d model?

I want to develop a component for 3d shadow analysis of 3d city model. I decided to use ray tracing for this purpose. For every time step (for sun's dynamic position during the year) rays will be sent ...
1
vote
1answer
46 views

How would I create a virtual cabling system?

I am trying to devise a GUI system that functions as a virtual patchbay, as seen in something like Logic Studio's environment editor, or seen in virtual synthesizers that use virtual patchcables. I'm ...
8
votes
0answers
123 views

Conserving Mass in Liquid Simulation

I am trying to implement a 2D version of Foster and Fedkiw's paper, "Practical Animation of Liquids" here: http://physbam.stanford.edu/~fedkiw/papers/stanford2001-02.pdf Mostly everything works, ...
6
votes
1answer
141 views

Questions about Preconditioning Conjugate Gradient method in Baraff & Witkin 98?

I encountered some problems when implementing the cloth simulation algorithm from Baraff & Witkin 98's Large Steps in Cloth Simulation. Baraff & Witkin 98 Consider the cloth as a particle ...
15
votes
1answer
373 views

Need a reputable source for the formula for the shape of Earth's horizon

What I'm asking for I stress that I am not asking for the formula---I know the formula, and how to derive it. Several different versions of it are reproduced near the end of the post. In fact, ...
10
votes
1answer
135 views

Per Vertex Computation in OpenGL Tesselation

I try to implement a position based cloth simulation using hardware tesselation. This means I want to just upload a control quad to the graphics card and then use tesselation and geometry shading to ...
9
votes
1answer
174 views

How could I check the correctness of my result of fluid simulation?

I wrote a particle based fluid simulating program. It's hard to tell if I get the right result. The visualized result seems reasonable, but some part of it looks weird. I don't know wether it's a ...
7
votes
2answers
120 views

Overlaying graphics on particle simulation

How can I overlay graphics on particle simulations? For instance if I am representing a liquid or gas with tons of little points how can I make those points look like a liquid or gas? Take Nvidia Flex ...
4
votes
2answers
157 views

How can I model ink dropped into still water?

I want to be able to model an opaque liquid being dropped into a transparent liquid with sufficient velocity to cause turbulence and the resulting chaotic mixing. Assuming the two liquids are of the ...