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
-1
votes
1 answer

Drawing SDL_Surface from another class

So I have three classes Application, DrawMgr and Cube. In Application.cpp is my main loop in which I call DrawMgr::DrawCube in which I call Cube::Draw. Application.cpp while (!quit) { //Draw Background gDrawMgr.DrawBackground(); …
-1
votes
1 answer

game JFrame remains blank after repaint

This old project of mine has been stuck for ages. I have two versions of the same game, one that displays the game, and one that only displays a blank white panel. The original is a large grid, and I tried to change it to display pixel-by-pixel, but…
-1
votes
1 answer

Area under surface between two curves

I want to determine the area between the red line and the blue line but only to the y-value of 4.559. How can I achieve that?
MatlabNewb
  • 757
  • 1
  • 6
  • 11
-1
votes
2 answers

Finding the coordinates x y z of the center of a surface

I have a surface in a 3D space, and I need to calculate the coordinates of the center of that surface. The surface is a polygon. I found this formula: X1 += SUM[(xi + xi+1 ) * (xi* yi+1 - xi+1 * yi )]/6/area Y1 += SUM[(yi + yi+1) * (xi* yi+1 -…
M.R.3
  • 11
  • 4
-1
votes
1 answer

How to render a NURBS surface mesh from calculated points?

I am using OpenTK (a c# wrapper of OpenGL) to draw a NURBS surface calculated with Cox-deBoor algorithm. The algorithm gives individual points on the surface. How can I render the whole surface from these points? In addition, how can I draw a…
Berlyne
  • 1
  • 2
-1
votes
1 answer

Calculate X/Y/Z of point on surface sphere from a Y change

I'm not really sure how to phrase this question. I'm looking for a way to calculate the new X/Y/Z point on the surface of a sphere(which has a known radius) from an known X/Y/Z point where the Y has been increased irrelevantly to the sphere. If I…
Craftiii4
  • 3
  • 2
-1
votes
1 answer

VB6 apps to Windows Store or AppX?

I have a legacy app not yet ported to .NET created using VB6. I have a high demand from a community with locked down Surface 3 tablets and the only means to install to the tablet is via Windows Store or AppX. Does anyone know the options available…
Neal
  • 9,487
  • 15
  • 58
  • 101
-1
votes
1 answer

Using surf in Matlab

I have two variables say X,Y. X,Y are each5*1 matrices. Each row represent a particular person and X and Y are two variables that represent two characteristics. I have combined the effect of X,Y through certain operations to form Z so Z is also a…
clarkson
  • 561
  • 2
  • 16
  • 32
-1
votes
2 answers

Generate 3D surface from scattered or data points

Can anyone tell me how to generate a 3D surface model like CAD in Matlab ? 1.Input: Input is a collection of points with (x,y,z) where surface is present for an object(I'm using this for a 3D scanner where my inputs are (x,y,z) of surface) 2.Points…
-1
votes
1 answer

Surface construction with point cloud 3D model in opengl

I am working on a project to construct a 3D model of a shoe. I have now created the point cloud of the shoe but have no idea how to construct the surface of it. I've heard about using bezier surface or Delaunay triangulation and tried using CGAL…
SodaGuns
  • 33
  • 1
  • 6
-1
votes
1 answer

Graph 2 variable function as surface

I'm new to Matlab, and I was wondering how you might graph a two-variable function as a surface graph, like sin(x)/y^(log(x)). Say I create two ranges, x and y, both represented by the range -4:0.001:4, and want to graph the above function as a…
Maurdekye
  • 3,597
  • 5
  • 26
  • 43
-1
votes
1 answer

Plot surface on Matlab using n Z-Coordinate Points and mxn (X & Y points)

I have an issue where I have my data formatted such that I have n data points in the Z axis, and every Z data point has m corresponding x & y points. I essentially want to have n 2D m-point plots, but merged into one surface. My data takes the…
-1
votes
2 answers

SDL C Program freezes on sdl_blitsurface

I'm having an issue with a program I'm working on. Occasionally, it will just freeze. No errors or anything. The game is a multiplayer game where you fly a ship around. Pictures of other players and powerups move in and out of view depending on…
Justin Lloyd
  • 123
  • 3
  • 11
-2
votes
2 answers

Get area surface and ceiling height with RoomPlan

Can't see it it the doc but, do you know/think it's possible to get the surface of a room in square meter and the ceiling heigh in meter ? Thanks
Bejil
  • 412
  • 5
  • 18
-2
votes
1 answer

Draw relation in matplotlib

I have a relation such as 'x^3 + y^3 + z^3 - c = 0'. c is constant and would be any number, and of course the equation may be changed. How can i draw this surface with python? I don't want to explicit find z=f(x,y)
1 2 3
69
70