Questions tagged [simulation]
The simulation tag has no usage guidance.
31
questions
0
votes
0
answers
103
views
Calculating world coordinates of a pixel from a camera picture
Sorry for this question. I know there are many similar questions but I really know nothing about math that involves this case.
I have a picture taken from a camera. I know some information about this ...
0
votes
0
answers
93
views
My n-body simulation doesn't form a galaxy
I'm trying to create a galaxy simulation using opengl with the compute shader and when I start my simulation, the galaxy with the spiral arms doesn't form, instead it goes into chaos. I noticed that ...
0
votes
0
answers
29
views
Simulating a moving catheter inside a human heart
I'm trying to simulate a moving catheter inside a human heart. I want to accurately model the behaviour of the catheter and I assume the heart to be solid. What I want is, when the catheter hits the ...
0
votes
1
answer
54
views
What is the difference between particles system and smoothed particles hydrodynamic?
What is the difference between particles system and smoothed particles hydrodynamic(SPH) ?
is SPH a more specific version of particles system ?
More searches on google I do more confusing I get since ...
3
votes
1
answer
254
views
Problem when performing IFFT for Tessendorf's ocean waves
I am implementing Jerry Tessendorf's ocean waves as described in his paper in c++ and OpenGL.
I implemented two compute shaders, one for the h_tilde_0 and its conjugate, and one for the frequency ...
0
votes
2
answers
96
views
What exactly is it about reality that is so difficult to recreate in a 3D simulation?
I have to admit that, while watching footage of the enhanced 2020 version of the 2018 game Forza Horizon 4, when they are driving fast, I have to sometimes remind myself that I am watching a video ...
3
votes
2
answers
6k
views
Optimizing compute shader with thread group shared memory
I'm currently learning compute shaders and I'm trying to write an optimized Game Of Life. I have a first version working that uses a Shader Storage Buffer Object. I dispatch a thread per cell I want ...
0
votes
0
answers
109
views
Confusion about the concepts of "constraint-based" and "impulse-based" for rigidbody simulation
Thanks a lot for your attention to this question in advance!
It is my first try to ask for help on this amazing StackExchange. If I do something inappropriate, please point it out directly so that I ...
4
votes
1
answer
54
views
Finite difference wave equation shown in paper is wrong?
I'm trying to produce wave surface animations, and I came across this paper: Fast_Water_Animation_Using_the_Wave_Equation_with_Damping. In the paper they go to provide the following equation:
At ...
0
votes
0
answers
68
views
What is it that really prevents photo-realistic, real-time, digital 3D simulations?
Ever since I was a small child, seeing the amazing 3D visuals that developed in the 1980s and 1990s, I was certain that photo-realism was "just around the corner". In the year 2020, I certainly ...
2
votes
1
answer
127
views
Represent shape as particles
Input: Triangles which make up an arbitrary shape. Each triangle is represented by 3 3D points.
Output: A set of particles which fills up the inside of the object (see image).
I have read the ...
2
votes
0
answers
61
views
Vertex positions from particle position
I have a question about Nvidia Flex or any particle based simulation in general:
The particles are created by sampling the mesh, which can result in fewer particles than there are vertices in the ...
6
votes
1
answer
203
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
1
answer
249
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
1
answer
58
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 ...
0
votes
1
answer
85
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
1
answer
78
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
0
answers
109
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
2
answers
82
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 ...
2
votes
0
answers
106
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 ...
2
votes
0
answers
152
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 ...
6
votes
1
answer
102
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, ...
3
votes
1
answer
135
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
1
answer
66
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
1
answer
187
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, ...
5
votes
1
answer
237
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
1
answer
476
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
1
answer
233
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 ...
10
votes
1
answer
265
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 ...
8
votes
2
answers
150
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 ...
5
votes
2
answers
234
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 ...