geometry-surface Questions

12

Is there any way to clear a surface from anything that has been blitted to it?
Conde asked 28/10, 2009 at 0:27

3

Solved

I have a bunch of coplanar points defining a polygon in 3D space. These are always wound the same way (e.g. clockwise). I need to determine the signed normal to the plane containing this polygon, i...
Hazelwood asked 28/8, 2015 at 15:3

4

I have in mind this video, or this simulation, and I would like to reproduce the geodesic lines on some sort of surface in 3D, given by a function f(x,y), from some starting point. The midpoint me...

1

Solved

Dear fellow stackoverflow users, I face a problem as follows: I would like to fit a 3D ellipsoid to 3D data points within my python script. The starting data are a set of x, y and z coordinates (ca...
Voyage asked 22/10, 2019 at 9:50

4

I am currently working with astronomical data among which I have comet images. I would like to remove the background sky gradient in these images due to the time of capture (twilight). The first pr...
Pomeranian asked 3/11, 2011 at 15:3

1

Im running win7 with python 3.3 and PySDL2 0.5. When creating surfaces (no matter what method) i get an LP_SDL_Surface instead of a SDL_Surface. The LP_SDL_Surface lacks any of the methods and attr...
Telespectroscope asked 19/8, 2013 at 22:7

2

Solved

Using a 2d matrix in R, how can I create a 3d surface plot, where columns=x, rows=y and the values are the heights in z? In the example below, x values would be 1:5, y value would be 1:5, and the ...
Extravasate asked 20/6, 2013 at 23:57

3

Solved

I am trying to plot a surface using matplotlib using the code below: from matplotlib import cm import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import axes3d, Axes3D im...
Thoreau asked 6/3, 2011 at 14:53

4

Given a simple monochrome bitmap that contains a single, randomly rotated rectangle. How can I find the left/top, left/bottom, right/bottom and right/top corner positions of the rectangle inside th...
Ange asked 17/12, 2015 at 12:45

2

Solved

In a surface shader, given the world's up axis (and the others too), a world space position and a normal in world space, how can we rotate the worldspace position into the space of the normal? Tha...
Amah asked 27/8, 2015 at 18:54

4

I want to display an image with alpha with a specified transparency, but can't figure out how to do it. To elaborate on how I'm struggling with this, the blurb below is a slightly modified hunk of...
Sixfooter asked 14/10, 2012 at 4:10

2

Solved

I have a lot (289) of 3d points with xyz coordinates which looks like: With plotting simply 3d space with points is OK, but I have trouble with surface There are some points: for i in range(30)...
Lycurgus asked 14/9, 2012 at 11:27

5

Solved

I am trying to find the parametric equation of the trajectory of a point jumping over different spots on the surface of a unit sphere such that: each jump is small (pi/4 < d < pi/2) and in ...
Mucky asked 29/10, 2013 at 20:26

1

Solved

I've quite the same problem than this OpenGl goes too dark but the answer doesn't work for me. I'm trying to display a image thanks to a surface converted to a texture and the result is too damn da...
Eula asked 5/6, 2013 at 9:38

3

Solved

I have som PNG image links that I want to download, "convert to thumbnails" and save to PDF using Python and Cairo. Now, I have a working code, but I don't know how to control image size on paper....
Eberhardt asked 17/8, 2011 at 21:19

4

How do I animate a surface if it's coordinates change in time (e.g. ellipsoid) using MATLAB?
Cerallua asked 26/4, 2010 at 20:58

1

I am trying to model an asteroid using plot_surface and plot_wireframe. I have x y and z values for the points on the surface of the asteroid. The wireframe is accurate to the shape of the asteroid...
Bedmate asked 27/11, 2012 at 16:47

1

Solved

I would like to create a plot of the 3D surface that spans over all points from an [X,Y,Z] point cloud. For example this is a scatter plot of my point cloud: scatter3(X,Y,Z,5,C) As you can see ...
Knighten asked 13/9, 2012 at 11:57

1

Solved

I am trying to plot some HDF data in matplotlib. After importing them using h5py, the data is stored in a form of array, like this: array([[151, 176, 178], [121, 137, 130], [120, 125, 126]) In...
Hardwood asked 1/8, 2012 at 19:51

2

Solved

I have a surface plot I'm trying to do. x is an 11 element vector, y a 300 element vector and z a 300*11 element matrix. When I try to plot it like this: surf(x y z) The surface plot doesn't sh...
Dijon asked 23/7, 2012 at 15:45

1

Solved

What is the best way in OpenCV to apply correction on an image projected to a 3D surface like in my examples or shown in Projection on 3D surface? My first tests with OpenCV checkerboard corner de...
Accomplice asked 18/1, 2012 at 8:16

2

Solved

I have points in 3D space and their corresponding 2D image points. How can I make a mesh out of the 3D points, then texture the triangle faces formed by the mesh?
Tollgate asked 21/3, 2010 at 18:0

1

Solved

I need to figure out how to get the data from D3D textures and surfaces back to system memory. What's the fastest way to do such things and how? Also if I only need one subrect, how can one read ...
Squinty asked 23/9, 2008 at 9:40
1

© 2022 - 2024 — McMap. All rights reserved.