3d

Feature or bug? 3D perspective in Flash Player 10 changes as objects are added to the stage

In my AS3/Flash Player 10 app, I've got a movieclip on the stage with its own transform.perspectiveProjection properties configured; in particular, I'm explicitly setting its projectionCenter so that it has its own vanishing point (see this question for details). I'm adding functionality to my application so that if a user clicks one of...

WPF: 3D cube with rounded corners

is it possible create a cube with rounded corners in WPF? I found many examples that easily create cubes with hard edges but none with rounded ones. One possible solution would be a pre-rendered object, but that's not easy and controls to be put on the sides must be transformed separately. ...

How to render 3d scene over webcam frame in DirectX?

I'm capturing webcam using AForge so I've every frame as a bitmap. I would like to render some scene over it. Currently I am rendering DirectX (SlimDX) scene over C# Panel control. Is there a possibility to put bitmap to ZBuffer or maybe some other way to achieve it? ...

Is there any Algorithm for converting 2d video into 3d video?

Is there any Algorithm for converting 2d video into 3d video? (for viewing using glasses) (a-la turning Avatar into Avatar for An IMAX 3D Experience ) or at least turn it into video prepared for feeling some 3d viewing using a-la or I know my question is asked(expressed) not in the best way so feel free to edit. ...

3D: write function to find configuration of a triangle

In 3D space, given P1 and P2, and two links attached end to end with lengths L1 and L2 respectively, link1 starts at P1. Write a function that finds the configurations of the links that put the 2nd link’s end at point P1. I dunno where to start... What exactly "link configuration" should be (as output): A vector (like 2i -3j+5k)? Or a...

How to develop a 3D application with multi touch support?

Is it possible to develop an 3D application in .Net (XNA or WPF) that would take advantage of Windows 7's multi touch support. Is it possible to do so ? Where is the best place to start ? ...

Stacking several 2D images into 3D in Matlab

I have 25 2D images (of equal size), each image represents one layer equally spaced. Each image is in grayscale and black color (or values equal 0 in data matrix after importing it) is the background that needs to be removed. And my questions are: How to combine these 25 images to one 3D image? How to draw each one with some space bet...

How do I convert 3Dmax files to STL format with correct real physical size?

I have a 3Dmax file which I want to convert to STL to print with a 3D printer. I can convert the file, but how do I make it so the STL file has the correct physical dimensions for the output object? What program is good for such things? Regards, -Victor ...

Dynamically change 3D Center point in FlashCS4

Hi Using the new 3D features in CS4. I know you can change the 3d center point manually via the Transform panel, but does anyone know how to do this dynamically at runtime? (ie via code) ...

RenderTargetBitmap and Viewport3D - Quality Issues

I'm wanting to export a 3D scene from a Viewport3D to a bitmap. The obvious way to do this would be to use RenderTargetBitmap -- however when I this the quality of the exported bitmap is significantly lower than the on-screen image. Looking around on the internet, it seems that RenderTargetBitmap doesn't take advantage of hardware rende...

2d Game Making > Where can someone get Free Tilesets?

I have been scouring the internet for free tilesets that are open to you. I have found http://lostgarden.com/ It does not seem very useful. There are a few things here and there, but overall not much to really make a game off of. http://www.flyingyogi.com/fun/spritelib.html Spritelib is a little better it has some useful information,...

Virtual world help

Hi. I want to start writing a multiplayer 3D game. It will be a virtual world, that user are represented as players. Every player, is a 3D model. I'm going to write this in Java and JOGL, so it will be cross platform and accessible through the web (applet). The server, will be wrriten in C++. When a user clicks with his mouse on some p...

Bird's eye data visualisation in WPF and web client automation

This is a complex problem and it deserves a long explanation. Let's say that I have a picture of a high level workflow/sitemap of a web site: http://home.everestkc.net/radoslav/Question/High_Level_Workflow.png Basically there is a main flow and some alternative paths with various number of pages/images in each case. In essence I want ...

C 3d array dynamic memory allocation, question, need help

Hi. I was looking through the web for a way to dynamically allocate space for 3d matrix, say of int type. And i found many sites concerning 2d matrices, and this one http://www.taranets.com/cgi/ts/1.37/ts.ws.pl?w=329;b=286 And there was this example as shown down. I understood all of above examples but this concerning 3d i cannot. Is ...

Finding a minimum bounding sphere for a frustum

I have a frustum (truncated pyramid) and I need to compute a bounding sphere for this frustum that's as small as possible. I can choose the centre to be right in the centre of the frustum and the radius be the distance to one of the "far" corners, but that usually leaves quite a lot of slack around the narrow end of the frustum This see...

[openGL] drawing a pipe that passes a given array of 3D-points

I have as input an array of 3D points. And I need to draw a pipe that connects those points with each other so the first point is connected to the second one, the second to the third, ... The pipe has a square-shape (not a cilinder, but more a cuboid-shape like this figure) with a width of d. And the difference between two points goes al...

Creating a tiled world with OpenGL

Hello, I'm planning to create a tiled world with OpenGL, with slightly rotated tiles and houses and building in the world will be made of models. Can anybody suggest me what projection(Orthogonal, Perspective) should I use, and how to setup the View matrix(using OpenGL)? If you can't figure what style of world I'm planning to create, lo...

How to draw hardware-accelerated 3D graphics in the web browser?

Hi. I'd like to know if there is any way to draw hardware-accelerated 3D graphics in the web. What is the best technology for this? Java/Flash/Silverlight or maybe could it done with JavaScript? Maybe HTML5? Thanks. ...

Rotation towards an object in 3d space

hello, i have two coordinates on a 2d plane in 3d space, and am trying to rotate one coordinate (a vector) to face the other coordinate. my vertical axis is the y-axis, so if both of the coordinates are located flat on the 2d plane, they would both have a y-axis of 0, and their x and z coordinates determine their position length/width-w...

Project low poly mesh onto high poly for best normal map fit?

I am not absolutely sure how to phrase this question, but what exactly makes for a good fit projection of a low poly mesh onto a high poly mesh for the purposes of generating a normal map? Obviously, being close to the high detailed mesh is important, but there has to be more to it than that. I know how to manually tweak a mesh to get i...