Questions tagged [level-of-detail]

86 questions
17
votes
8 answers

Reduce number of points in line

I'm searching for algorithms to reduce the LOD of polylines, lines (looped or not) of nodes. In simple words, I want to take hi-resolution coastline data and be able to reduce its LOD hundred- or thousandfold to render it in small-scale. I found…
culebrón
  • 34,265
  • 20
  • 72
  • 110
8
votes
3 answers

Pseudo random number generator from two inputs

I need a pseudo random number generator that gives me a number from the range [-1, 1] (range is optional) from two inputs of the type float. I'll also try to explain why I need it: I'm using the Diamond-Square algorithm to create a height map for my…
Jón Trausti Arason
  • 4,548
  • 1
  • 39
  • 46
8
votes
1 answer

Constructing a quadtree such that there is only one level difference between adjacent nodes (LOD)

I'm trying to build a quadtree which subdivides a region based on a position and a maximum depth. I want to use this to implement level of detail in terrain. In other words I have a position (x, y), a region (x, y, width), and I pass it to some…
8
votes
8 answers

Distant 3D object rendering [games]

What is the basic premise behind technology such as is found in Oblivion (and other games, I'm sure; haven't played enough to know), wherein objects from afar are vaguely shown when you view them from a distance? For example, a large tower is a mile…
Ricket
  • 33,368
  • 30
  • 112
  • 143
7
votes
1 answer

Best CLOD Method for Planet Rendering

I'm currently working on my thesis, it is an engine to render terrains of planetary size. I'm still finishing my researh and I have encountered a lot of stuff about this subject, the problem is that I can't decide on wich LOD method I should use. I…
nosmirck
  • 666
  • 9
  • 31
7
votes
0 answers

OpenGL ES 2.0 texture2D bias/lod

I am using the OpenGL ES 2.0 GLSL functionality to manipulate images. What I want to achieve is to select a specific Level Of Detail (LOD) when fetching a sample from a texture from within a fragment shader. Apparently texture2DLod() is not…
5
votes
2 answers

2D Level of Detail (LOD) algorithm

I have been scouting around the net for an algorithm that enables you to create level of detail (LOD) representations of 2D polygons, but am unable to find ANY decent reference. Maybe I am using the wrong search terms, but all search results are for…
4
votes
5 answers

Current LOD level - LOD Group Unity

I'm having trouble leading with LOD Group, because I want to know which is the current active LOD level that I see in the screen. I only can access to the percentage with…
Bitelchús
  • 65
  • 2
  • 6
4
votes
1 answer

Manual selection lod of mipmaps in a fragment shader using three.js

I'm writing a physically based shader using glsl es in three.js. For the addition of specular global illumination I use a cubemap dds texture with mipmap chain inside (precalculate with CubeMapGen as it's explained here). I need to access this…
Ale_32
  • 648
  • 1
  • 6
  • 16
3
votes
3 answers

TABLEAU: How can I measure similarity of sets of dimensions across dates?

this is a bit of a complicated one - but I'll do my best to explain. I have a dataset comprised of data that I scrape from a particular video on demand interface every day. Each day there are around 120 titles on display (a grid of 12 x 10) - the…
Japes
  • 209
  • 1
  • 10
3
votes
2 answers

COUNTIF in Tableau?

I have a simple COUNTIF task in Excel that is proving rather difficult to replicate in Tableau... This is the data: ID Metric Scope DynamicCalc 1 A1 TRUE X 1 B1 FALSE X 2 B1 TRUE X 2 A1 FALSE X 2 …
Pavel
  • 53
  • 1
  • 2
  • 8
2
votes
1 answer

implementing Level of Detail algorithm for OpenGL

I'm trying to implement the following algorithm (breaking to painting to small triangles) but I couldn't find any tutorial over the net that explains it properly, Most of the things I've found explain it theoretically and the samples are way too…
igal k
  • 1,883
  • 2
  • 28
  • 57
2
votes
3 answers

Sort values of x-axis in order to fill the plot f(x) evenly while computing f(x)

Global task for general understanding: I need to plot a result of my function f(x). Simple task, but there are two problems: For each value of x, f(x) takes much time to compute (tens of minutes or even aroud an hour). I don't know the estimated…
Dmitrii Begal
  • 75
  • 1
  • 5
2
votes
2 answers

Total Sum/Level of Detail in Google Data Studio

In Google Data Studio I have a small table including a dimension and a metric Channel User A 1.000 B 2.500 C 500 Is there a way to calculate the total sum across the dimension (like an LOD) which is shown as an additional column next…
2
votes
3 answers

COUNTIFS where one criteria is "number must be unique" in Tableau

Is there a way to count unique numbers in a column in Tableau? COUNT(IF [Type] = "Boxes" AND [Ordernumber] is unique THEN 1 END) In my data, several rows have the same order number. I want all the rows where [Type] = "Boxes" AND have a unique order…
Jens
  • 183
  • 1
  • 10
1
2 3 4 5 6