Skip to main content

Questions tagged [simulation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15 votes
1 answer
478 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, ...
linguisticturn's user avatar
10 votes
1 answer
234 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 ...
Dragonseel's user avatar
  • 1,810
10 votes
1 answer
267 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 ...
Yyao's user avatar
  • 203
8 votes
2 answers
152 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 ...
Andrew Wilson's user avatar
8 votes
1 answer
188 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, ...
Jared Counts's user avatar
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, ...
Vermillion's user avatar
6 votes
1 answer
213 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 ...
Paul Ferris's user avatar
5 votes
2 answers
236 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 ...
trichoplax is on Codidact now's user avatar
5 votes
1 answer
238 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 ...
stanleyerror's user avatar
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 ...
Krupip's user avatar
  • 280
3 votes
1 answer
275 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 ...
Facundo Pedro Astiz Meyer's user avatar
3 votes
2 answers
7k 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 ...
François Guthmann's user avatar
3 votes
1 answer
136 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 ...
Ziya6161's user avatar
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 ...
math_lover's user avatar
2 votes
1 answer
130 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 ...
coder1337's user avatar
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 ...
Jojo's user avatar
  • 121
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 ...
Arjan Singh's user avatar
  • 2,511
2 votes
0 answers
157 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 ...
Joe Shaka Khul's user avatar
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 ...
achacha's user avatar
  • 13
1 vote
1 answer
253 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 ...
Luca Punes's user avatar
1 vote
1 answer
79 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 $...
shashack's user avatar
  • 523
1 vote
0 answers
37 views

How to create a more photorealistic ocean?

Photorealism has many elements. Take, for instance, the figure 1 below, a shot from Dune Part One movie. Figure 1 The process of production of a image such as this one, is laborious and involve more ...
M.N.Raia's user avatar
  • 111
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 ...
user5280911's user avatar
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 ...
ahmad alghadban's user avatar
0 votes
2 answers
98 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 ...
Nassen's user avatar
  • 1
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 ...
Makogan's user avatar
  • 1,726
0 votes
0 answers
95 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 ...
Sedenion's user avatar
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 ...
Optimus's user avatar
  • 101
0 votes
0 answers
115 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 ...
Xudong's user avatar
  • 1
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 ...
Riston's user avatar
  • 1
-1 votes
1 answer
59 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 ...
chaosink's user avatar
  • 591