3d

What is the best path for working with 3d graphics?

Right now, I think a combination of C and openGL is what I need to learn, but it seems like there is still more to it that I need. Also, I'm not sure where to start. I know some C, from reading the C Programming Language (K&R). ...

How to apply a transformation matrix?

Hey, I am trying to get the 2D screen coordinates of a point in 3D space, i.e. I know the location of the camera its pan, tilt and roll and I have the 3D x,y,z coordinates of a point I wish to project. I am having difficulty understanding transformation/projection matrices and I was hoping some intelligent people here could help me alo...

Interactive 3D object in Surface

How to create a interactive 3D object in WPF? For example it can be a 3D Cube which can be rotated and with "tap" gesture for each side triggering different action. ...

ActionScript 3, Flash Player 10 - 3d carousel changes perspective, alignment issues

We made a 3D carousel with the new native 3D support from flash. Now when I resize, my carousel should drag along the middle. Which it does fine. But for some reason the perspective doesnt come along, therefore it looks like the more i resize, the more the carousel is leaning to the left side. The carousel is set up very simple. Everyt...

How to speed up marching cubes?

I'm using this marching cube algorithm to draw 3D isosurfaces (ported into C#, outputting MeshGeomtry3Ds, but otherwise the same). The resulting surfaces look great, but are taking a long time to calculate. Are there any ways to speed up marching cubes? The most obvious one is to simply reduce the spatial sampling rate, but this reduces...

Recommendations for C++ 3d vector/matrix library with targeted camera

I am writing a very simple 3d particle software rendering system, but I am only really interested in coding the particle system and the rasterizer, so what I am looking for, is the easiest way to go from 3d particle coordinates, through camera, to screen coordinates, but with features like variable FOV, and targeted (look at) camera. An...

How do you bring a sub-model into view in a 3D scene?

I have to modify a WPF application written in C# that displays a complex 3D model with many sub-models or parts. When the user selects a part via an alternate user-interface mechanism, I'd like to rotate, scale, or move the scene so that the sub-model comes into view. No sub-model is completely hidden (i.e. interior to the main model)....

How does papervision3d transform textures?

How, ultimately, does papervision3d (the popular 3D rendering package for Flash) draw transformed textures onto the screen? Is it internally using any of Flash's rendering apparatus - i.e. by drawing textures into DisplayObjects and transforming them, or with 3D MovieClips for example? Or perhaps filters? Or is it ultimately just readin...

How to combine two mono-color images?

I need to write an anaglyph images program. Let say I have two mono-color images: red color one and cyan color one. How can I combines them into one to make an anaglyph image? Please give me an advice. Thank you. P/s: I'm using C# program language. ...

joining two 3D mesh objects

Hi All, Due to huge data amount, I want to form, separately, in two or more parts a 3D mesh object. And then, to be able to form the real 3D object, I shall join them in one part. Could you explain me by an example code how it can be done. Thanks in advance. Öner YILMAZ ...

How to rotate object around a point using quaternions?

Hello, In my 3D application I store object's position in a vector and it's rotation around the origin in a quaternion. I need to rotate the object around a vector with an arbitrary origin. I tried converting the position - vectorOrigin and the rotation into a matrix, rotating the matrix and then extracting the position and rotation as a...

How can I get google earth building mesh data?

Hi I'm making a an application and i would like to import the 3D buildings in google earth that you can find in Chi,NYC,SF, etc. Is there any way to do this? ...

Point-triangle intersection in 3d from mouse coordinates?

I know how to test intersection between a point and a triangle. ...But i dont get it, how i can move the starting position of the point onto the screen plane precisely by using my mouse coordinates, so the point angle should change depending on where mouse cursor is on the screen, also this should work perfectly no matter which perspect...

Intersection of a line and a Sphere?

I have a simple object that allows you to assign three properties (x,y,z) (lets call this object a "point", because that is what it is). I then have a second object with a method that accepts two instances of the first object, and returns the distance between the two "points" in three dimensional space. i also need a method that will a...

Storing information on points in a 3d space

I'm writing some code (just for fun so far) in Python that will store some data on every point in a 3d space. I'm basically after a 3d matrix object that stores arbitary objects that will allow me to do some advanced selections, like: Get the point where x=1,y=2,z=3. Getting all points where y=2. Getting all points within 3 units of po...

Papervision: MovieMaterial on a Collada object

Is it possible to put a MovieMaterial on an imported Collada object in Papervision? I can't find anything on the matter on the internet and anything I try on my own is in vain... Thank you ...

Unprojecting an on screen point back to an isometrically projected world

I am doing a behind the curtains 3d simulation while rendering the world in my 2d isometric engine. I've never done an isometric engine before, and my matrix math is rusty in general so I am having problems. I have a projection matrix, which in its simplest form is this: 0.7 0.35 0 0 -0.87 0 -0.71 0.35 1...

Would it be possible to write a 3D game as large as World of Warcraft in pure Python?

Would it be possible to write a 3D game as large as World of Warcraft in pure Python? Assuming the use of DirectX / D3D bindings or OpenGL bindings. If not, what would be the largest hold-up to doing such a project in Python? I know games tend to fall into the realm of C and C++ but sometimes people do things out of habit! Any informat...

3D equivalent to Visio

Anyone recommend a tool. Commercial or freeware that allows things to be dropped into 3D Space then linked in various ways. This structure can be viewed rotated, flown through etc. Ta ...

how to draw 3D surfaces and hide the invisible lines?

does someone know how to draw 3D surfaces and hide the invisible lines? I remember reading some code from an Apple II book, and it was only about 25 lines in BASIC, and it could plot some 3D surfaces, such as a mountain or a shape that looks like water ripples. The invisible lines were at first shown, but after adding a few lines of co...