|
Entheogen posted:cheap trick, since i didn't want to do ray casting algorithms or volume finding ones. I just draw cubes that connect each data point with its neighbors, and then use GL_SMOOTH to interpolate between vertices on same triangle. What i do exactly, is draw a triangle fan for each point that covers 3 faces of a cube.
|
# ¿ Jun 30, 2008 12:48 |
|
|
# ¿ May 4, 2024 22:02 |
|
Entheogen posted:You mean i can sort of calculate the "voxels" i need to display to approximate "real" view then render it using quads? By drawing a number of little cubes, you are effectively drawing 3 sets of volume oriented planes through your domain (ones perpendicular to the volume's X, Y and Z axes). However, you're essentially drawing 3 times as many planes as you need. If you, instead, figure out how big the volume in screen space is, you can draw a stack of quads that are perpendicular to the viewing direction and intersect your volume. Using hardware trilinear interpolation (assuming your volume is a 3D texture), you'll get a decent result using this approach.
|
# ¿ Jun 30, 2008 13:30 |
|
Zakalwe posted:My advice? Stick with the rasterisation for this application at least.
|
# ¿ Jul 2, 2008 13:00 |
|
I've finally gotten my Large-eddy Simulation on the GPU mostly working thanks to CUDA. Here's a screenshot of some simulated cumulus clouds: I still have to improve the rendering and try to improve the numerical stability a bit.
|
# ¿ Jul 18, 2008 11:53 |
|
Zakalwe posted:How are you finding the CUDA SDK on Ubuntu? A friend of mine just got his Geforce 280 for CUDA and is looking at putting Ubuntu on his machine to use it (He generally uses FreeBSD). Any weird pitfalls you encountered?
|
# ¿ Jul 18, 2008 17:34 |
|
From Earth posted:A smoke/fluid simulator I'm working on for a visualization course.
|
# ¿ Sep 14, 2008 12:34 |
|
From Earth posted:I didn't come up with the rainbow color map (it was already in the framework provided by the course teacher), but what's so strange about it? Look up the papers "Data visualization: the end of the rainbow" and "Rainbow Color Map (Still) Considered Harmful" for a more in depth explanation. EDIT: The second article in particular has some great example images that show how the rainbow color map can be misleading. StickGuy fucked around with this message at 14:48 on Sep 15, 2008 |
# ¿ Sep 14, 2008 19:33 |
|
Adhemar posted:Ah, I was so sure that software was Alex Telea's. I guess it might still be. Huub van de Wetering was in my exam committee when I graduated last march.
|
# ¿ Sep 17, 2008 09:04 |
|
My cloud simulation is now more better.
|
# ¿ Sep 24, 2008 17:05 |
|
|
# ¿ May 4, 2024 22:02 |
|
Avenging Dentist posted:Writing an EBNF grammar is simple and fault-safety falls out of the parser automatically. Portability issues (e.g. endianness) vanish. Parsing languages is a well-known problem and many tools exist to simplify it (e.g. Flex/Bison).
|
# ¿ Jan 31, 2009 18:11 |