3d

Recommended 3D Programming Aspects for Light/Laser Show Simulator?

Hey guys, I would like to develop a light/laser show editor and simulator, and for this of course I am going to learn some graphics programming. I am thinking about using C# and XNA. I was just wondering what aspects of graphics programming I should research or focus on given the project I am working on. I am new to graphics programming...

Convert 2d images to 3d model

I need to display 3d sculptures in my application, but all I will have initially is 2d images of sculpture from different angles( angle and count of images is under our control) 1. Is there any library which can do that, e.g. take 8 images from all side and stitch it into a 3D model? Any opensource/commercial library/product is ok. 2. ...

Wrapping an image around 3d object for easy 2d printing

Looking for method for wrapping a 2d image around a 3d object, such as a helmet, and then unwrapping it back to 2d image to allow printing. For example, you have a photograph that you want to use to wrap a bike helmet. You do not want the image to be distorted even though it will be wrapped on complex 3d object. Once sized and positioned...

FPGA for 3d rendering/modelling

Hi, I am an experienced C#/.NET developer (actually this is all irrelevant because FPGA is like another level of complexity). While my level of ability is not expert like in C# as I still sometimes look stuff up (but not very often, though I struggle with some syntax/advanced concepts), my boss does FPGA and recommends I get involved (e...

How do I adjust the overall alpha value of a Collada Model in Flash PaperVision3D?

Hi, I want to display a Collada model over top of a video stream and dynamically adjust its alpha value. Right now I have it partially working in PaperVision but I can't seem to set the alpha of the model at all. I have tried a few things from google. For non-Collada models the following works fine: var layer:ViewportLayer = viewpor...

Attach an object to the view platform in Java3D

Hello, In my Java3D application, I have a movable viewing platform (thanks to "OrbitBehavior" and "KeyNavigatorBehavior" behaviors for example) so I can change my point of view to the scene. Now, I would like to add an object which is "static" over my view, i.e. always viewed the same way when I move my view (for example, like the gun o...

3d maths in Flash AS3

I'm trying to code a 3d wall like http://www.flashloaded.com/flashcomponents/3dwall/ The shape I am looking to create is like a bath or arena where it is a curve cornered rectangle with sloping sides. The image below shows what i'm trying to achieve if viewed from above. I hope that helps. Can anyone give me some ideas on the maths ...

Is There an Offset Equation for Z Position Change in Actionscript?

Say I have a movie clip that when loaded I set it's .z position to 2000 to make it look far off in the background... How in the world can I set it's x and y points with any certainty as to where it will appear on the stage? Is there an equation? E.g.; original.x = 200; original.y = 200; original.z = 0; new.z = 2000; new.x = original....

3d Math Library For Python

i'm looking for a 3d math library in python or with python bindings. it needs to handle rotation, translation, perspective projection, everything basically. what im NOT looking for is a library aimed at drawing on the screen, googling for hours only led to 3d libraries bent on rendering something to the screen. i dont want any visuali...

How do i use perspective projection in this library

i found a library called pyeuclid and it seems to do what i want in respect to 3D math. it contins a 3D vector class and a 4X4 matrix class capable of transformations like rotate,translate and scale. matrix creation is simple, simply pass along the arguments and the matrix is created. >>> m = Matrix4() >>> m.translate(50,50,50) Matri...

Multiple meshes in one vertex buffer?

Do I need to use one vertex buffer per mesh, or can I store multiple meshes in one vertex buffer? If so, should I do it, and how would I do it? ...

Rendering a 3D mesh object

I have a problem about rendering a 3D mesh object. I prepared the 3D mesh object in C# and rendered it. Unfortunately, the edges that must be sharp are camber. Could one explain me what the reason is. I am using visual studio 2008 - C# Express Edition. The 3D closed mesh object has appr. 66.000 vertexes. At the same time, it has not ...

Converting 3D positions to 2D?

Say I have a 3D object's position, and the camera's location and rotation matrix. How, would I go about converting this to a 2 Dimensional position on the screen? So that I could draw over the 3D object? You see, I'm using an engine that only allows 3D Env + 2D Gui, so I can't do my normal approach of drawing in 3D, but scaled up. I n...

How to get camera up vector from roll, pitch, and yaw?

Hello, I need to get an up vector for a camera (to get the right look) from a roll, pitch, and yaw angles (in degrees). I've been trying different things for a couple hours and have had no luck :(. Any help here would be appreciated! ...

WPF and 3D to create a bowl effect

Hi Everyone, How would one go about either using the 3D components of WPF or using a pseudo 3D effect to create a "Bowl" effect, where the user is looking down on a bowl and can drag around rectangles and have the rectangles perspective change so that it looks like they move up, down and around the bowl? I'm not after any gravity effect...

Rotating 2D image/scriptable object in Google Earth (Is it possible?)

Is there a way to insert a 2D image into Google Earth which could then be rotated to always face the camera? It's done in Sketch-up with the man that stands there when you initially open a new scene. You can rotate your view around, but he will keep facing you until you look at him from the top, which then reviels that he is actually a ...

Are there any simple programs for 3D fractal visualization?

Preferably with a source code, but algorithm description would be enough. ...

Should I go 3D for my game? If so, how far and any good tutorials?

Hi all. I have been working on a java simulation game for some time (remaking theme hospital in my own way). Up to now, I have done everything in 2d, using squares and circles etc. I have looked for some tutorials on how to do 3d in java, found coke and code, however I am unsure if this is what i need to use. My idea was either to have s...

Stage Not Tracking MouseX or MouseY Without Clicking...

I've a fairly simple little cs4 project where my desired effect is a clock face rotating in 3d space to match where the mouse is on the stage, but, for some reason, in order for the clock face to seek out the mouse position, I have to click the stage. Is this happening for anyone else? And, if so, why? import caurina.transitions.Tween...

Calculate 3D vector perpendicular to a plane generated by two vectors

I am new to dealing with 3D, and even simple stuff makes my head spin around. Sorry for the newbie question. Lets say I have 2 vectors: a(2,5,1) b(1,-1,3) These vectors "generate" a plane. How can I get a third vector perpendicular to both a and b? I can do this in 2D using a vector c(A,B) and turning it into c'(-B,A). Thanks for t...