3d-graphics

What do I have to learn to get done with a 3D racing game for the iPhone? What Tools do I need?

I know Java pretty well. I know now most of the Basics in Objective-C. I know nothing about Photoshop. I know how to use TurboCAD 10 Professional, so I do have some experience in 3D object modelling. Although not much. What do I have to learn step-by-step, to come to 3D game Development for iPhone? What Tools do I need? Which Books help...

WPF exception running animation in another class

Hi I can run an animation from the main window class but if I try to run the same code from another class in the same namespace I receive an exception in the storyboard begin function this is the exception: No applicable name scope exists to resolve the name 'DefaultGroup'. this is how I set the storyboard target and property Storyboard...

Help writing simple java graphics library with scan conversion; phong shading

Hey guys. I've been having some trouble putting together a Java-based graphics pipeline for my Intro to Computer Graphics course. As it stands right now, I just need to get the northern hemisphere of a sphere (with north facing the user) printed, and throw some lights at it. This is the pipeline (might be some errors...) 1) Initializ...

3D modeling for programmers

Hi, I'm studying Computer Graphics as part of my curriculum at my university. The course focuses on scene modeling, rather than rendering or other aspects of computer graphics. We're learning the math behind it and OpenSceneGraph to actually run something. As part of the HW, and also out of sheer interest, I need to create a 3D model,...

How to convert a 3D point into 2D perspective projection?

I am currently working with using Bezier curves and surfaces to draw the famous Utah teapot. Using Bezier patches of 16 control points, I have been able to draw the teapot and display it using a 'world to camera' function which gives the ability to rotate the resulting teapot, and am currently using an orthographic projection. The resul...

Is a closed polygonal mesh flipped?

I have a 3d modeling application. Right now I'm drawing the meshes double-sided, but I'd like to switch to single sided when the object is closed. If the polygonal mesh is closed (no boundary edges/completely periodic), it seems like I should always be able to determine if the object is currently flipped, and automatically correct. Be...

Freely available 3D graphics resources

I'm primarily a programmer and always have the same issue when starting new projects: I have no artistic bone in my body. But you can't always afford an artist. What resources can I use for graphics? I'm primarily looking for free 3D models in various file types. They don't have to be elaborate, but should work for rapid prototyping....

Problem implementing Marching Cube Algorithm.

From My last question: Marching Cube Question AndreasT has explained to me how the triTable and edgeTable works. I really can't thank him enough. However, i am still unclear as in: how to create imaginary cube/voxel to check if a vertex is below the isosurface? how do i know which vertex is below the isosurface? how does each cube/vo...

What's the best way to create a "texture-snapshot" of a 3D plane?

Hello, my intention is to use a top view, set in parallel projection, with axis x=0,y=100,z=0 for picking up a snapshot of a 3D plane positioned at origin, obviously "y" depends by dimensions of the plane (I have also problems to understand why I must use View.setScreenScale to obtain a depth effect). The problem comes when I want to gr...

Draw a line of X length given a point in space and a vector.

Before everyone jumps on me for outsourcing my homework, my question is not a question on my homework. I'm just having a problem getting some stuff to draw properly. I'm trying to draw lines perpendicular to a plane. I know the three points in space the make up the plane. From those coordinates I can calculate vectors and get the normal...

robust algorithm for surface reconstruction from 3D point cloud?

I am trying to figure out what algorithms there are to do surface reconstruction from 3D range data. At a first glance, it seems that the Ball pivoting algorithm (BPA) and Poisson surface reconstruction are the more established methods? What is the established, most robust algorithm in the field? Recommended research publications? Is t...

Polyline offset with closed polygon and islands

I have unsorted set of line segments without any binding to each other. Each line described with 2 points (x,y). I can search for lines with the same points, which means they should be connected. Every line have a thickness attribute. I need to offset each path by this thickness, and create 4 points describing the final plygon (for eac...

Mapping Wavefront .obj's vt to OpenGL texture coordinates

Hi, an artist friend has sent me an .obj file exported by 3DS Max 2009 which contains three texture coordinates as parameters to the vt command. And that's correct according to .obj specification. However, I'm not sure how to map U-V-W coordinates that are provided for a regular 2D .jpg texture. This is relatively important for me, sin...

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...

What is the name and most common implementation of this property of 3d graphics engines?

I want to say “unrestricted frame of reference” or “spatially-related independent sub-environments”, but I don't think those are right. Imagine two long, cylindrical spaceships floating next to each other on a level plane with the same orientation. Each ship has its own set of rooms and corridors in which players move freely in a first-...

Am I missing step in building/installing VTK-5.4 with Python2.6 bindings on Ubuntu 9.04?

I successfully built and installed VTK-5.4 with Python bindings from source. Yet, when I try to import VTK in python it gives the following Traceback error File "", line 1, in File "/usr/local/lib/python2.6/dist-packages/VTK-5.4.2-py2.6.egg/vtk/init.py", line 41, in from common import * File "/usr/local/lib/p...

How to mirror a half 3D mesh object ?

Hi All, Let assume that we have a half 3D mesh object and want to mirror it, in C# 2008 Express. That is, we want to have its simetrical part according to the center line of the object. Could you help me to do that. Thanks in advance. ...

How can I do Flash 3d animation, Flash only supports 2d animation?

I am a beginner Flash developer. I saw some site like [http://www.3dfreeair.com][1] and another site also. On this site some 3d Flash animation there. How can I do like those animations? Because Flash only supports 2d animation. If you know, send me any reference url for studying 3d animation in Flash only. ...

iPhone OS 3.0 + OpenGL ES 2.0. Is anyone seeing better anti-aliasing?

I have been unable to find a way to anti-alias my rendering on iPhone OS 3.0 + OpenGL ES 2.0. I had assumed there would be multisampling but that appears to not be the case. I've been told that fragment shaders can be made aware of the projected pixel via a partial derivatives extention but I have no idea where that functionality lives o...

3D Graphics Tutorials

I want to start writing simple iphone apps to simulate in 3D things like rolling dice, playing billiards, dropping objects from a certain height, throwing a ball, etc. Just basic motion simulation in 3D. I've searched and searched for a tutorial that would get me started here without success. A perfect intro tutorial for me would be a...