3d

iPhone built-in controller to display a collection of images in cool 3D lanscape view

For some reason, I can't seem to locate the documentation for the above support within the foundation. I am talking about the view used by some applications to show a collection of images in a cool 3D view where you can flip through the set, much like the iPod application view of the albums. Thanks! ...

A method to calculate the centre of mass from a .stl (stereo lithography) file?

I am trying to calculate the centre of mass (x,y,z) coordinates of an object defined in an STL file (stereo lithography, not to be confused with the standard template library). The STL file contains a closed object (or objects) defined by a boundary made of triangles. The triangles themselves are not necessarily in any order, the file is...

Given a surface normal, find rotation for 3D Plane

So I have a 3D Plane described by 2 Vectors: P : a point which lies on the Plane N : the surface normal for the Plane And i have a very large, flat square Polygon, which I want to render to represent this Plane. I can easily translate the polygon to the given point, but then I need to find the proper rotation to apply to make the...

WPF-based graph visualization

Does anybody know any sample of graph(vertices connected with edges) 3D visualization written on WPF or Silverlight? ...

Flash AS3 error when importing 3D-tweened movieclip

I've been working on an AS3 application and it's nearing completion. At the same time, one of the designers I work with has been building a movieclip in a separate .fla that acts as an intro animation to the application. The intro uses the 3D motion tweening capabilities of Flash CS4 / Player 10, and runs fine in the .fla in which it w...

Set stage vanishing point in Flash via actionscript 3

I'm working with a few designers, each of whom have created 3D animations (using fp 10 capabilities) for use in the same flash application. Each 3D animation is a unique movieclip that will ultimately be part of the same .fla file. The problem I'm having is that each of the movieclips was created in a separate .fla, and each .fla had...

Mapping texture to 3D objects in a batch process on the server

Hi, we have the following use case: the user uploads her picture on a web server at a later time - on the server - the picture(s) are mapped on predefined 3D objects and stored as normal images (png, jpeg, ...). For now just the front-view. The files will be deleted once the session ends. show them in normal img tags to the user In ...

Drawing 3D lines in WPF

Hi, I am working on a CAD application and thinking of using WPF for rendering my entities. But it seems like WPF doesnt support drawing 3D lines. Is there any ways for drawing 3D lines in WPF? I dont like to create a mesh for each line entity I need to draw as I am afraid, this would cause a major performance hitch for me as I would have...

Plane equation from a line

All right, I need to do two things: I need to determine the equation of a line, with the angle given, from a point in 3D space I need to determine the equation of a plane that is perpendicular to that line, and is a set size, with the original line in it's center. I will need the plane's equation to be in a form where, given a new li...

Getting started with Windows Developement w/ 3D Graphics?

I am looking for book titles or other resources for showing me how to get started and become advanced at windows based software with 3d graphics. ...

Flash 10 3D making text blur

I got a Sprite that I'm rotating with rotationX & rotationY. This converts the clip to 3d object. Which makes texts in it blurred. When I'm rotating this clip back to rotationX=0 and rotationY=0, I'm setting: this.transformation.matrix3D = null; Which makes the texts crisp. BUT, when I'm adding another clip to this sprite, that has z=4...

How to setup Quaternion to move point to particular location?

Hello i've been working on this seemingly simple issue for more than 2 days. I would love it if you would help me out. I have some code to produce a list of vectors (19) (thisPose ArrayList) corresponding to a pose for a skeleton: private ArrayList updatePose ( int poseIndex , ArrayList listOfUpdates ) { int i; ...

How to import Blender 3D animation to iphone openGL?

I am trying to do animations in iphone using opengl. I am able to do the animation in Blender 3D software. I can export as a .obj file from blender to opengl and it works in iphone. But not able to export my animation work form Blender 3d to opengl..Can anyone please help me to solve this.? Thanks in advance.. ...

How to write text on a texture using java3D API ?

Hello, I'm wondering how I can write some text on a given texture (during execution) ? I'm using the java3d API. Thanks ! ...

OpenGL ES Light Question

Hello, I am new to OpenGL ES and are developing in Objective-C for iPhone. What I am trying to understand is how light is positioned in my frustum. This is how I do it: I create a square and put it as "floor" in my frustum. I am putting the light, right above, in the middle of the floor and point the direction of the light right dow...

WPF 3D Camera Animations

Hey guys, I have a double property called cameraAngle which is tied to a rotationtransformation, which is applied to the camera. I have series of 3d tiles with pictures on them (think cooliris), when i click the left key down i want my camera angle to go from 0 - 45 degrees. I know I want to use something like a doubleAnimation, but my...

What values to use in my 3D-space

Hello, This is not really a functional problem I'm having but more a strategic question. I am new to 3D-programming and when looking at tutorials and examples I recon that the coordinates are usually between -1 and 1. It feels more natural using integers as coordinates, I think. Is there any particula reason(s) why small float-values...

How to work with several objects in OpenGL-ES

I am trying to learn how to add several objects and working with those in my 3D-world. I am developing for iPhone. Regarding my question below I couldn't find good information about it while Googling. I have a function that creates all vertices-arrays with data in order to create a sphere. No problem adding it as the only object. The p...

How do I format a PLOT3D file for ParaView?

I'm trying to describe the shape of a rabbit heart in order for simulations to be visualised with ParaView. The problem I'm having is that ParaView would like the geometry to be described in PLOT3D format, a clear description of which I'm struggling to find online. The geometry I have consists of a regular 3D mesh, from which only some...

3d Parabolic Trajectory

Hi, I'm trying to figure out some calculations using arcs in 3d space but am a bit lost. Lets say that I want to animate an arc in 3d space to connect 2 x,y,z coordinates (both coordinates have a z value of 0, and are just points on a plane). I'm controlling the arc by sending it a starting x,y,z position, a rotation, a velocity, and a...