3d

Choosing platform for a specific program

Today I started thinking about a new project, and I found one. The goal is to get a first version working in the first three months. I'm going to write a "laser/light-show simulator" program, that you can generate such lightshows as you see on big events nowadays. The problem is the platform/language I'm going to write it in. I'm lookin...

PDF with embeded 3D content

Hi guys, Does anybody knows how in practice is possible to generate a PDF file with 3D content. I mean there is a help of Adobe itself on subject, but there are on JavaScript language basically, without specification (at least I didn't find it) how to use in practise. Does anyone of you did something like: get an STL file and embed it...

(Cross-Platform) 3D Programming with C# (mono)

I'm looking for a 3d engine (for games). I prefer C# with .net or Mono but C++ would also do it if I don't find anything for C#. I want to code programs for Windows and Linux. iPhone/Android would also be interesting for other projects. So far I found these engines (C#): Axiom - This one seems pretty fair and since it's a C# port of O...

Texture/Geometry Memory Availability

Suppose a discrete video card has N megabytes of gpu ram. Typically how much of that is usable as texture/geometry memory? ...

Splitting a 3D model with respect to angle of cut

In 3D Max Studios, I recalled there is a function (I couldn't recall the name of the function, sorry) to cut a 3D model into two. For instance, you create a sphere, then you cut it in the middle, leaving 2 half spheres. Now, how about a human body? Imagine a samurai cutting up an enemy at the stomach, now that enemy's model will become 2...

Displaying 3D models in Flash on the browser

Hey guys, I have a bunch of digital 3d models (in whatever format, I can probably accommodate the conversion) and all I'm trying to do is to find a flash 3d viewer that dynamically gets a 3d model and then allows the user to do things like pan, zoom, and move around in the model. These are specifically models of units and properties, s...

Trigonometry and Game Development

I understand what sin and cos (and some other trigonometric functions) means, but I don't really get what kind of problems they solve. Can you show me some real world examples when you'd use some of these functions in game development (specifically 3D game development)? Thanks. ...

OpenGL ES 3d rotation causes unintentional translation?

I'm working on an iphone project where I need both a horizontal and a vertical layout. I've got it working in 2D perfectly well, using the following setup to my projection matrix: if(isHoriz()){ glRotatef(90.0f,0.0f,0.0f,1.0f); SOrtho(0, 480, 0, 320, -1, 1); } else SOrtho(0, 320, 0, 480, -1, 1); The problem lies when ...

papervision 3d background

hi guys, anyone has an idea of how this kind of background is created? http://www.papervision3d.org/ i'm going to create a flash game with 3d galaxies as the background. any ideas on how to achieve that? does the above link lead me the right direction? thanks in advance! ...

Intersect polygon with rectangle and create lines (section cut)

I need an algorithm to intersect a (potentially non-convex) polygon with a rectangle. The rectangle will be parallel to the xy-plane, but the polygon could be any orientation. Furthermore, I don't just need a true/false result, but also the exact points where the polygon intersects the rectangle, so that I can draw lines where the poly...

What is a ray intersection interval?

In the context of ray/box intersection, what exactly is "a valid intersection interval"? I've been searching through different tutorials, but it seems they mostly seem to expect this as a priori knowledge. ...

easiest way to make a live 3d scene, a bit like a simple game (for simulator visualisation purposes)

I am building a ship simulator that will produce accurate position and orientation values for a prototype hull design in some defined sea-state. In terms of programming, I have 2 arrays (vectors) in MATLAB containing the position and acceleration values for x, y, z, yaw, pitch and roll. Because the visualisations in MATLAB are a bit cru...

Ray transformation for ray-triangle intersection

In openGL, I have a 3D model I'm performing a ray-triangle intersection on, using the code explained in the paper "Fast, Minimum Storage Ray/Triangle Intersection" ( http://jgt.akpeters.com/papers/MollerTrumbore97/ ). My cursor position is unprojected into world space using the following code: bool SCamera::unproject(Vector3 input, Ve...

Looking for an Android 3d engine that able to simulate coin flipping ?

Hi , I am planning an app with a "coin flipping simulation" function(Activity) in an Android phone. I am new to 3D (OpenGL) here , and I know there will be a lot of efforts to build from scratch. So , I am looking for an existing 3D engine , which is able to simulate : Coin flip and drop , with G-Sensor , so that users can shake/wave h...

How do you set an objects Orientation to another objects in Ogre3D?

I tried do do this: Ogre::Vector3 src = bone1->_getDerivedOrientation() * Ogre::Vector3::UNIT_X; Ogre::Quaternion quatt = src.getRotationTo(bone2->_getDerivedOrientation() * Ogre::Vector3::UNIT_X); bone1->rotate(quatt); src = bone1->_getDerivedOrientation() * Ogre::Vector3::UNIT_Y; quatt = src.getRotationTo(bone2->_getDerivedO...

Question regarding Vector3.normalize();

After reading google, I still don't quite understand what this does/means? Could someone explain this? Possibly a simple example? Thank you very much. ...

R: Plotting a 3D surface from x, y, z

Hello imagine I have a 3 columns matrix x, y, z where z is a function of x and y. I know how to plot a "scatter plot" of these points with plot3d(x,y,z) But if I want a surface instead I must use other commands such as surface3d The problem is that it doesn't accept the same inputs as plot3d it seems to need a matrix with (nº elem...

Block attatchment in 3D grid

I'm doing ray picking to find the scene node that my cursor points at. All of those scene nodes are equally sized cubes. I have the hit scenenode's position, the position of the ray intersection and the triangle that the node/mesh that were hit. What i want to do is to attatch a new block to the face of the collided scenenode block that ...

Shape file to wavefront .obj cad format

Hi there, I wonder if you know of a way to convert a shape file to a wavefront .obj 3d object? (eg using a height field) I need to be able to do this in C# but can leverage code in other libraries. Any advice appreciated Thanks ...

WPF: How to replace 3D object in Viewport3D with its image?

In my WPF application I want to add multiple 3D objects from xaml files. But if more objects I'm having in viewport3D performance of my application becomes worse with every object I add. As I can only work with only one 3D object at the same time I thought that maybe I can replace 3D objects that I'm not using with their images and when...