I would like to make a realisticly looking page flip animation. It does not have to be a true physical model, as long as it looks convincing. Many shops have flash animations of their real-world brochures but I don't find them convincing. The page does not bend realistic, lighting is not correct, etc.
I will be happy with any links des...
The simple version of my project is rotating a sphere based on user input.
However my rotations get weird after multiple rotations in certain situations due to openGL's local coordinate system.
What I really need is to rotate based on a world/fixed coordinate system. Such that when I rotate the sphere once its rotation axes are not rota...
Hi,
Using stereovision, I am producing depthmaps representing the 3d environment as viewed from a camera. There is one depthmap per "keyframe" associated with a camera position. The goal is to translate those 2d depthmaps into the 3d space (and later merge them to reconstruct the whole environment).
What would be the best (efficient) w...
Hello. I'm using Safari 3d transforms to do some effects. I'd like to lay down some images using the classic Coverflow effect. The problem is that I'd like to know the exact width of each image after it has been rotated with
-webkit-transform : rotateY( angle deg);
Notice I even apply perspective.
Of course the DOM gives the width o...
Ok I feel like I am just missing something small here, but it has taken me too long to figure this one out.
I have a custom UserControl that has a drop shadow. This UserControl is then used as the view to create a ModelUIElement3D. The drop shadow works perfectly when first displaying. The trick here is that I want to be able to change ...
Hello, I found here a script which converts obj files into C header files with information required to render the model with OpenGL. I'd like something like this but I will need texture coordinates as well. The tool apparently doesn't do that.
Such a tool will save me a lot of time because I'd have to make my own program to extract data...
Any thoughts on creating a fluid/flowing ribbon for a website effect?
I'm open to any ideas. Ideally I could do this simply with html and some js library, but I'm open to suggestions for doing this with flash also. Any links to tutorials or examples would be greatly appreciated as well.
Thoughts?
...
I am looking at updating the UI of one of my projects that currently uses Winforms and i was hoping to use WPF. I have used silverlight for a while and wanted to use the same PlaneProjection effects to basically rotate my form (by form i mean a group of input controls) along the Y axis.
After looking over the interwebs it looks like for...
Basically, I'm trying to do 3D projection on a 2D canvas with simulation of depth. As a general rule, bodies that are further away are "shaded" more and smaller than bodies that are closer to the viewer. The only thing missing is having bodies that are further away always drawn behind bodies that are closer.
Sometimes, bodies that are ...
I'm trying to achieve an object rotation about 3 axes by incrementing values of rotation angles for axes, and displaying those axes to make next rotation direction predictable for the viewer. But after a few rotations, only rotation about Z-axis is performed in accord with displayed axis. Is there a chance it can be done simply, without ...
I'm working on a Direct3D application and I sometimes need to terminate the application forcefully via the debugger. After the application has been terminated in this way a couple of times, Direct3D reports an "Out of video memory" error when attempting to create a new device. Presently I am working around this by switching my display re...
in my previous code, I changed the coordinate system in my view's drawRect, so that the rectangle had 0,0 in the centre, 0,1 at the top centre and 1,0 in the centre of the right edge. I.e. a normalised Cartesian system.
{
// SCALE so that we range from TL(0, 0) - BR(2, -2)
CGContextScaleCTM (X, 0.5 * bitmapSize.width, -...
Given two orthogonal unit vectors, A and B, and two different orthogonal unit vectors C and D, I need the 3x3 direction cosine matrix or a quaternion which will rotate A to align with C AND will rotate B to align with D.
The vectors are all 3-vectors (x, y, z).
I have a brute force algorithm, but I am almost certain there is a much sim...
I dumped some frames of a video and would like to generate a cuboid out of them, like in the following sample image:
I was wondering if there exists a MATLAB function to do such a plot?
...
I'm looking for a way to automatically map a 3D mesh's polygons onto UV space such that texel density is maximized and kept as consistent as possible between polygons. Does an algorithm exist that will provide better results in this respect than standard projections such as planar, box, cylindrical, and spherical?
...
FIXED by setting near clipping plane to 1, rather than 0 (not sure why it was like that to start with). See the question for skeleton code, and Adrian's answer for how and why this works.
I have a few different camera positions, and my scene consists of a single quad.
The quad is such that it projects exactly onto the viewport/window i...
Im attempting to convert a simple 3D room explorer/configurator app that is a hacky mess into something a little better.
I have now begun separating it out using an MVC pattern, but have found a major performance decrease. I think this is down to the Controller updating the camera parameters in the Model, which is then notifying the vie...
I'm developing a game that basically has its entire terrain made out of AABB boxes. I know the verticies, minimum, and maximum of each box. I also set up my camera like this:
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glRotatef(Camera.rotx,1,0,0);
glRotatef(Camera.roty,0,1,0);
glRotatef(Camera.rotz,0,0,1);
glTranslatef(-Camera.x,-C...
I'm trying to teach myself about 3D graphics, but I'm having trouble visualizing the 3D vectors involved.
Is there any good software that I can use to visualize 3D vectors?
For example, right now I'm learning about camera transformations, and it would be nice if I could easily plot the right/up/look/eye vectors.
I've tried Grapher.app...
I am looking for 3D models that are 100% XAML.
...