3d

Rendering the skin using VTK

I am developing an application in windows forms that reads a sequence of 2d dicom images and transform them into a 3d object. I can do it pretty well for bones using the VTK framework, but when trying to do the same for the skin, I am getting a blank screen. Does anyone have the same issue? Thanks in advance. ...

Function to get X, Y position of an object orbiting a point, given a distance and angle in radians?

I am trying to code a function for a camera that orbits a point. Assume a 3d coordinate plane where Z is up. Ignore Z. Let's say the camera's position starts at (0, 0, z). The object to orbit is at, say (50, 50, z). So we have a distance of ~70 units. Calling the function with {(50, 50, z), 70, x} where x is the position in orbit, in ra...

3D Sphereical Terrain with an 8 mesh sphere. The edges of the mesh are obvioulsy seen and I'm not sure why.

Hi :) I'm working in Unity3D, but my issue is with 3D meshes. I'm hoping someone here can help or point me in the right direction. I have 2 version of code, http://www.pasteit4me.com/695002 (old) and http://www.pasteit4me.com/690003 (new). The old code, makes a single mesh sphere and creates a terrain on it. The new code makes an 8...

What is the easiest way that you can fathom to draw solid black across an OpenGL display temporarily for a 'panic button'?

As in the title ...

Using a 3D texture slice as a 2D texture input.

Hello, I am trying to do something with Ogre using 3D textures. I would like to update a 3D-texture by going through it slice-by-slice and recalculating the color values. However, in each step I also need to access the previous slice somehow to read the values. Setting up a slice as a render target is easy, but is it possible to feed su...

How RPG characters are made

If RPG with the ability to change armors and clothes are made, how is it done? I mean the 3d side mostly If i make normal character, that has flat clothes, it would be easy, just change textures, but question is about armors, which have totally different models. So are only armor models recreated or character model with armor? How is i...

Is their any GEF 3D application [eclipse completed plugin] ?

i need GEF 3d developing software ...

How do I map a texture onto a Octahedron?

I'm about to go mad. I cant for the life of me figure out texture coords. I have a Octahedron defined by the 8 triangles below. I want to map a texture of the earth on it. See the texture here: http://img37.imageshack.us/f/earthmap1k.jpg/ I would like the north pole at the top point and the south pole at the oposite point with the equa...

OpenGL ES canvas size

Ahoy, I'm working on an OpenGL ES based game for Android using the NDK. My application is targeted towards SDK 1.6 and above. I seem to be having a problem creating a canvas of the phones native size. My rendering is done through a native gameloop that uses OpenGL 1.0. I'm using the emulator and that gives me a 480x320 canvas -- this i...

How to Use Shaders with OSMesa?

Hello Everyone, I am building a dll, which cannot have any dependencies, so I have to compile all the Mesa source code along with it. Now I got the basic opengl drawing working, but I cannot get shaders to work with OSMesa(Offscreen rendering). All the shader examples that come with the sample projects in Mesa have GLEW.h included. But O...

Code to extrude 2d geometry to 3d

Hi, is there any simple way to extrude a 2d geomtry (vectors ) to a 3d shape assuming extruding parameter are lenght (double) and angle (degree) so it should render like a cone ( all z lines going to one point ) ...

Using Bitmap as alpha map of a cone

Hi, I'm wondering if i can use a bitmap to set alpha channel of a cone in wpf 3d : Black = > alpha = 0 % white => alpha = 100 % (more probably 80 % to see inside alpha difference ...) ...

How Do I Import a 3D Object into Adobe Flex?

Hi everyone, I wanted to know if anyone here knows how to import a 3D Object (i.e. Maya 3D Model) into Adobe Flex Application? I needed to create a simple Flex application which will allow me to rotate the 3D Object by dragging but I cannot seem to start doing it because I'm having a hard time trying to figure out how I can import my 3D...

3D modeling using camera

Hi, I'm looking for a sample code. It's 3D modeling using camera. like this: http://mi.eng.cam.ac.uk/~qp202/my_papers/BMVC09/ Hopefully, I want to use c or c++. Thanks. ...

how do I match movement of an object from 2d video into a 3d package ?

I'm trying to add objects in a 3d package(Blender) using recorded footage. I've played with Icarus and it's great to capture the camera movement. Also the Blender 2.41 importer script works in Blender 2.49 as well. The problem is I can't seem to get 3d coordinates for objects. I have tried Autodesk(RealVIZ) MatchMover 2011 and gone thr...

[WPF or other 3D tech] Light Map projection

Hi, What i'm trying to do is making a "light projector" with visible ray(like with fog) also called volumetric light; and which project a image (bitmap) ; Because i would like to keep this project connected with a wpf application ( to get brush, position, rotation from data), i've choose to use WPF 3D But it seem that WPF can't hand...

Creating effects in 3D game from scratch, using c++ and DirectX

So the title says it. I couldn't find any info on how actualy build effects into 3D game. I'll maybe stick to some engine later, but for understanding of this whole thing I would need to try it on my own for this time. I found a few about particle systems which may be the right way but any other connection between DirectX and particle sy...

When are Browsers or W3C going to change Pages to Space?

Ok I have a question? Why are web Browsers still thinking in 2d not 3d... Meaning Why can't we scroll left or up in the negative? Well, not actually scroll but at-least send the user to any negative space. I understand the browser has to have a horizontal and vertical starting point of 0... But why don't they think out side of the box an...

Creating a JOGL texture from a BufferedImage

In previous versions of JOGL, I could create a Texture from a BufferedImage using the following handy function: public static Texture makeTextureFromBufferedImage(BufferedImage b) { return TextureIO.newTexture(b,true); } Now however in the latest JOGL release the TextureIO.newTexture method doesn't seem to accept a BufferedImage a...

How to convert ZXZ rotation matrix to Euler angles?

I'm using Catia software. When I query the position of an object inside my CAD drawing, the system returns a 3x4 matrix [Rotations | Translations] I think that the Rotations are expressed in a ZXZ fashion but for further processing I'd like to convert that rotation matrix to a XYZ notation, is this something doable? Edit: My object ...