Questions tagged [surface]

A surface is a two-dimensional shape in a three-dimensional space.

A surface is a concept in geometry which roughly means a two-dimensional shape in a three-dimensional space.

For the Microsoft Surface tablets, see . For the Microsoft Pixelsense technology formerly known as Surface, see .

1044 questions
0
votes
1 answer

Meshgrid / Surface clipping

I am working with some antarctic DEM data in Matlab. So, far I have been able to generate a nice looking mesh, with the following basic code: load (Data.xyz) X = Data(:,1); Y = Data(:,2); Z = Data(:,3); xr = unique(X); yr = unique(Y); gz =…
0
votes
1 answer

Combine multiple filled.contour plots with different levels of conditioning variables in R

I am currently looking at the response of simulated catchment flow to four climate variables: T, RH, Rs and uz. I would like to construct some 'response surfaces' for my flow to two of the variables, T and Rs, with different combinations of the…
0
votes
0 answers

Surface not blitting to screen SDL

I have a problem, where when I build my code it works fine, but when I run it, I get an access violation error, and ive tracked it to this little bit of code here: void thePlayer::show_player() { SDL_BlitSurface(Player, NULL, ScreenSurface,…
Tom
  • 2,372
  • 4
  • 25
  • 45
0
votes
1 answer

Apply Shader to a surface (texture)

I'm working on a little OpenTK based 2D graphics library and I'm trying to apply a shader to a Surface object: public void ApplyTo(Surface surface) { using (Surface pong = new Surface()) { pong.Create(surface.Width,…
pixartist
  • 1,137
  • 2
  • 18
  • 40
0
votes
1 answer

SDL undeclared filename and apply_surface not working

I've recently dived into some SDL tutorials, but am having difficulty compiling this one in particular using DevC++ with the SDL library: http://lazyfoo.net/SDL_tutorials/lesson05/index.php I am getting this particular error: `filename' undeclared…
Mantis
  • 1
0
votes
1 answer

using matlab for visualization / surface

How do I import a matrix into Matlab and then visualize it as a surface? I want to have it something like this at the end: http://www.mathworks.se/help/matlab/ref/meshgrid.html to be able to do that I have to first have it as an input of the…
a a
  • 35
  • 7
0
votes
2 answers

A drawing canvas/surface that will look same in any environment?

You develop an application on windows. And deploy it on windows machines. You find it looks neat, since the windows gui system renders quite well. If you want the same app to run under linux or unix platforms they look different. Because the UI…
deostroll
  • 11,661
  • 21
  • 90
  • 161
0
votes
0 answers

Plot surface in gnuplot from datafiles of different length

I have a file in the form #line A x1A y1A val x2A y2A val ... xnA ynA val #line B x1B y1B val x2B y2B val ... xkB ykB val ... #line Z x1Z y1Z val x2Z y2Z val ... xjZ yjZ val with lines of different length (that is n, k, ... j are different in…
psmith
  • 167
  • 1
  • 12
0
votes
1 answer

Browsers supporting event processing in dojox.gfx Surface

Is events processing in dojox.gfx Surface supported by browsers other than Firefox 3? Say, i have a variable named surface that is an instance of a gfx surface, i then listen to click events on it using surface.connect("onclick",null,function(e){ …
user221797
0
votes
1 answer

Surface Normals

I have a request about surface normals. At the following code snippet is from the URL : http://www.kindohm.com/technical/wpf3dtutorial.htm private Model3DGroup CreateTriangleModel(Point3D p0, Point3D p1, Point3D p2) { MeshGeometry3D mesh = new…
Wolfgang
  • 11
  • 1
  • 3
0
votes
0 answers

occlusion culling test 3d

Suppose we have a body,whose shell is represented by flat triangles (Polygon Mesh). The mesh is consist of millions of polygon for the needed accuracy level. Furthermore, the body is not convex (it is not a sphere, watch wiki page “Polygon mesh” for…
0
votes
0 answers

Surface at intersection of Clipping Plane and Geometry

I have a geometry with I am displaying using geometry shader in combination with vbo. I also have two clipping planes which are needed to display the portion of the object I want. Now I want to display a surface to cover the opening(I render a…
AdityaG
  • 428
  • 1
  • 3
  • 17
0
votes
0 answers

SDL_Surface not declared in this scope

I seem to be having an issue with the use of SDL_Surface(s). This is my header file (CApp.h): #ifndef _CAPP_H_ #define _CAPP_H_ #include class CApp { private: bool Running; SDL_Surface* …
0
votes
1 answer

Mapping of 3d point to face of Platonic (Archimedian) Solid

I want to compute the resulting surface mesh of platonic (or maybe archimedian) solids applied with a displacement map for each face. The mesh should show fine details of the displacement map and be watertight and manifold (for 3d printing). For…
Sebastian Baltes
  • 512
  • 5
  • 14
0
votes
1 answer

Freeing a valid SDL surface results in segfault

[SOLVED] Forgot to implement a copy constructor and an assignment operator. The instance which is being assigned to using default copying will get the same pointer as the instance which created the surface it points to. Once one of them destructs or…